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:
https://github.com/faif/python-patterns/blob/master/patterns/structural/composite.py
https://github.com/faif/python-patterns/blob/master/patterns/behavioral/iterator.py
Classes
|
Initialise outside of the rendering loop RenderMesh, Shader, VertexArray, ShaderGLDecorator classes |
|
A RenderSystem specifically for GL vertex and fragment Shaders and associated VertexArray components attached to a specific Entity |
|
A concrete OpenGL-GLSL Shader container Component class |
|
A decorator of the Shader Compoment to decorate it with custom standard pass-through shader attributes |