32 lines
858 B
C++
32 lines
858 B
C++
// Copyright (C) 2014 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
|
|
|
|
#pragma once
|
|
|
|
#ifndef NAZARA_UBERSHADER_HPP
|
|
#define NAZARA_UBERSHADER_HPP
|
|
|
|
#include <Nazara/Prerequesites.hpp>
|
|
#include <Nazara/Core/ParameterList.hpp>
|
|
#include <Nazara/Core/Resource.hpp>
|
|
#include <Nazara/Core/ResourceRef.hpp>
|
|
#include <Nazara/Renderer/UberShaderInstance.hpp>
|
|
#include <unordered_map>
|
|
|
|
class NzUberShader;
|
|
|
|
using NzUberShaderConstRef = NzResourceRef<const NzUberShader>;
|
|
using NzUberShaderRef = NzResourceRef<NzUberShader>;
|
|
|
|
class NAZARA_API NzUberShader : public NzResource
|
|
{
|
|
public:
|
|
NzUberShader() = default;
|
|
virtual ~NzUberShader();
|
|
|
|
virtual NzUberShaderInstance* Get(const NzParameterList& parameters) const = 0;
|
|
};
|
|
|
|
#endif // NAZARA_UBERSHADER_HPP
|