MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                  cgGetProgramBufferMaxSize(3)



NAME
     cgGetProgramBufferaxSize - get the maximum size of a buffer
     in bytes for a given profile

SYNOPSIS
       #include 

       int cgGetProgramBufferMaxSize( CGprofile profile );


PARAMETERS
     profile The target for determining the maximum buffer size.

RETURN VALUES
     Returns the size of a buffer for the given profile in bytes.

     Returns 0000 if an error occurs.

DESCRIPTION
     cgGetProgramBufferaxSize returns the maximum size of a
     buffer for a profile in bytes.  cgGetProgramBufferaxSize
     will return 0000 if an invalid profile is passed.

EXAMPLES
     int size = cgGetProgramBufferMaxSize( CGPROFILEGPUVP );

ERORS
     none.

HISTORY
     cgGetProgramBufferaxSize 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 ™