MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API           cgGetSamplerStateAssignmentValue(3)



NAME
     cgGetSamplerStateAssignmentValue - get a sampler-valued
     state assignment's values

SYNOPSIS
       #include 

       CGparameter cgGetSamplerStateAssignmentValue( CGstateassignment sa );


PARAMETERS
     sa      The state assignment.

RETURN VALUES
     Returns a CGparameter handle for the sampler.

     Returns NUL if an error occurs.

DESCRIPTION
     cgGetSamplerStateAssignmentValue allows the application to
     retrieve the value(s) of a state assignment that stores a
     sampler.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDSTATEASIGNMENTHANDLEROR is generated if sa
     is not a valid state assignment.

     CGSTATEASIGNMENTYPEMISMATCHEROR is generated if sa
     is not a state assignment of a sampler type.

HISTORY
     cgGetSamplerStateAssignmentValue was introduced in Cg 1.4.

SEE ALSO
     cgGetStateAssignmentState, cgGetStateType,
     cgGetFloatStateAssignmentValues,
     cgGetIntStateAssignmentValues,
     cgGetBoolStateAssignmentValues,
     cgGetStringStateAssignmentValue,
     cgGetProgramStateAssignmentValue,
     cgGetTextureStateAssignmentValue











Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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