Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Protected Attributes | List of all members
foray::scene::Component Class Referenceabstract

Base class for all types manageable by registry. More...

#include <foray_component.hpp>

Inheritance diagram for foray::scene::Component:
foray::NoMoveDefaults foray::Polymorphic foray::scene::GlobalComponent foray::scene::NodeComponent foray::scene::gcomp::AnimationManager foray::scene::gcomp::CameraManager foray::scene::gcomp::DrawDirector foray::scene::gcomp::GeometryStore foray::scene::gcomp::LightManager foray::scene::gcomp::MaterialManager foray::scene::gcomp::TextureManager foray::scene::gcomp::TlasManager foray::scene::ncomp::Camera foray::scene::ncomp::FreeCameraController foray::scene::ncomp::MeshInstance foray::scene::ncomp::PunctualLight foray::scene::ncomp::Transform

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 SceneGetScene ()=0
 
virtual RegistryGetGlobals ()=0
 
virtual core::ContextGetContext ()=0
 
- Public Member Functions inherited from foray::NoMoveDefaults
 NoMoveDefaults ()=default
 
 NoMoveDefaults (const NoMoveDefaults &other)=delete
 
 NoMoveDefaults (NoMoveDefaults &&other)=default
 
NoMoveDefaultsoperator= (const NoMoveDefaults &other)=delete
 

Public Attributes

friend Registry
 

Protected Attributes

RegistrymRegistry = nullptr
 
std::string mName = ""
 

Additional Inherited Members

- Protected Member Functions inherited from foray::Polymorphic
virtual void __makeMePolymorphic ()
 

Detailed Description

Base class for all types manageable by registry.

Constructor & Destructor Documentation

◆ ~Component()

virtual foray::scene::Component::~Component ( )
inlinevirtual

Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly.

Member Function Documentation

◆ GetContext()

virtual core::Context * foray::scene::Component::GetContext ( )
pure virtual

◆ GetGlobals()

virtual Registry * foray::scene::Component::GetGlobals ( )
pure virtual

◆ GetScene()

virtual Scene * foray::scene::Component::GetScene ( )
pure virtual

Member Data Documentation

◆ mName

std::string foray::scene::Component::mName = ""
protected

◆ mRegistry

Registry* foray::scene::Component::mRegistry = nullptr
protected

◆ Registry

friend foray::scene::Component::Registry

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