DirectZ
Loading...
Searching...
No Matches
ReflectableGroup Struct Reference

#include <Reflectable.hpp>

Inheritance diagram for ReflectableGroup:
dz::Camera::CameraReflectableGroup dz::ECS< TCID, TProviders >::ProviderReflectableGroup dz::WindowReflectableGroup dz::ecs::ColorComponent::ColorComponentReflectableGroup dz::ecs::Entity::EntityReflectableGroup dz::ecs::Scene::SceneReflectableGroup

Public Types

enum  GroupType {
  Generic , Window , Scene , Entity ,
  Camera , Light , Provider
}

Public Member Functions

virtual ~ReflectableGroup ()=default
virtual GroupType GetGroupType ()
virtual std::string & GetName ()
virtual void NotifyNameChanged ()
virtual const std::vector< Reflectable * > & GetReflectables ()
virtual std::vector< std::shared_ptr< ReflectableGroup > > & GetChildren ()
virtual void UpdateChildren ()

Public Attributes

bool disabled = false
size_t id
int index = -1
bool is_child = false
ReflectableGroupparent_ptr = nullptr

Member Enumeration Documentation

◆ GroupType

Enumerator
Generic 
Window 
Scene 
Entity 
Camera 
Light 
Provider 

Constructor & Destructor Documentation

◆ ~ReflectableGroup()

virtual ReflectableGroup::~ReflectableGroup ( )
virtualdefault

Member Function Documentation

◆ GetChildren()

virtual std::vector< std::shared_ptr< ReflectableGroup > > & ReflectableGroup::GetChildren ( )
inlinevirtual

◆ GetGroupType()

◆ GetName()

◆ GetReflectables()

virtual const std::vector< Reflectable * > & ReflectableGroup::GetReflectables ( )
inlinevirtual

◆ NotifyNameChanged()

virtual void ReflectableGroup::NotifyNameChanged ( )
inlinevirtual

◆ UpdateChildren()

virtual void ReflectableGroup::UpdateChildren ( )
inlinevirtual

Member Data Documentation

◆ disabled

bool ReflectableGroup::disabled = false

◆ id

size_t ReflectableGroup::id

◆ index

int ReflectableGroup::index = -1

◆ is_child

bool ReflectableGroup::is_child = false

◆ parent_ptr

ReflectableGroup* ReflectableGroup::parent_ptr = nullptr

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