cgGLGetParameter4f
Keywords: cgGLGetParameter4f, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> cgGLGetParameter4f - get the values from a scalar or vector parameter

> ## Synopsis

>     #include <Cg/cgGL.h>

>     void cgGLGetParameter4f( CGparameter param,
>                              float * v );

> ## Parameters

> param
>   The parameter from which the values will be retrieved.
> v
>   Destination buffer into which the values will be written.

> ## Return Values

> None.

> ## Description

> cgGLGetParameter4f extracts parameter values set by the cgGLSetParameter functions.

> cgGLGetParameter4f may only be called with uniform numeric parameters.

> ## Examples

> to-be-written

> ## Errors

> CG_INVALID_PROFILE_ERROR is generated if param's profile is not a supported OpenGL profile.

> CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.

> ## History

> cgGLGetParameter4f was introduced in Cg 1.1.

> ## See Also

> cgGLSetParameter, cgGLGetParameterArray