ID3DXTextureGutterHelper::ApplyGuttersFloat method
Applies gutters to a FLOAT texture buffer.
Syntax
HRESULT ApplyGuttersFloat(
[in] FLOAT *pDataIn,
[in] UINT *NumCoeffs,
[in] UINT *Width,
[in] UINT *Height
);
Parameters
-
pDataIn [in]
-
Type: FLOAT*
Pointer to a buffer of FLOAT texture data.
-
NumCoeffs [in]
-
Type: UINT*
Number of scalars per color channel used in memory to store samples. Each texel contains NumCoeffs FLOAT values.
-
Width [in]
-
Type: UINT*
Width of the texture, in pixels, obtained from ID3DXTextureGutterHelper::GetWidth.
-
Height [in]
-
Type: UINT*
Height of the texture, in pixels, obtained from ID3DXTextureGutterHelper::GetHeight.
Return value
Type: HRESULT
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also