Cogs.Core
Public Attributes | List of all members
Cogs::RenderTargetLayout Struct Reference

Describes the formats and sample count of a render target's attachments. More...

#include <IRenderTargets.h>

Public Attributes

TextureFormat colorFormats [8] = {}
 Formats of the color targets, only the first numColorTargets entries are valid.
 
TextureFormat depthStencilFormat = TextureFormat::Unknown
 Format of the depth stencil target, TextureFormat::Unknown if there is none.
 
uint8_t numColorTargets = 0
 Number of valid entries in colorFormats.
 
uint8_t samples = 1
 Number of samples, 1 implies no multisampling.
 

Detailed Description

Describes the formats and sample count of a render target's attachments.

Definition at line 61 of file IRenderTargets.h.

Member Data Documentation

◆ colorFormats

TextureFormat Cogs::RenderTargetLayout::colorFormats[8] = {}

◆ depthStencilFormat

TextureFormat Cogs::RenderTargetLayout::depthStencilFormat = TextureFormat::Unknown

◆ numColorTargets

uint8_t Cogs::RenderTargetLayout::numColorTargets = 0

◆ samples

uint8_t Cogs::RenderTargetLayout::samples = 1

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