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

Header

D3dx9mesh.h

See also

D3DX Structures

 

 

Show: