I am a shader that uses primitive level support. NOTE: Currently, primitive and non-primitive lights cannot be mixed.
addLight:
NOTE: This does not work if primitive/non-primitive lights are mixed!
primitiveLights
primitiveMaterial
removeLight:
Remove the light with the given index
initialize
reset
primShadeVB:count:lights:material:vbFlags:
Primitive. Shade all the vertices in the vertex buffer using the given array of primitive light sources. Return true on success, false otherwise.
processVertexBuffer:
Do the primitive operation
version
Return the version of this shader
isAvailable
Return true if this part of the engine is available