![]() |
NDEVR
API Documentation
|
Creates and manages the resources necessary for rendering a single Viewport within the OpenGL pipeline. More...
Public Member Functions | |
| GLESGraphicsPipeline (GLESGraphicsSession *session) | |
| Constructs a GLESGraphicsPipeline for the given session. | |
| virtual | ~GLESGraphicsPipeline () |
| Destructor. | |
| virtual void | cleanResources () override |
| No-op resource cleanup. | |
| virtual void | cleanup () override |
| No-op cleanup. | |
| virtual void | commit (GraphicsUpdateArguments &) override |
| No-op commit. | |
| virtual bool | createPipeline (GraphicsUpdateArguments &args) override |
| Finishes pipeline recreation. | |
| virtual const ConstPointer< GraphicsDevice > & | device () const override |
| Returns the graphics device as a const pointer. | |
| virtual const DynamicPointer< GraphicsDevice > & | device () override |
| Returns the graphics device as a mutable pointer. | |
| virtual void | drawFrame (GraphicsUpdateArguments &args) override |
| Draws one frame for this pipeline's viewport. | |
| virtual void | ensureLastRenderComplete () override |
| No-op to ensure the last render is complete. | |
| virtual bool | hasCommand () const override |
| Checks whether there is a pending command. | |
| virtual void | init (GraphicsUpdateArguments &) override |
| No-op initialization. | |
| virtual bool | runCommand (GraphicsUpdateArguments &) override |
| No-op command runner. | |
| virtual void | setWindowInstance (WindowInstance *instance) override |
| Sets the window instance that this pipeline renders into. | |
| virtual void | updateUniformBuffer (GraphicsUpdateArguments &) override |
| Updates uniform buffers for the current viewport. | |
| Public Member Functions inherited from GraphicsPipeline | |
| virtual | ~GraphicsPipeline () |
| Destructor. | |
Public Attributes | |
| DynamicPointer< GraphicsDevice > | m_device |
| The graphics device. | |
| Dictionary< uint04, Time > | m_last_update_times |
| Per-viewport last update timestamps. | |
| GLESGraphicsSession * | m_session |
| The owning graphics session. | |
| GLESGraphicsWindow * | m_window |
| The target rendering window. | |
Creates and manages the resources necessary for rendering a single Viewport within the OpenGL pipeline.
May be run on a single thread for each Viewport.
Definition at line 15 of file GLESGraphicsPipeline.h.
|
inline |
Constructs a GLESGraphicsPipeline for the given session.
| [in] | session | The owning graphics session. |
Definition at line 20 of file GLESGraphicsPipeline.h.
|
inlineoverridevirtual |
Finishes pipeline recreation.
| [in] | args | The graphics update context. |
Implements GraphicsPipeline.
Definition at line 42 of file GLESGraphicsPipeline.h.
References GraphicsUpdateArguments::finishPipelineRecreation().
|
inlineoverridevirtual |
Returns the graphics device as a const pointer.
Implements GraphicsPipeline.
Definition at line 51 of file GLESGraphicsPipeline.h.
References m_device.
Referenced by GLESGraphicsPipeline().
|
inlineoverridevirtual |
Returns the graphics device as a mutable pointer.
Implements GraphicsPipeline.
Definition at line 54 of file GLESGraphicsPipeline.h.
References m_device.
|
overridevirtual |
Draws one frame for this pipeline's viewport.
| [in] | args | The graphics update context. |
Implements GraphicsPipeline.
|
inlineoverridevirtual |
Checks whether there is a pending command.
Implements GraphicsPipeline.
Definition at line 57 of file GLESGraphicsPipeline.h.
|
inlineoverridevirtual |
No-op command runner.
Implements GraphicsPipeline.
Definition at line 30 of file GLESGraphicsPipeline.h.
|
overridevirtual |
Sets the window instance that this pipeline renders into.
| [in] | instance | The window instance. |
Implements GraphicsPipeline.
|
overridevirtual |
Updates uniform buffers for the current viewport.
| [in] | args | The graphics update context (unused parameter name). |
Implements GraphicsPipeline.