?/TD> |
Microsoft DirectX 9.0 |
Stores an attribute table entry.
Syntax
typedef struct _D3DXATTRIBUTERANGE { DWORD AttribId; DWORD FaceStart; DWORD FaceCount; DWORD VertexStart; DWORD VertexCount; } D3DXATTRIBUTERANGE;
Members
- AttribId
- Attribute table identifier.
- FaceStart
- Starting face.
- FaceCount
- Face count.
- VertexStart
- Starting vertex.
- VertexCount
- 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;
Structure Information
Header d3dx9mesh.h Minimum operating systems Windows 98
See Also
ID3DXBaseMesh::DrawSubset