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

#include <CeresEngine/RenderAPI/GPURenderTarget.hpp>

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

GPURenderPassPtr renderPass = nullptr
 Optional render pass object that will be used with the render target.
 
TExtent2< UInt32resolution
 Specifies the resolution of the render targets.
 
SmallVector< GPUAttachmentDescriptor, 8 > attachments
 Specifies all render target attachment descriptors.
 
String name
 A user-facing name for the render target.
 

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPURenderTargetDescriptor::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ attachments

SmallVector<GPUAttachmentDescriptor, 8> CeresEngine::GPURenderTargetDescriptor::attachments

Specifies all render target attachment descriptors.

◆ name

String CeresEngine::GPURenderTargetDescriptor::name

A user-facing name for the render target.

This is only used for debugging.

◆ renderPass

GPURenderPassPtr CeresEngine::GPURenderTargetDescriptor::renderPass = nullptr

Optional render pass object that will be used with the render target.

By default null.

◆ resolution

TExtent2<UInt32> CeresEngine::GPURenderTargetDescriptor::resolution

Specifies the resolution of the render targets.


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