PatchMesh.PatchMesh Constructor
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
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 device As Device , _ ByVal information As PatchInformation , _ ByVal numberPatches As Integer , _ ByVal numberVertices As Integer , _ ByVal declaration () As VertexElement _ )
C#
public PatchMesh ( Device device , PatchInformation information , int numberPatches , int numberVertices , VertexElement [] declaration );
Managed C++
public: PatchMesh ( Device *device , PatchInformation information , int numberPatches , int numberVertices , VertexElement declaration __gc[] );
JScript .NET
public function PatchMesh ( device : Device , information : PatchInformation , numberPatches : int , numberVertices : int , declaration : VertexElement [] );
Parameters
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