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 unmanagedObject As IntPtr _
)
C# public PatchMesh(
    IntPtr unmanagedObject
);
Managed C++ public: PatchMesh(
    IntPtr unmanagedObject
);
JScript .NET public function PatchMesh(
    unmanagedObject : IntPtr
);

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.


© 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