Added ShaderManager (Experimental)
Former-commit-id: 327e373f2b932e31184e88c5f29bd5bd8fa3ba46
This commit is contained in:
43
include/Nazara/Renderer/ShaderManagerParams.hpp
Normal file
43
include/Nazara/Renderer/ShaderManagerParams.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
// Copyright (C) 2013 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_SHADERMANAGERPARAMS_HPP
|
||||
#define NAZARA_SHADERMANAGERPARAMS_HPP
|
||||
|
||||
#include <Nazara/Renderer/Enums.hpp>
|
||||
|
||||
struct NzShaderManagerParams
|
||||
{
|
||||
struct FullscreenQuad
|
||||
{
|
||||
bool alphaMapping;
|
||||
bool alphaTest;
|
||||
bool diffuseMapping;
|
||||
};
|
||||
|
||||
struct Model
|
||||
{
|
||||
bool alphaMapping;
|
||||
bool alphaTest;
|
||||
bool diffuseMapping;
|
||||
bool emissiveMapping;
|
||||
bool lighting;
|
||||
bool normalMapping;
|
||||
bool parallaxMapping;
|
||||
bool specularMapping;
|
||||
};
|
||||
|
||||
nzShaderTarget target;
|
||||
nzUInt32 flags;
|
||||
|
||||
union
|
||||
{
|
||||
FullscreenQuad fullscreenQuad;
|
||||
Model model;
|
||||
};
|
||||
};
|
||||
|
||||
#endif // NAZARA_SHADERMANAGERPARAMS_HPP
|
||||
Reference in New Issue
Block a user