SDL::OpenGL::Cg

SDL::OpenGL interface to the Cg shader language
Download

SDL::OpenGL::Cg Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Paul Golds
  • Publisher web site:
  • http://search.cpan.org/~molt/

SDL::OpenGL::Cg Tags


SDL::OpenGL::Cg Description

SDL::OpenGL interface to the Cg shader language SDL::OpenGL::Cg is a Perl module that provides an interface to the nVidia Cg GL runtime. This allows a SDL::OpenGL programmer access to the shader capabilities that many new graphics card provide.In order to use this module you will need an installation of the Cg runtime development kit, downloadable from nVidia at http://developer.nvidia.com/object/cg_toolkit.htmlNAMING CONVENTIONThis module provides access to functionality provided by two different libraries, Cg and CgGL. Whilst it may be important to a C programmer which of the two libraries a given call is from, it is of no real importance to users of this module.With this in mind, and to aid people in identifying SDL::OpenGL::Cg calls, all of the methods in this module have the prefix 'cg'. As such the Cg library's cgGetProfileString() has retained it's name whilst cgGLIsProfileSupported() has become cgIsProfileSupported().In line with this the constants this module provides have been rationalised with the common prefix CG_, thus CG_PROFILE_FP30 has retained it's name whilst CG_GL_MODELVIEW_MATRIX has become CG_MODELVIEW_MATRIX.Apart from this simple change all method names are identical to their C counterparts, and so the documentation on the original C version of a method should be easily found in nVidia's documentation on the Cg and CgGL libraries. Requirements: · Perl


SDL::OpenGL::Cg Related Software