Microsoft DirectX 9.0 SDK Update (October 2004)

TextureGutterHelper.GetTexelMap Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub GetTexelMap( _
    ByVal texelData() As Vector2 _
)
C# public void GetTexelMap(
    Vector2[] texelData
);
Managed C++ public: void GetTexelMap(
    Vector2 texelData __gc[]
);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center