![]() |
![]() |
![]() |
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_INVALIDCALL The 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.