Microsoft DirectX 9.0 SDK Update (October 2004)

PatchMesh.PatchMesh Constructor

Language:

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

Creates a mesh from a control patch mesh.

Definition

Visual Basic .NET Public Sub New( _
    ByVal pUnk As ID3DXPatchMesh _
)
C# public PatchMesh(
    ID3DXPatchMesh pUnk
);
Managed C++ public: PatchMesh(
    ID3DXPatchMesh pUnk
);
JScript .NET public function PatchMesh(
    pUnk : ID3DXPatchMesh
);

Parameters

pUnk Microsoft.DirectX.PrivateImplementationDetails.ID3DXPatchMesh. Unmanaged Component Object Model (COM) ID3DXPatchMesh interface pointer.

Remarks

This method converts an input patch mesh to a tessellated mesh. Patch meshes use 16-bit index buffers. Therefore, indices to LockIndexBuffer are 16 bits.


© 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