TextureGutterHelper.ApplyGutters Method

Language:

Applies gutters to a texture object.

Definition

Visual Basic 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
);
C++ public:
void ApplyGutters(
    array<float>^ data,
    int numCoefficients,
    int width,
    int height
);
JScript 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.


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