Export (0) Print
Expand All

D3DX10_ATTRIBUTE_RANGE structure

Stores an attribute table entry.

Syntax


typedef struct D3DX10_ATTRIBUTE_RANGE {
  UINT AttribId;
  UINT FaceStart;
  UINT FaceCount;
  UINT VertexStart;
  UINT VertexCount;
} D3DX10_ATTRIBUTE_RANGE, *LPD3DX10_ATTRIBUTE_RANGE;

Members

AttribId

Type: UINT

Attribute table identifier.

FaceStart

Type: UINT

Starting face.

FaceCount

Type: UINT

Face count.

VertexStart

Type: UINT

Starting vertex.

VertexCount

Type: UINT

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 LPD3DX_ATTRIBUTE_RANGE type is defined as a pointer to the D3DX_ATTRIBUTE_RANGE structure.



typedef D3DX_ATTRIBUTE_RANGE* LPD3DX_ATTRIBUTE_RANGE;


Requirements

Header

D3DX10.h

See also

D3DX Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft