AttributeRange Structure

Language:

Stores an attribute table entry.

Definition

Visual Basic Public Structure AttributeRange
C# public struct AttributeRange 
C++ public value class AttributeRange sealed 
JScript In JScript, 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

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