AttributeRange Structure
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
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
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method
Description
AttributeRange
Creates a new instance of the AttributeRange structure.
ToString
Obtains a string representation of the current instance.
Properties
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