PatchMesh.PatchMesh Constructor

Language:

Creates a mesh from a control patch mesh.

Definition

Visual Basic Public Sub New( _
    ByVal pUnk As ID3DXPatchMesh _
)
C# public PatchMesh(
    ID3DXPatchMesh pUnk
);
C++ public:
 PatchMesh(
    ID3DXPatchMesh pUnk
);
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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