BaseMesh.ConvertPointRepsToAdjacency(GraphicsStream) Method (Microsoft.DirectX.Direct3D)
Converts point representative data to mesh adjacency information.
Definition
Visual Basic Public Function ConvertPointRepsToAdjacency( _
ByVal pointReps As GraphicsStream _
) As Integer()C# public int[] ConvertPointRepsToAdjacency(
GraphicsStream pointReps
);C++ public:
array<int>^ ConvertPointRepsToAdjacency(
GraphicsStream^ pointReps
);JScript public function ConvertPointRepsToAdjacency(
pointReps : GraphicsStream
) : int[];
Parameters
pointReps Microsoft.DirectX.GraphicsStream
A GraphicsStream that contains one Int32per vertex of the mesh that represents point representative data. This parameter is optional; supplying a value of 0 causes it to be interpreted as an "identity" array.
Return Value
System.Int32[]
Array of three Int32values per face, which specify the three neighbors for each face in the mesh.
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
.gif)