Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Defines an instance of a mesh. More...
#include <foray_meshinstance.hpp>
Public Member Functions | |
virtual | ~MeshInstance () |
![]() | |
Node * | GetNode () |
Node this component is attached to. Casts mRegistry to Node. | |
virtual Scene * | GetScene () override |
Scene this component is a part of. Casts mRegistry->mCallbackDispatcher to Scene. | |
virtual Registry * | GetGlobals () override |
Global component registry. Casts mRegistry->mCallbackDispatcher to Scene and returns Scene->GetGlobals() | |
virtual core::Context * | GetContext () override |
Vulkan Context. Casts mRegistry->mCallbackDispatcher 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 |
Protected Attributes | |
int32_t | mInstanceIndex = 0 |
Mesh * | mMesh = nullptr |
![]() | |
Registry * | mRegistry = nullptr |
std::string | mName = "" |
Additional Inherited Members | |
![]() | |
friend | Registry |
![]() | |
virtual void | __makeMePolymorphic () |
Defines an instance of a mesh.
|
inlinevirtual |
|
protected |
|
protected |