|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Renderer/RenderGraph2/RenderGraphBuffer.hpp>
Public Member Functions | |
| RenderGraphBuffer (RenderGraph &graph, const RenderGraphBufferDescriptor &descriptor) | |
Creates a new RenderGraphBuffer instance. | |
| const RenderGraphBufferDescriptor & | getDescriptor () const noexcept |
A structure that describes how the RenderGraphBuffer should create a GPUBuffer based on it's inputs. | |
| const GPUBufferPtr & | getBuffer () const noexcept |
| A pointer to the instantiated GPU buffer. | |
| void | setBuffer (const GPUBufferPtr &buffer) |
| A pointer to the instantiated GPU buffer. | |
| RenderGraphResourceType | getType () const noexcept final |
Public Member Functions inherited from CeresEngine::RenderGraph2::RenderGraphResource | |
| RenderGraphResource (RenderGraph &graph) | |
| virtual | ~RenderGraphResource () noexcept=default |
Public Member Functions inherited from CeresEngine::RefCounted< RenderGraphResource > | |
| RefCounted (Args &&... args) | |
Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it. | |
| void | retain () noexcept |
| Retains the object by increment it's reference count by one. | |
| bool | release () noexcept |
| Relases the object by decrementing it's reference count by one. | |
Protected Attributes | |
| RenderGraphBufferDescriptor | mDescriptor |
A structure that describes how the RenderGraphBuffer should create a GPUBuffer based on it's inputs. | |
| GPUBufferPtr | mBuffer |
| A pointer to the instantiated GPU buffer. | |
Protected Attributes inherited from CeresEngine::RenderGraph2::RenderGraphResource | |
| RenderGraph & | mGraph |
|
inlineexplicit |
Creates a new RenderGraphBuffer instance.
| graph | The graph that owns this resource. |
| descriptor | The buffer descriptor. |
|
inlinenoexcept |
A pointer to the instantiated GPU buffer.
Usually only defined during the execution of a render graph task.
|
inlinenoexcept |
A structure that describes how the RenderGraphBuffer should create a GPUBuffer based on it's inputs.
|
inlinefinalvirtualnoexcept |
Implements CeresEngine::RenderGraph2::RenderGraphResource.
| void CeresEngine::RenderGraph2::RenderGraphBuffer::setBuffer | ( | const GPUBufferPtr & | buffer | ) |
A pointer to the instantiated GPU buffer.
Usually only defined during the execution of a render graph task.
|
protected |
A pointer to the instantiated GPU buffer.
Usually only defined during the execution of a render graph task.
|
protected |
A structure that describes how the RenderGraphBuffer should create a GPUBuffer based on it's inputs.