|
|
| Utilities | Arrays | Imaging | Shaders | POGL | GLUT | OpenGL | GLU |
OpenGL::Shader (OGS) objects provide an abstracted interface to ARB, Cg and GLSL shaders.
POGL 0.56 adds support for
GL_ARB_shader_objects
GL_ARB_vertex_shader
GL_ARB_fragment_shader
GL_ARB_shading_language_100
GL_EXT_Cg_shader
...in addition to its existing GL_ARB_vertex_program and GL_ARB_fragment_program extensions.
OpenGL::Shader provides an object class that abstracts these APIs - simplifying the loading and
use of alternate shaders, based on platform support.
Note: these APIs require a current GL context
Returns a hashref of available shader types. The hash keys are shading language names;
hash values are their version.
Tests whether a particular shading language (and optionally minimum version) is supported.
Create an OGS object for GLSL.
Defaults to 'GLSL','Cg','ARB' order.
|
|
|
|
|
|