Mesh.SetAttributeTable Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets a mesh's attribute table and specifies the number of entries stored in it.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Sub SetAttributeTable ( _
table As AttributeRange() _
)
'Usage
Dim instance As Mesh
Dim table As AttributeRange()
instance.SetAttributeTable(table)
public void SetAttributeTable(
AttributeRange[] table
)
public:
void SetAttributeTable(
array<AttributeRange>^ table
)
member SetAttributeTable :
table:AttributeRange[] -> unit
Parameters
- table
Type: array<Microsoft.WindowsMobile.DirectX.Direct3D.AttributeRange[]
Array of AttributeRange structures that represents the entries in the mesh attribute table.
Exceptions
Exception | Condition |
---|---|
InvalidCallException | The method call is invalid. For example, a method's parameter may contain an invalid value. |
OutOfMemoryException | Direct3D could not allocate sufficient memory to complete the call. |
Remarks
If an application tracks the information in an attribute table and rearranges the table as a result of changes to attributes or faces, the SetAttributeTable method allows the application to update the attribute tables instead of calling Optimize again.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0