Microsoft DirectX 9.0 SDK Update (October 2004)

Mesh.SetAttributeTable Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub SetAttributeTable( _
    ByVal table() As AttributeRange _
)
C# public void SetAttributeTable(
    AttributeRange[] table
);
Managed C++ public: void SetAttributeTable(
    AttributeRange table __gc[]
);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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