Microsoft DirectX 8.1 (C++) |
Uses a user-provided function to fill each texel of each mip level of a given texture.
HRESULT D3DXFillTexture( LPDIRECT3DTEXTURE8 pTexture, LPD3DXFILL2D pFunction, LPVOID pData );
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be the following values.
D3DERR_INVALIDCALL |
Header: Declared in D3dx8tex.h.
Import Library: Use D3dx8.lib.