API Documentation
|
#include <GraphicsSession.h>
Public Member Functions | |
virtual | ~GraphicsSession () |
virtual void | addModel (const UUID &object) |
virtual void | addCamera (const UUID &object) |
virtual void | addScene (const UUID &scene) |
virtual void | addMaterial (const UUID &material) |
virtual void | addGeometry (const UUID &geo) |
virtual void | readShader (const String &shader)=0 |
virtual void | removeModel (const UUID &model) |
virtual void | removeMaterial (const UUID &material) |
virtual void | removeGeometry (const UUID &geo) |
virtual void | removeCamera (const UUID &camera) |
virtual void | setupScene (GraphicsUpdateArguments &args) |
virtual void | addRenderObject (GraphicsUpdateArguments &args, Model &model) |
virtual void | addRenderObject (const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property)=0 |
virtual DynamicPointer< GraphicsPipeline > | createRenderPipeline ()=0 |
virtual void | postClearAll () |
virtual UUID | uuid ()=0 |
Public Member Functions inherited from GraphicsPipeline | |
virtual | ~GraphicsPipeline () |
virtual bool | runCommand (GraphicsUpdateArguments &args)=0 |
virtual void | commit (GraphicsUpdateArguments &args)=0 |
virtual void | updateUniformBuffer (GraphicsUpdateArguments &args)=0 |
virtual bool | createPipeline (GraphicsUpdateArguments &args)=0 |
virtual const ConstPointer< GraphicsDevice > & | device () const =0 |
virtual const DynamicPointer< GraphicsDevice > & | device ()=0 |
virtual bool | hasCommand () const =0 |
virtual void | drawFrame (GraphicsUpdateArguments &args)=0 |
virtual void | ensureLastRenderComplete ()=0 |
virtual void | cleanup ()=0 |
virtual void | setWindowInstance (WindowInstance *instance)=0 |
virtual void | cleanResources ()=0 |
virtual void | init (GraphicsUpdateArguments &args)=0 |
Protected Attributes | |
Dictionary< UUID, uint04 > | m_added_models |
Buffer< UUID > | m_added_cameras |
bool | m_needs_model_refresh = true |
bool | m_needs_command_refresh = false |
bool | m_needs_clear_all = false |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
pure virtual |
Implemented in GLESGraphicsSession, and VulkanSession.
|
virtual |
|
virtual |
|
pure virtual |
Implemented in GLESGraphicsSession, and VulkanSession.
|
virtual |
Reimplemented in GLESGraphicsSession, and VulkanSession.
|
pure virtual |
Implemented in GLESGraphicsSession, and QtVulkanSession.
|
virtual |
|
virtual |
Reimplemented in GLESGraphicsSession, and VulkanSession.
|
virtual |
Reimplemented in GLESGraphicsSession, and VulkanSession.
|
virtual |
Reimplemented in GLESGraphicsSession.
|
virtual |
Reimplemented in GLESGraphicsSession, and VulkanSession.
|
pure virtual |
Implemented in GLESGraphicsSession, and VulkanSession.
|
protected |
|
protected |
|
protected |
|
protected |