Microsoft DirectX 9.0 SDK Update (October 2004)

BaseMesh.ConvertAdjacencyToPointReps Method

Language:

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

Converts mesh adjacency information to an array of point representatives.

Definition

Visual Basic .NET Public Function ConvertAdjacencyToPointReps( _
    ByVal adjacency As GraphicsStream _
) As Integer()
C# public int[] ConvertAdjacencyToPointReps(
    GraphicsStream adjacency
);
Managed C++ public: int ConvertAdjacencyToPointReps(
    GraphicsStream *adjacency
) __gc[];
JScript .NET public function ConvertAdjacencyToPointReps(
    adjacency : GraphicsStream
) : int[];

Parameters

adjacency Microsoft.DirectX.GraphicsStream. A GraphicsStream that contains three Int32 Leave Site values per face, which specify the three neighbors for each face in the mesh.

Return Value

System.Int32[]. Array that contains one Int32 Leave Site per vertex of the mesh that is filled with point representative data.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.

Applies To

Mesh, ProgressiveMesh

See Also


© 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