Add shader registry (#924)
This commit is contained in:
@@ -20,6 +20,8 @@ Programs::Programs(gfx::Context& context_, const ProgramParameters& programParam
|
||||
|
||||
Programs::~Programs() = default;
|
||||
|
||||
void Programs::registerWith([[maybe_unused]] gfx::ShaderRegistry& registry) noexcept {}
|
||||
|
||||
BackgroundLayerPrograms& Programs::getBackgroundLayerPrograms() noexcept {
|
||||
if (!backgroundPrograms) {
|
||||
backgroundPrograms = std::make_unique<BackgroundLayerPrograms>(context, programParameters);
|
||||
|
||||
Reference in New Issue
Block a user