Language

PatchMesh.PatchMesh(IntPtr) Constructor (Microsoft.DirectX.Direct3D)

Creates a mesh from a control patch mesh.

Definition

Visual Basic Public Sub New( _
    ByVal unmanagedObject As IntPtrLeave Site _
)
C# public PatchMesh(
    IntPtrLeave Site unmanagedObject
);
C++ public:
 PatchMesh(
    IntPtrLeave Site unmanagedObject
);
JScript public function PatchMesh(
    unmanagedObject : IntPtrLeave Site
);

Parameters

unmanagedObject System.IntPtr
Pointer to an unmanaged Component Object Model (COM) ID3DXPatchMesh interface. This parameter is useful for working with unmanaged applications from managed code. Not supported.

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.