Microsoft DirectX 9.0 SDK Update (October 2004)

TextureGutterHelper.ApplyGutters Method

Language:

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

Applies gutters to a texture object.

Definition

Visual Basic .NET Public Sub ApplyGutters( _
    ByVal data() As Single, _
    ByVal numCoefficients As Integer, _
    ByVal width As Integer, _
    ByVal height As Integer _
)
C# public void ApplyGutters(
    float[] data,
    int numCoefficients,
    int width,
    int height
);
Managed C++ public: void ApplyGutters(
    float data __gc[],
    int numCoefficients,
    int width,
    int height
);
JScript .NET public function ApplyGutters(
    data : float[],
    numCoefficients : int,
    width : int,
    height : int
);

Parameters

data System.Single[]. A floating-point array of texture data to add gutters to.
numCoefficients System.Int32. Number of scalars per color channel used in memory to store samples.
width System.Int32. Width of the texture, in pixels, obtained from the TextureGutterHelper.Width property.
height System.Int32. Height of the texture, in pixels, obtained from the TextureGutterHelper.Height property.

Remarks

Class 2 texels are generated by resampling class 1 and class 4 texels.

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


© 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