|
Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Base class for all types manageable by registry. More...
#include <foray_component.hpp>
Classes | |
| class | DrawCallback |
| Base class for implementing the draw callback. More... | |
| class | OnEventCallback |
| Base class for implementing the onevent callback. More... | |
| class | OnResizedCallback |
| class | UpdateCallback |
| Base class for implementing the update callback. More... | |
Public Member Functions | |
| virtual | ~Component () |
| Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly. | |
| virtual Scene * | GetScene ()=0 |
| virtual Registry * | GetGlobals ()=0 |
| virtual core::Context * | GetContext ()=0 |
Public Member Functions inherited from foray::NoMoveDefaults | |
| NoMoveDefaults ()=default | |
| NoMoveDefaults (const NoMoveDefaults &other)=delete | |
| NoMoveDefaults (NoMoveDefaults &&other)=default | |
| NoMoveDefaults & | operator= (const NoMoveDefaults &other)=delete |
Public Attributes | |
| friend | Registry |
Protected Attributes | |
| Registry * | mRegistry = nullptr |
| std::string | mName = "" |
Additional Inherited Members | |
Protected Member Functions inherited from foray::Polymorphic | |
| virtual void | __makeMePolymorphic () |
Base class for all types manageable by registry.
|
inlinevirtual |
Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly.
|
pure virtual |
Implemented in foray::scene::NodeComponent, and foray::scene::GlobalComponent.
|
pure virtual |
Implemented in foray::scene::NodeComponent, and foray::scene::GlobalComponent.
|
pure virtual |
Implemented in foray::scene::NodeComponent, and foray::scene::GlobalComponent.
|
protected |
|
protected |
| friend foray::scene::Component::Registry |