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

#include <foray_component.hpp>

Inheritance diagram for foray::scene::GlobalComponent:
foray::scene::Component foray::NoMoveDefaults foray::Polymorphic 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

Public Member Functions

virtual SceneGetScene () override
 Scene this component is a part of. Casts mRegistry to Scene.
 
virtual RegistryGetGlobals () override
 Global component registry. Returns mRegistry.
 
virtual core::ContextGetContext () override
 Vulkan Context. Casts mRegistry to Scene and returns Scene->GetContext()
 
- Public Member Functions inherited from foray::scene::Component
virtual ~Component ()
 Destructor. Provide virtual constructors in inheriting classes, to make sure they get finalized correctly.
 
- Public Member Functions inherited from foray::NoMoveDefaults
 NoMoveDefaults ()=default
 
 NoMoveDefaults (const NoMoveDefaults &other)=delete
 
 NoMoveDefaults (NoMoveDefaults &&other)=default
 
NoMoveDefaultsoperator= (const NoMoveDefaults &other)=delete
 

Additional Inherited Members

- Public Attributes inherited from foray::scene::Component
friend Registry
 
- Protected Member Functions inherited from foray::Polymorphic
virtual void __makeMePolymorphic ()
 
- Protected Attributes inherited from foray::scene::Component
RegistrymRegistry = nullptr
 
std::string mName = ""
 

Member Function Documentation

◆ GetContext()

virtual core::Context * foray::scene::GlobalComponent::GetContext ( )
overridevirtual

Vulkan Context. Casts mRegistry to Scene and returns Scene->GetContext()

Implements foray::scene::Component.

◆ GetGlobals()

virtual Registry * foray::scene::GlobalComponent::GetGlobals ( )
overridevirtual

Global component registry. Returns mRegistry.

Implements foray::scene::Component.

◆ GetScene()

virtual Scene * foray::scene::GlobalComponent::GetScene ( )
overridevirtual

Scene this component is a part of. Casts mRegistry to Scene.

Implements foray::scene::Component.


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