Particles shader program.
array< int32_t, 16 > uniformDiffuseTextureUnits
void updateMatrices(int contextIdx)
Update matrices to program.
void updateEffect(int contextIdx)
Update effect to program.
void unUseProgram(int contextIdx)
Unuse particles shader program.
void setParameters(int contextIdx, const array< int32_t, 16 > &textureIds)
Set parameters.
ParticlesShader(Engine *engine, Renderer *renderer)
Public constructor.
array< int32_t, 16 > boundTextureIds
void useProgram(int contextIdx)
Use lighting program.