44 lines
780 B
C++
44 lines
780 B
C++
// 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
|