Microsoft DirectX 9.0 SDK Update (October 2004)

TextureGutterHelper.GetGutterMap Method

Language:

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

Receives a texel class value that indicates texel class according to each texel's location.

Definition

Visual Basic .NET Public Sub GetGutterMap( _
    ByVal gutterData() As Byte _
)
C# public void GetGutterMap(
    byte[] gutterData
);
Managed C++ public: void GetGutterMap(
    Byte gutterData __gc[]
);
JScript .NET public function GetGutterMap(
    gutterData : byte[]
);

Parameters

gutterData System.Byte[]. A Byte Leave Site array that receives the texel class.

Remarks

Possible texel classes are as follows:

Texel Class Texel Location
0 Invalid point; texel will not be used.
1 Inside triangle.
2 Inside gutter.
4 Inside gutter; texel will be evaluated as a full sample in the ApplyGutters method.

There is no texel class 3.

The application must allocate and manage gutterData, with size given by:

size = texture width * texture height * sizeof(BYTE)

Texture width and height are obtained from the TextureGutterHelper.Width and TextureGutterHelper.Height properties.

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