Microsoft DirectX 9.0 SDK Update (October 2004)

AttributeRange Structure

Language:

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

Stores an attribute table entry.

Definition

Visual Basic .NET Public Structure AttributeRange
C# public struct AttributeRange
Managed C++ public __value struct AttributeRange
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
AttributeRange Creates a new instance of the AttributeRange structure.
ToString Obtains a string representation of the current instance.
Property Description
AttributeId Retrieves or sets the attribute table identifier.
FaceCount Retrieves or sets the number of faces included in an attribute table entry.
FaceStart Retrieves or sets the first face in an attribute group.
VertexCount Retrieves or sets the number of vertices in the attribute group.
VertexStart Retrieves or sets the first vertex in an attribute group.

Remarks

An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states, and materials. In addition, an application can use the attribute table to hide portions of a mesh by not drawing a given attribute identifier (AttributeRange.AttribId) when it draws the frame. Attribute tables also can be used to identify application-defined areas of a mesh that are handled by custom code.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

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