ID3DXTextureGutterHelper::ApplyGuttersFloat
Applies gutters to a FLOAT texture buffer.
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 Values
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.
D3DERR_INVALIDCALL
Remarks
Class 2 texels are generated by resampling class 1 and 4 texels.
Requirements
Header: Declared in D3dx9mesh.h.