Rechercher une page de manuel
cgD3D9GetTextureParameter
Langue: en
Version: 46793 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgD3D9GetTextureParameter - get the value of a texture parameterSYNOPSIS
#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
cgD3D9SetTextureParameterContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre