Files
NazaraEngine/src/Nazara/Renderer/UberShader.cpp
Lynix a069b105e6 Fully replace listener system by signals
Former-commit-id: 032dfddd12cc3a792c71426148c758ffac3621f9
2015-06-07 20:42:41 +02:00

30 lines
620 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Renderer/UberShader.hpp>
#include <Nazara/Renderer/Debug.hpp>
NzUberShader::~NzUberShader()
{
OnUberShaderRelease(this);
}
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;