Microsoft DirectX 9.0 SDK Update (October 2004)

Mesh.ConvertMeshSubsetToSingleStrip Method

Language:

Note: This documentation is preliminary and is subject to change.

Converts the specified mesh subset into a single triangle strip.

Definition

Visual Basic .NET Public Shared Function ConvertMeshSubsetToSingleStrip( _
    ByVal mesh As Mesh, _
    ByVal attributeIdentifier As Integer, _
    ByVal indexBufferOptions As MeshFlags, _
    ByRef numIndices As Integer _
) As IndexBuffer
C# public static IndexBuffer ConvertMeshSubsetToSingleStrip(
    Mesh mesh,
    int attributeIdentifier,
    MeshFlags indexBufferOptions,
    out int numIndices
);
Managed C++ public: static IndexBuffer* ConvertMeshSubsetToSingleStrip(
    Mesh *mesh,
    int attributeIdentifier,
    MeshFlags indexBufferOptions,
    int *numIndices
);
JScript .NET public static function ConvertMeshSubsetToSingleStrip(
    mesh : Mesh,
    attributeIdentifier : int,
    indexBufferOptions : MeshFlags,
    numIndices : int
) : IndexBuffer;

Parameters

mesh Microsoft.DirectX.Direct3D.Mesh. A BaseMesh object that represents the mesh to convert.
attributeIdentifier System.Int32. Attribute identifier of the mesh subset to convert.
indexBufferOptions Microsoft.DirectX.Direct3D.MeshFlags. One or more flags from the MeshFlags enumeration that specify options for creating the single strip mesh (excepting the Simplify* and Optimize* flags).
numIndices System.Int32. Number of indices in the buffer returned in the ret_IndexBuffer.

Return Value

Microsoft.DirectX.Direct3D.IndexBuffer . An IndexBuffer object that contains the strip.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center