Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ID3DX10Mesh::DrawSubset method

Draws a subset of a mesh.

Syntax


HRESULT DrawSubset(
  [in] UINT AttribId
);

Parameters

AttribId [in]

Type: UINT

Specifies which subset of the mesh to draw. This value is used to differentiate faces in a mesh as belonging to one or more attribute groups.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

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.

Requirements

Header

D3DX10.h

Library

D3DX10.lib

See also

ID3DX10Mesh
D3DX Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft