BaseMesh.ConvertAdjacencyToPointReps(GraphicsStream) Method (Microsoft.DirectX.Direct3D)
Converts mesh adjacency information to an array of point representatives.
Definition
Visual Basic Public Function ConvertAdjacencyToPointReps( _
ByVal adjacency As GraphicsStream _
) As Integer()C# public int[] ConvertAdjacencyToPointReps(
GraphicsStream adjacency
);C++ public:
array<int>^ ConvertAdjacencyToPointReps(
GraphicsStream^ adjacency
);JScript public function ConvertAdjacencyToPointReps(
adjacency : GraphicsStream
) : int[];
Parameters
adjacency Microsoft.DirectX.GraphicsStream
A GraphicsStream that contains three Int32 values per face, which specify the three neighbors for each face in the mesh.
Return Value
System.Int32[]
Array that contains one Int32 per vertex of the mesh that is filled with point representative data.
Remarks
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.
Applies To
See Also