![]() |
NDEVR
API Documentation
|
A GraphicsPipeline is a set of resources that are chained together to correctly render something. More...
Public Member Functions | |
| virtual | ~GraphicsPipeline () |
| Destructor. | |
| virtual void | cleanResources ()=0 |
| Cleans up stale or unused GPU resources. | |
| virtual void | cleanup ()=0 |
| Releases all GPU resources. | |
| virtual void | commit (GraphicsUpdateArguments &args)=0 |
| Commits pending changes to the GPU. | |
| virtual bool | createPipeline (GraphicsUpdateArguments &args)=0 |
| Creates or recreates the rendering pipeline. | |
| virtual const ConstPointer< GraphicsDevice > & | device () const =0 |
| Returns the graphics device (const). | |
| virtual const DynamicPointer< GraphicsDevice > & | device ()=0 |
| Returns the graphics device. | |
| virtual void | drawFrame (GraphicsUpdateArguments &args)=0 |
| Renders a single frame. | |
| virtual void | ensureLastRenderComplete ()=0 |
| Blocks until the last submitted render is complete. | |
| virtual bool | hasCommand () const =0 |
| Checks whether there are pending commands to execute. | |
| virtual void | init (GraphicsUpdateArguments &args)=0 |
| Initializes the pipeline with the given arguments. | |
| virtual bool | runCommand (GraphicsUpdateArguments &args)=0 |
| Executes a queued rendering command. | |
| virtual void | setWindowInstance (WindowInstance *instance)=0 |
| Associates a window instance with this pipeline. | |
| virtual void | updateUniformBuffer (GraphicsUpdateArguments &args)=0 |
| Updates the camera uniform buffer on the GPU. | |
A GraphicsPipeline is a set of resources that are chained together to correctly render something.
Definition at line 48 of file GraphicsPipeline.h.
|
pure virtual |
Commits pending changes to the GPU.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Creates or recreates the rendering pipeline.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Returns the graphics device (const).
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Returns the graphics device.
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Renders a single frame.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Checks whether there are pending commands to execute.
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Initializes the pipeline with the given arguments.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Executes a queued rendering command.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Associates a window instance with this pipeline.
| [in] | instance | The window instance. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.
|
pure virtual |
Updates the camera uniform buffer on the GPU.
| [in] | args | The update arguments. |
Implemented in GLESGraphicsPipeline, GLESGraphicsSession, VulkanRenderPipeline, and VulkanSession.