D3DXATTRIBUTERANGE structure
Stores an attribute table entry.
Syntax
typedef struct D3DXATTRIBUTERANGE {
DWORD AttribId;
DWORD FaceStart;
DWORD FaceCount;
DWORD VertexStart;
DWORD VertexCount;
} D3DXATTRIBUTERANGE, *LPD3DXATTRIBUTERANGE;
Members
-
AttribId
-
Type: DWORD
-
Attribute table identifier.
-
FaceStart
-
Type: DWORD
-
Starting face.
-
FaceCount
-
Type: DWORD
-
Face count.
-
VertexStart
-
Type: DWORD
-
Starting vertex.
-
VertexCount
-
Type: DWORD
-
Vertex count.
Remarks
An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states, materials, and so on. In addition, the application can use the attribute table to hide portions of a mesh by not drawing a given attribute identifier (AttribId) when drawing the frame.
The LPD3DXATTRIBUTERANGE type is defined as a pointer to the D3DXATTRIBUTERANGE structure.
typedef D3DXATTRIBUTERANGE* LPD3DXATTRIBUTERANGE;
Requirements
Requirement | Value |
---|---|
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for