Class GL.GLSLUtils.GLSLProgram

Description

This class keeps track of all state related to a GLSL program, such as the shaders (vertex and pixel), the uniform variables and any vertex buffer objects or textures.


Method create

GL.GLSLUtils.GLSLProgram GL.GLSLUtils.GLSLProgram(string|void name)

Description

Create a new GLSL shader. If name is specified, it indicates a filename passed to compile_file.