#include <CeresEngine/Renderer/RenderGraph/RenderResource.hpp>
◆ ExternalBufferRenderResource() [1/2]
| CeresEngine::ExternalBufferRenderResource::ExternalBufferRenderResource |
( |
RenderGraph & |
renderGraph, |
|
|
GPUBuffer & |
buffer |
|
) |
| |
◆ ExternalBufferRenderResource() [2/2]
◆ get()
| GPUBuffer * CeresEngine::ExternalBufferRenderResource::get |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ getDescriptor()
◆ isExternal()
| bool CeresEngine::ExternalBufferRenderResource::isExternal |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ isTransient()
| bool CeresEngine::ExternalBufferRenderResource::isTransient |
( |
| ) |
const |
|
inlinefinalvirtual |
- Returns
true if the resource is transient and will be automatically created by the render graph implementation.
Implements CeresEngine::RenderResource.
◆ realize()
| void CeresEngine::ExternalBufferRenderResource::realize |
( |
GPUDevice & |
device | ) |
|
|
finalvirtual |
Realizes the resource.
If the resource is a transient resource, it will be created at this stage. Normally, this method is called before executing the first render tasks that uses it.
- Parameters
-
| device | The device to allocate the resource from. |
Implements CeresEngine::RenderResource.
◆ unrealize()
| void CeresEngine::ExternalBufferRenderResource::unrealize |
( |
GPUDevice & |
device | ) |
|
|
finalvirtual |
Unrealizes the resource.
If the resource is a transient resource, it will be destroyed at this stage. Normally, this method is called after executing the last render tasks that uses it.
- Parameters
-
| device | The device to allocate the resource from. |
Implements CeresEngine::RenderResource.
◆ mBuffer
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Renderer/RenderGraph/RenderResource.hpp