ID3DXTextureGutterHelper::ApplyGuttersPRT method
Applies gutters to an ID3DXPRTBuffer buffer object.
Syntax
HRESULT ApplyGuttersPRT(
[in] LPD3DXPRTBUFFER pBuffer
);
Parameters
-
pBuffer [in]
-
Type: LPD3DXPRTBUFFER
Pointer to an ID3DXPRTBuffer buffer object.
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.
The width and height of the texture must be the same as those returned by ID3DXTextureGutterHelper::GetWidth and ID3DXTextureGutterHelper::GetHeight.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also