BaseMesh.DrawSubset(Int32) Method (Microsoft.DirectX.Direct3D)
Draws a subset of a mesh.
Visual Basic Public Sub DrawSubset( _
ByVal attributeID As Integer _
C# public void DrawSubset(
JScript public function DrawSubset(
attributeID : int
An Int32 value that 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.
An attribute table is used to identify areas of the mesh that need to be drawn with different textures, render states, and materials. The application can use the attribute table to hide portions of a mesh by leaving out a given attribute identifier (attributeID) when drawing the frame. Attribute tables can also be used for application defined purposes.
The method call is invalid. For example, a method's parameter might contain an invalid value.