The fixed colormap is a per-scene global setting that normally does not need to change ever during rendering of a scene so it's easily shoved aside into a static uniform buffer. Having to change this buffer for inconsequential stuff should be avoided, especially when there's other uniforms that are just as good to hold these values. |
||
|---|---|---|
| .. | ||
| gl_lightdata.cpp | ||
| gl_lightdata.h | ||
| gl_postprocess.cpp | ||
| gl_postprocessstate.cpp | ||
| gl_postprocessstate.h | ||
| gl_quaddrawer.cpp | ||
| gl_quaddrawer.h | ||
| gl_renderbuffers.cpp | ||
| gl_renderbuffers.h | ||
| gl_renderer.cpp | ||
| gl_renderer.h | ||
| gl_renderstate.cpp | ||
| gl_renderstate.h | ||