DarkRadiant: master 4e2a95bc

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 12.08.2020 19:55 master 00172d40
Changeset Simplification of Shader::addRenderable() interface

Shader now defines a single addRenderable() method which accepts nullable
pointers to a LightList and an IRenderEntity, instead of the previous two
methods with different parameter combinations.

This is only a partial refactoring since the RenderableCollector interface
still exposes three separate addRenderable() methods, leading to significant
duplication.
mod - include/irender.h Diff File
mod - libs/render/SimpleFrontendRenderer.h Diff File
mod - radiant/camera/CamRenderer.cpp Diff File
mod - radiant/render/backend/OpenGLShader.cpp Diff File
mod - radiant/render/backend/OpenGLShader.h Diff File
mod - radiant/render/backend/OpenGLShaderPass.cpp Diff File
mod - radiant/render/backend/OpenGLShaderPass.h Diff File
mod - radiant/xyview/XYRenderer.h Diff File