ShaderRenderer

* Shader renderer abstract class is inherited by shader objects. * See GfxShader class.

Members

Functions

disableVertexAttributeArray
R disableVertexAttributeArray()

* Disable vertex attribute array. * Returns reference to this so it can be used in a stream.

enableVertexAttributeArray
R enableVertexAttributeArray(int vaoID)

* Enable vertex attribute array. * Returns reference to this so it can be used in a stream.

render
R render(Model model)

* Step1: Enable vertex attribute array for the model. * Step2: Render a model to the screen by calling render method from model. * Step3: Disable vertex attribute array. * Returns reference to this so it can be used in a stream.

Variables

attributeCount
int attributeCount;

Meta