Share via


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

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

Definition

Visual Basic Public Sub SetFaceMap( _
    ByVal faceData() As Integer _
)
C# public void SetFaceMap(
    int[] faceData
);
C++ public:
void SetFaceMap(
    array<int>^ faceData
);
JScript public function SetFaceMap(
    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 input to this method is valid only for valid (non-class 0) texels. TextureGutterHelper.GetGutterMap will return nonzero values for valid (non-class 0) texels.

Exceptions

InvalidCallException

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

See Also