Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
#include <foray_component.hpp>
Public Member Functions | |
virtual Scene * | GetScene () override |
Scene this component is a part of. Casts mRegistry to Scene. | |
virtual Registry * | GetGlobals () override |
Global component registry. Returns mRegistry. | |
virtual core::Context * | GetContext () override |
Vulkan Context. Casts mRegistry to Scene and returns Scene->GetContext() | |
![]() | |
virtual | ~Component () |
Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly. | |
![]() | |
NoMoveDefaults ()=default | |
NoMoveDefaults (const NoMoveDefaults &other)=delete | |
NoMoveDefaults (NoMoveDefaults &&other)=default | |
NoMoveDefaults & | operator= (const NoMoveDefaults &other)=delete |
Additional Inherited Members | |
![]() | |
friend | Registry |
![]() | |
virtual void | __makeMePolymorphic () |
![]() | |
Registry * | mRegistry = nullptr |
std::string | mName = "" |
|
overridevirtual |
Vulkan Context. Casts mRegistry to Scene and returns Scene->GetContext()
Implements foray::scene::Component.
|
overridevirtual |
Global component registry. Returns mRegistry.
Implements foray::scene::Component.
|
overridevirtual |
Scene this component is a part of. Casts mRegistry to Scene.
Implements foray::scene::Component.