Rechercher une page de manuel
cgGetParameterProgram
Langue: en
Version: 47022 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetParameterProgram - get a parameter's parent programSYNOPSIS
#include <Cg/cg.h>
CGprogram cgGetParameterProgram( CGparameter param );
PARAMETERS
- param
- The parameter.
RETURN VALUES
Returns a CGprogram handle to the parent program.Returns NULL if the parameter is not a child of a program or an error occurs.
DESCRIPTION
cgGetParameterProgram allows the application to retrieve a handle to the program to which a given parameter belongs.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.HISTORY
cgGetParameterProgram was introduced in Cg 1.1.SEE ALSO
the cgCreateProgram manpage, the cgGetParameterEffect manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre