DOKK / manpages / debian 13 / libopengl-perl / OpenGL::Shader::CG.3pm.en
OpenGL::Shader::CG(3pm) User Contributed Perl Documentation OpenGL::Shader::CG(3pm)

OpenGL::Shader::CG - plug-in module for use with OpenGL::Shader

  ##########
  # Instantiate a shader
  use OpenGL::Shader;
  my $shdr = OpenGL::Shader->new('CG');
  # See docs in OpenGL/Shader/Common.pm

This is a plug-in module for use with the OpenGL::Shader. While it may be called directly, it will more often be called by the OpenGL::Shader abstraction module.

This is a subclass of the OpenGL::Shader::Objects module.

Bob "grafman" Free - grafman@graphcomp.com. Copyright 2007 Graphcomp - ALL RIGHTS RESERVED

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2025-03-21 perl v5.40.1