TextureGutterHelper.SetBaryMap(Vector2[]) Method (Microsoft.DirectX.Direct3D)
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
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also