Elements.pyGLV.GL.Shader

Shader classes

The Shader Compoment class is the dedicated to a specific type of data container in the Elements.pyECSS Component class that of assembling, using and destroying OpenGL API shader programs

Based on the Composite and Iterator design patterns:

Classes

InitGLShaderSystem([name, type, id, priority])

Initialise outside of the rendering loop RenderMesh, Shader, VertexArray, ShaderGLDecorator classes

RenderGLShaderSystem([name, type, id, priority])

A RenderSystem specifically for GL vertex and fragment Shaders and associated VertexArray components attached to a specific Entity

Shader([name, type, id, vertex_source, …])

A concrete OpenGL-GLSL Shader container Component class

ShaderGLDecorator(comp[, name, type, id])

A decorator of the Shader Compoment to decorate it with custom standard pass-through shader attributes