MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Direct3D9 Runtime API             cgD3D9GetTextureParameter(3)



NAME
     cgD3D9GetTextureParameter - get the value of a texture
     parameter

SYNOPSIS
       #include 

       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 NUL 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 NUL will be returned.

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

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


ERORS
     None.

HISTORY
     cgD3D9GetTextureParameter was introduced in Cg 1.5.

SEE ALSO
     cgD3D9SetTextureParameter
















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™