mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-13 07:33:35 +00:00
working on chunk generation
This commit is contained in:
20
ScopEngine/Runtime/Includes/Graphics/Enums.h
git.filemode.normal_file
20
ScopEngine/Runtime/Includes/Graphics/Enums.h
git.filemode.normal_file
@@ -0,0 +1,20 @@
|
||||
#ifndef __SCOP_GRAPHICS_ENUMS__
|
||||
#define __SCOP_GRAPHICS_ENUMS__
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace Scop
|
||||
{
|
||||
enum class CullMode
|
||||
{
|
||||
None = 0,
|
||||
Back,
|
||||
Front,
|
||||
FrontAndBack,
|
||||
|
||||
EndEnum
|
||||
};
|
||||
constexpr std::size_t CullModeCount = static_cast<std::size_t>(CullMode::EndEnum);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <Utils/NonOwningPtr.h>
|
||||
|
||||
#include <Graphics/Enums.h>
|
||||
#include <Graphics/Actor.h>
|
||||
#include <Graphics/Narrator.h>
|
||||
#include <Graphics/Sprite.h>
|
||||
@@ -23,6 +24,7 @@ namespace Scop
|
||||
{
|
||||
std::shared_ptr<Shader> fragment_shader;
|
||||
std::shared_ptr<BaseCamera> camera;
|
||||
CullMode culling;
|
||||
bool render_3D_enabled = true;
|
||||
bool render_2D_enabled = true;
|
||||
bool render_skybox_enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user