TextureGutterHelper.SetBaryMap Method

Language:

Sets texel barycentric coordinates.

Definition

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

Parameters

baryData Microsoft.DirectX.Vector2[]
An array of Vector2 objects that contain the first two barycentric coordinates of each texel.

Remarks

The third barycentric coordinate is given by:

1 - (baryData.x + baryData.y)

The barycentric coordinates input to this method are valid only for valid (non-class 0) texels. TextureGutterHelper.GetGutterMap will return non-zero values for valid texels.

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

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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