Mesh.SetAttributeTable Method

Language:

Sets a mesh's attribute table and specifies the number of entries stored in it.

Definition

Visual Basic Public Sub SetAttributeTable( _
    ByVal table() As AttributeRange _
)
C# public void SetAttributeTable(
    AttributeRange[] table
);
C++ public:
void SetAttributeTable(
    array<AttributeRange>^ table
);
JScript public function SetAttributeTable(
    table : AttributeRange[]
);

Parameters

table Microsoft.DirectX.Direct3D.AttributeRange[]
Array of AttributeRange structures that represent the entries in the mesh attribute table.

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.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center