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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also