Abstract rendering destination used by VisualWorld.
std::unique_ptr< Image > snapshot() const
Captures the current framebuffer into a new Image at framebuffer resolution.
Antialiasing antialiasing() const
Returns the antialiasing mode selected when the rendering target was created.
VisualWorld * visualWorld() const
Returns the attached VisualWorld, or nullptr if none is attached.
Antialiasing
Selects multisample antialiasing requested for the rendering target.
virtual bool vSyncEnabled() const =0
Returns whether presentation synchronization is enabled for this context.
virtual void vSyncEnabled(bool enabled)=0
Enables or disables presentation synchronization when supported by the concrete context.