PatchMesh.GenerateAdjacency Method

Language:

Generates adjacency information based on mesh indices.

Definition

Visual Basic Public Sub GenerateAdjacency( _
    ByVal tolerance As Single _
)
C# public void GenerateAdjacency(
    float tolerance
);
C++ public:
void GenerateAdjacency(
    float tolerance
);
JScript public function GenerateAdjacency(
    tolerance : float
);

Parameters

tolerance System.Single
Specifies that vertices that differ in position by less than the tolerance be treated as coincident.

Remarks

This method determines which patches are adjacent (within the provided tolerance). This information is used internally to optimize tessellation.

Exceptions
InvalidDataException The data is invalid.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


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