|
Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Manages a Tlas for a scene. More...
#include <foray_tlasmanager.hpp>
Public Member Functions | |
| TlasManager ()=default | |
| void | CreateOrUpdate () |
| virtual void | Update (SceneUpdateInfo &updateInfo) override |
| virtual int32_t | GetOrder () const override |
Public Member Functions inherited from foray::scene::GlobalComponent | |
| 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() | |
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 | |
| NoMoveDefaults & | operator= (const NoMoveDefaults &other)=delete |
Public Member Functions inherited from foray::scene::Component::UpdateCallback | |
| virtual void | Update (TArg updateInfo)=0 |
| Invoked first each frame. Use for changes to the node hierarchy and transforms. | |
| void | Invoke (TArg updateInfo) |
Additional Inherited Members | |
Public Types inherited from foray::scene::Component::UpdateCallback | |
| using | TArg = SceneUpdateInfo & |
Public Attributes inherited from foray::scene::Component | |
| friend | Registry |
Static Public Attributes inherited from foray::scene::Component::UpdateCallback | |
| static const bool | ORDERED_EXECUTION = true |
| static const int32_t | ORDER_TRANSFORM = 100 |
| static const int32_t | ORDER_DEVICEUPLOAD = 200 |
Protected Member Functions inherited from foray::Polymorphic | |
| virtual void | __makeMePolymorphic () |
Protected Attributes inherited from foray::scene::Component | |
| Registry * | mRegistry = nullptr |
| std::string | mName = "" |
Manages a Tlas for a scene.
|
default |
| void foray::scene::gcomp::TlasManager::CreateOrUpdate | ( | ) |
|
inlineoverridevirtual |
Reimplemented from foray::scene::Component::UpdateCallback.
|
overridevirtual |