D3DXFillVolumeTextureTX
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXFillVolumeTextureTX Function


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

Syntax

HRESULT WINAPI D3DXFillVolumeTextureTX(      

    LPDIRECT3DVOLUMETEXTURE9 pTexture,     LPD3DXTEXTURESHADER pTextureShader );

Parameters

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

Return Value

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be one of the following:

D3DERR_NOTAVAILABLEThis device does not support the queried technique.
D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.


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

Function Information

Headerd3dx9tex.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98

See Also

D3DXFillTextureTX, D3DXFillCubeTextureTX


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.