#include <CeresEngine/Renderer/RenderGraph/RenderResource.hpp>
◆ ExternalImageRenderResource() [1/2]
| CeresEngine::ExternalImageRenderResource::ExternalImageRenderResource |
( |
RenderGraph & |
renderGraph, |
|
|
GPUImage & |
image |
|
) |
| |
◆ ExternalImageRenderResource() [2/2]
◆ get()
| GPUImage * CeresEngine::ExternalImageRenderResource::get |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ getDescriptor()
◆ isExternal()
| bool CeresEngine::ExternalImageRenderResource::isExternal |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ isTransient()
| bool CeresEngine::ExternalImageRenderResource::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::ExternalImageRenderResource::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.
◆ set()
| void CeresEngine::ExternalImageRenderResource::set |
( |
GPUImage & |
image | ) |
|
|
inline |
- Returns
- A pointer to the resource.
◆ unrealize()
| void CeresEngine::ExternalImageRenderResource::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.
◆ mImage
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Renderer/RenderGraph/RenderResource.hpp