Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs uniform tessellation based on the tessellation level.
Definition
Visual Basic Public Sub Tessellate( _
ByVal tessLevel As Single, _
ByVal mesh As Mesh _
)C# public void Tessellate(
float tessLevel,
Mesh mesh
);C++ public:
void Tessellate(
float tessLevel,
Mesh^ mesh
);JScript public function Tessellate(
tessLevel : float,
mesh : Mesh
);
Parameters
tessLevel System.Single
Tessellation level. This is the number of vertices introduced between existing vertices. The range of this floating-point parameter is between 0 and 32.mesh Microsoft.DirectX.Direct3D.Mesh
Resulting tessellated mesh. For more information, see Mesh.
Remarks
This method performs most efficiently if the patch mesh is optimized using PatchMesh.Optimize.
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft Direct3D could not allocate sufficient memory to complete the call.
.gif)