MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                          cgSetSamplerState(3)



NAME
     cgSetSamplerState - initializes the state specified for a
     sampler parameter

SYNOPSIS
       #include 

       void cgSetSamplerState( CGparameter param );


PARAMETERS
     param   The parameter handle.

RETURN VALUES
     None.

DESCRIPTION
     cgSetSamplerState sets the sampler state for a sampler
     parameter that was specified via a samplerstate block in a
     CgFX file.  The corresponding sampler should be bound via
     the graphics API before this call is made.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPARAMHANDLEROR is generated if param is not a
     valid parameter.

HISTORY
     cgSetSamplerState was introduced in Cg 1.4.

SEE ALSO
     cgCreateSamplerState, cgGetFirstSamplerState,
     cgGetNamedSamplerState, cgGetNextState




















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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