CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RenderGraph2::RenderGraphImageDescriptor Struct Referencefinal

A structure that describes how an Image Resource should be created during Render Graph execution. More...

#include <CeresEngine/Renderer/RenderGraph2/RenderGraphImage.hpp>

Public Attributes

GPUImageType type = GPUImageType::Image2D
 \copudoc GPUImageDescriptor::type
 
GPUImageUsage usage = GPUImageUsageFlags::Sample | GPUImageUsageFlags::Attachment
 \copudoc GPUImageDescriptor::usage
 
Format format = Format::Undefined
 \copudoc GPUImageDescriptor::format
 
RenderGraphImageSizeClass sizeClass = RenderGraphImageSizeClass::SwapChainRelative
 Determines how the extent variable should be interpreted.
 
Extent3 extent = {1, 1, 1}
 \copudoc GPUImageDescriptor::extent
 
UInt32 arrayLayers = 1
 \copudoc GPUImageDescriptor::arrayLayers
 
UInt32 mipLevels = 1
 \copudoc GPUImageDescriptor::mipLevels
 
UInt32 samples = 1
 \copudoc GPUImageDescriptor::samples
 
bool persistent = false
 Determines if the render graph resource is persistent.
 

Detailed Description

A structure that describes how an Image Resource should be created during Render Graph execution.

Member Data Documentation

◆ arrayLayers

UInt32 CeresEngine::RenderGraph2::RenderGraphImageDescriptor::arrayLayers = 1

◆ extent

Extent3 CeresEngine::RenderGraph2::RenderGraphImageDescriptor::extent = {1, 1, 1}

◆ format

Format CeresEngine::RenderGraph2::RenderGraphImageDescriptor::format = Format::Undefined

◆ mipLevels

UInt32 CeresEngine::RenderGraph2::RenderGraphImageDescriptor::mipLevels = 1

◆ persistent

bool CeresEngine::RenderGraph2::RenderGraphImageDescriptor::persistent = false

Determines if the render graph resource is persistent.

If true, the resource instance and data should remain available between runs of the render graph execution.

◆ samples

UInt32 CeresEngine::RenderGraph2::RenderGraphImageDescriptor::samples = 1

◆ sizeClass

RenderGraphImageSizeClass CeresEngine::RenderGraph2::RenderGraphImageDescriptor::sizeClass = RenderGraphImageSizeClass::SwapChainRelative

Determines how the extent variable should be interpreted.

◆ type

GPUImageType CeresEngine::RenderGraph2::RenderGraphImageDescriptor::type = GPUImageType::Image2D

◆ usage

GPUImageUsage CeresEngine::RenderGraph2::RenderGraphImageDescriptor::usage = GPUImageUsageFlags::Sample | GPUImageUsageFlags::Attachment

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