DarkRadiant: master 4d19f816

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 06.03.2021 14:53 master 577dd661
Changeset Remove InternalMaterial mechanism

Constructing an entire subclass of Material just to return a single string name
is a needlessly complex way of debugging internal shader construction; instead,
a simple getName() method on the Shader interface provides the same
functionality with much less code.

This also means that the Material interface can be kept pure, rather than being
filled with stub method implementations just to make the InternalMaterial class
shorter.
mod - include/irender.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.h Diff File
mod - test/Entity.cpp Diff File