MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                     cgGetFirstSamplerState(3)



NAME
     cgGetFirstSamplerState - get the first sampler state
     definition in a context

SYNOPSIS
       #include 

       CGstate cgGetFirstSamplerState( CGcontext context );


PARAMETERS
     context The context from which to retrieve the first sampler
             state definition.

RETURN VALUES
     Returns the first CGstate object in context.

     Returns NUL if context contains no programs or an error
     occurs.

DESCRIPTION
     cgGetFirstSamplerState is used to begin iteration over all
     of the sampler state definitions contained within a context.
     See cgGetNextState for more information.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDCONTEXTHANDLEROR is generated if context is
     not a valid context.

HISTORY
     cgGetFirstSamplerState was introduced in Cg 1.4.

SEE ALSO
     cgGetNextState, cgGetNamedSamplerState


















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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