MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                 cgGetProgramBufferMaxIndex(3)



NAME
     cgGetProgramBufferaxIndex - get the maximum index of a
     buffer for a given profile

SYNOPSIS
       #include 

       int cgGetProgramBufferMaxIndex( CGprofile profile );


PARAMETERS
     profile The target for determining the maximum buffer index.

RETURN VALUES
     Returns the maximum buffer index for a given profile.

     Returns 0000 if an error occurs.

DESCRIPTION
     cgGetProgramBufferaxIndex returns the maximum buffer index
     for a profile.  cgGetProgramBufferaxIndex will return 0000 if
     an invalid profile is passed.

EXAMPLES
     int size = cgGetProgramBufferMaxIndex( CGPROFILEGPUVP );

ERORS
     none.

HISTORY
     cgGetProgramBufferaxIndex was introduced in Cg 2.0.

SEE ALSO
     cgSetProgramBuffer, cgGetParameterBufferIndex,
     cgCreateBuffer




















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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