CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo Struct Reference

A structure that describes a attachment resource. More...

#include <CeresEngine/Renderer/RenderGraph/RenderTask.hpp>

Public Attributes

ImageRenderResourceresource = nullptr
 The resource that will be used as an attachment.
 
GPUAttachmentLoadOp loadOp = GPUAttachmentLoadOp::Clear
 The attachment load operation to be used for the render pass.
 
GPUAttachmentStoreOp storeOp = GPUAttachmentStoreOp::Store
 The attachment store operation to be used for the render pass.
 
GPUImageLayout initialLayout = GPUImageLayout::DontCare
 The required initial layout for the attachment resource image.
 
GPUImageLayout finalLayout = GPUImageLayout::DontCare
 The required final layout for the attachment resource image.
 

Detailed Description

A structure that describes a attachment resource.

Member Data Documentation

◆ finalLayout

GPUImageLayout CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo::finalLayout = GPUImageLayout::DontCare

The required final layout for the attachment resource image.

This is computed automatically by the RenderGraph implementation according to the following usage of the resource.

◆ initialLayout

GPUImageLayout CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo::initialLayout = GPUImageLayout::DontCare

The required initial layout for the attachment resource image.

This is computed automatically by the RenderGraph implementation according to the previous usage of the resource.

◆ loadOp

GPUAttachmentLoadOp CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo::loadOp = GPUAttachmentLoadOp::Clear

The attachment load operation to be used for the render pass.

◆ resource

ImageRenderResource* CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo::resource = nullptr

The resource that will be used as an attachment.

◆ storeOp

GPUAttachmentStoreOp CeresEngine::RenderTaskResourceUsage::AttachmentResourceInfo::storeOp = GPUAttachmentStoreOp::Store

The attachment store operation to be used for the render pass.


The documentation for this struct was generated from the following file: