Rechercher une page de manuel
cgGetTypeBase
Langue: en
Version: 47073 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetTypeBase - get the base type associated with a type enumerantSYNOPSIS
#include <Cg/cg.h>
CGtype cgGetTypeBase( CGtype type );
PARAMETERS
- type
- The type enumerant.
RETURN VALUES
Returns the scalar base type of the enumerant type.DESCRIPTION
cgGetTypeBase returns the base (scalar) type associated with a type enumerant. For example, cgGetTypeBase(CG_FLOAT3x4) returns CG_FLOAT. The base type for a non-numeric type such as CG_STRING, CG_STRUCT, CG_SAMPLER2D, or user-defined types is simply the type itself.EXAMPLES
to-be-writtenERRORS
None.HISTORY
cgGetTypeBase was introduced in Cg 1.5.SEE ALSO
the cgGetType manpage, the cgGetTypeClass manpage, the cgGetParameterType manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre