![]() |
![]() |
![]() |
Applies gutters to an IDirect3DTexture9 texture object.
Syntax
HRESULT ApplyGuttersTex(
LPDIRECT3DTEXTURE9 pTexture );
Parameters
- pTexture
- [in] Pointer to a IDirect3DTexture9 texture object.
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be one of the following:
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value. D3DERR_NOTAVAILABLE This device does not support the queried technique. D3DERR_OUTOFVIDEOMEMORY Microsoft Direct3D does not have enough display memory to perform the operation. D3DERR_WASSTILLDRAWING The previous blit operation that is transferring information to or from this surface is incomplete. E_OUTOFMEMORY Direct3D could not allocate sufficient memory to complete the call.
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.