The common base class of Nebula.
Definition refcounted.h:38
The graphics server is the main singleton for the Graphics subsystem.
Definition graphicsserver.h:49
A view describes a camera which can observe a Stage.
Definition view.h:23
const GraphicsEntityId & GetCamera()
get camera
Definition view.h:81
bool IsEnabled() const
returns whether view is enabled
Definition view.h:108
virtual ~View()
destructor
Definition view.cc:35
Ptr< Frame::FrameScript > script
Definition view.h:62
GraphicsEntityId camera
Definition view.h:63
void SetStage(const Ptr< Stage > &stage)
set stage
Definition view.h:90
const Ptr< Frame::FrameScript > GetFrameScript() const
get frame script
Definition view.h:135
void BuildFrameScript()
Build frame script.
Definition view.cc:99
Ptr< Stage > stage
Definition view.h:64
const Ptr< Stage > & GetStage() const
get stage
Definition view.h:99
void Render(const IndexT frameIndex, const Timing::Time time, const IndexT bufferIndex)
render through view
Definition view.cc:85
void Disable()
disable this view
Definition view.h:126
bool enabled
Definition view.h:65
void SetCamera(const GraphicsEntityId &camera)
set camera
Definition view.h:72
void UpdateConstants()
Update constants.
Definition view.cc:44
void Enable()
enable this view
Definition view.h:117
View()
constructor
Definition view.cc:23
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Implements the shader server used by Vulkan.
Definition cameramanager.h:21
double Time
the time datatype
Definition time.h:18
@ Camera
Definition visibility.h:39
The graphics entity is only an Id, to which we can attach GraphicsContexts.
Definition graphicsentity.h:16
Typedefs for the Timing subsystem.
int IndexT
Definition types.h:48