#include <CeresEngine/Renderer/RenderGraph/RenderTask.hpp>
◆ RenderTaskCompiler()
◆ addColorAttachment()
Adds a new resource that will be used as a color attachment in a render pass.
- Parameters
-
| image | The image to be used as a color attachment. |
| loadOp | The load operation to be performed when beginning the render pass. |
| storeOp | The store operation to be performed when finishing the render pass. |
- Returns
- This
◆ reads()
Adds a new resource that will be used for reading in a shader.
- Parameters
-
| resource | The resource to be read. |
- Returns
- This
◆ setDepthAttachment()
Sets a resource that will be used as depth attachment in a render pass.
- Parameters
-
| image | The image to be used as a depth attachment. |
| loadOp | The load operation to be performed when beginning the render pass. |
| storeOp | The store operation to be performed when finishing the render pass. |
- Returns
- This
◆ setStencilAttachment()
Sets a resource that will be used as stencil attachment in a render pass.
- Parameters
-
| image | The image to be used as a stencil attachment. |
| loadOp | The load operation to be performed when beginning the render pass. |
| storeOp | The store operation to be performed when finishing the render pass. |
- Returns
- This
◆ writes()
Adds a new resource that will be used for writing in a shader.
- Parameters
-
| resource | The resource to be written. |
- Returns
- This
◆ mResourceUsage
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Renderer/RenderGraph/RenderTask.hpp