TextureGutterHelper.GetTexelMap(Vector2[]) Method (Microsoft.DirectX.Direct3D)

Retrieves the (u, v) texture coordinates of each texel.

Definition

Visual Basic Public Sub GetTexelMap( _
    ByVal texelData() As Vector2 _
)
C# public void GetTexelMap(
    Vector2[] texelData
);
C++ public:
void GetTexelMap(
    array<Vector2>^ texelData
);
JScript public function GetTexelMap(
    texelData : Vector2[]
);

Parameters

texelData Microsoft.DirectX.Vector2[]
An array of Vector2 objects that contain the location in pixel (u, v) texture coordinates where each texel is located.

Remarks

For class 2 and 4 texels, the returned (u, v) texture coordinates correspond to the closest point on the closest triangle.

Exceptions

InvalidCallException

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

See Also