> # NAME

> cgD3D9GetTextureParameter - get the value of a texture parameter

> # SYNOPSIS

>       #include <Cg/cgD3D9.h>

>       IDirect3DBaseTexture9 * cgD3D9GetTextureParameter( CGparameter param );

> # PARAMETERS

> param

>   The texture parameter for which the D3D texture object will be retrieved.

> # RETURN VALUES

> Returns a pointer to the D3D texture to which param was set.

> Return NULL if param has not been set.

> # DESCRIPTION

> cgD3D9GetTextureParameter returns the D3D texture pointer to which a texture parameter was set using cgD3D9SetTextureParameter. If the parameter has not been set, the NULL will be returned.

> # EXAMPLES

>       // param is a texture parameter defined elsewhere...

>       HRESULT hr = cgD3D9SetTexture( param, cgD3D9GetTextureParameter( param ) );

> # ERRORS

> None.

> # HISTORY

> cgD3D9GetTextureParameter was introduced in Cg 1.5.

> # SEE ALSO

> cgD3D9SetTextureParameter