Replaced (Uber)ShaderLibrary by template class ObjectLibrary
Former-commit-id: d488cfd4e5e3ff31112fffebce2b7cdb86cc2e55
This commit is contained in:
@@ -6,3 +6,21 @@
|
||||
#include <Nazara/Renderer/Debug.hpp>
|
||||
|
||||
NzUberShader::~NzUberShader() = default;
|
||||
|
||||
bool NzUberShader::Initialize()
|
||||
{
|
||||
if (!NzUberShaderLibrary::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialise library");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void NzUberShader::Uninitialize()
|
||||
{
|
||||
NzUberShaderLibrary::Uninitialize();
|
||||
}
|
||||
|
||||
NzUberShaderLibrary::LibraryMap NzUberShader::s_library;
|
||||
|
||||
Reference in New Issue
Block a user