MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                 cgSetPassProgramParameters(3)



NAME
     cgSetPassProgramParameters - set uniform parameters
     specified via a compile statement

SYNOPSIS
       #include 

       void cgSetPassProgramParameters( CGprogram program );


PARAMETERS
     program The program

RETURN VALUES
     None.

DESCRIPTION
     Given the handle to a program specified in a pass in a CgFX
     file, cgSetPassProgramParameters sets the values of the
     program's uniform parameters given the expressions in the
     compile statement in the CgFX file.

     (This entrypoint is normally only needed by state managers
     and doesn't need to be called by users.)

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPROGRAMHANDLEROR is generated if program is
     not a valid program handle.

HISTORY
     cgSetPassProgramParameters was introduced in Cg 1.4.

SEE ALSO
     cgCreateEffect, cgCreateEffectFromFile


















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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