Microsoft DirectX 9.0 SDK Update (October 2004)

MeshContainer.SetAdjacency Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the mesh adjacency information.

Overload List

public void SetAdjacency(GraphicsStream);
public void SetAdjacency(int[]);

Remarks

The size of the adjacency array is the maximum number of faces multiplied by 3.

The face adjacency is stored as an array of arrays. The innermost array contains three indices of adjacent triangles, and the outermost array contains one face adjacency set per triangle in the mesh. If the edge has no adjacent faces, the value is 0xffffffff.

Exceptions
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 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