NazaraEngine/include/Nazara/Graphics/Enums.hpp

40 lines
670 B
C++

// Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ENUMS_GRAPHICS_HPP
#define NAZARA_ENUMS_GRAPHICS_HPP
#include <Nazara/Core/Algorithm.hpp>
namespace Nz
{
enum class BasicRenderElement
{
SpriteChain = 0,
Submesh = 1,
Max = Submesh
};
constexpr std::size_t BasicRenderElementCount = UnderlyingCast(BasicRenderElement::Max) + 1;
enum class CullTest
{
Box,
NoTest,
Sphere,
Volume
};
enum class ProjectionType
{
Orthographic,
Perspective
};
}
#endif // NAZARA_ENUMS_GRAPHICS_HPP