d3d9.dllApplyGuttersFloat
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXTextureGutterHelper::ApplyGuttersFloat Method


Applies gutters to a FLOAT texture buffer.

Syntax

HRESULT ApplyGuttersFloat(      

    FLOAT *pDataIn,     UINT *NumCoeffs,     UINT *Width,     UINT *Height );

Parameters

pDataIn
[in] Pointer to a buffer of FLOAT texture data.
NumCoeffs
[in] Number of scalars per color channel used in memory to store samples. Each texel contains NumCoeffs FLOAT values.
Width
[in] Width of the texture, in pixels, obtained from ID3DXTextureGutterHelper::GetWidth.
Height
[in] Height of the texture, in pixels, obtained from ID3DXTextureGutterHelper::GetHeight.

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the following value will be returned.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


Remarks

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



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.