D3DXFillCubeTextureTX

Uses a compiled high-level shader language (HLSL) function to fill each texel of each mipmap level of a texture.

HRESULT D3DXFillCubeTextureTX(
  LPDIRECT3DCUBETEXTURE9 pTexture,
  LPD3DXTEXTURESHADER pTextureShader
);

Parameters

pTexture
[in] Pointer to an IDirect3DCubeTexture9 object, representing the texture to be filled.
pTextureShader
[in] Pointer to a ID3DXTextureShader texture shader object.

Return Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following:D3DERR_NOTAVAILABLE, D3DERR_INVALIDCALL.

Remarks

The texture target must be an HLSL function that takes contains the following semantics:

The input parameters can be in any order. For an example, see D3DXFillTextureTX

Requirements

Header: Declared in D3dx9tex.h.

See Also

D3DXFillVolumeTextureTX