Share via


TextureGutterHelper.GetFaceMap(Int32[]) Method (Microsoft.DirectX.Direct3D)

Retrieves the index of the mesh face to which each texel belongs.

Definition

Visual Basic Public Sub GetFaceMap( _
    ByVal faceData() As Integer _
)
C# public void GetFaceMap(
    int[] faceData
);
C++ public:
void GetFaceMap(
    array<int>^ faceData
);
JScript public function GetFaceMap(
    faceData : int[]
);

Parameters

faceData System.Int32[]
An integer array containing index values of the mesh face to which each texel belongs.

Remarks

The mesh face data returned by this method is valid only for valid (non-class 0) texels. TextureGutterHelper.GetGutterMap will return nonzero values for valid (non-class 0) texels.

This method retrieves the closest face for class 2 texels.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also