DirectZ
Loading...
Searching...
No Matches
dz::ecs::Scene Struct Reference

#include <Scene.hpp>

Inheritance diagram for dz::ecs::Scene:
dz::Provider< Scene >

Classes

struct  SceneReflectableGroup

Public Types

using ReflectableGroup = SceneReflectableGroup

Static Public Member Functions

static std::shared_ptr< ReflectableGroupMakeGroup (BufferGroup *buffer_group)
Static Public Member Functions inherited from dz::Provider< Scene >
static constexpr size_t GetPID ()
static constexpr bool GetIsComponent ()
static constexpr char GetComponentID ()
static constexpr bool GetIsDrawProvider ()
static constexpr bool GetIsCameraProvider ()
static constexpr bool GetIsSceneProvider ()
static float GetPriority ()
static const std::string & GetProviderName ()
static const std::string & GetStructName ()
static const std::string & GetGLSLStruct ()
static const std::unordered_map< ShaderModuleType, std::string > & GetGLSLMethods ()
static std::vector< std::tuple< float, std::string, ShaderModuleType > > & GetGLSLMain ()
static std::shared_ptr< ReflectableGroupTryMakeGroup (BufferGroup *buffer_group)

Public Attributes

int id = 0

Static Public Attributes

static constexpr size_t PID = 6
static float Priority = 0.5f
static constexpr bool IsSceneProvider = true
static std::string ProviderName = "Scene"
static std::string StructName = "Scene"
static std::string GLSLStruct

Member Typedef Documentation

◆ ReflectableGroup

Member Function Documentation

◆ MakeGroup()

std::shared_ptr< ReflectableGroup > dz::ecs::Scene::MakeGroup ( BufferGroup * buffer_group)
inlinestatic

Member Data Documentation

◆ GLSLStruct

std::string dz::ecs::Scene::GLSLStruct
inlinestatic
Initial value:
= R"(
struct Scene {
int id;
};
)"

◆ id

int dz::ecs::Scene::id = 0

◆ IsSceneProvider

bool dz::ecs::Scene::IsSceneProvider = true
inlinestaticconstexpr

◆ PID

size_t dz::ecs::Scene::PID = 6
inlinestaticconstexpr

◆ Priority

float dz::ecs::Scene::Priority = 0.5f
inlinestatic

◆ ProviderName

std::string dz::ecs::Scene::ProviderName = "Scene"
inlinestatic

◆ StructName

std::string dz::ecs::Scene::StructName = "Scene"
inlinestatic

The documentation for this struct was generated from the following file: