|
Cogs.Core
|
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. | |
Describes the formats and sample count of a render target's attachments.
Definition at line 61 of file IRenderTargets.h.
| TextureFormat Cogs::RenderTargetLayout::colorFormats[8] = {} |
Formats of the color targets, only the first numColorTargets entries are valid.
Definition at line 64 of file IRenderTargets.h.
Referenced by Cogs::RenderTargetsD3D11::getLayout(), Cogs::RenderTargetsD3D12::getLayout(), Cogs::RenderTargetsGL20::getLayout(), Cogs::RenderTargetsGLES30::getLayout(), Cogs::RenderTargetsVK::getLayout(), and Cogs::RenderTargetsWebGPU::getLayout().
| TextureFormat Cogs::RenderTargetLayout::depthStencilFormat = TextureFormat::Unknown |
Format of the depth stencil target, TextureFormat::Unknown if there is none.
Definition at line 66 of file IRenderTargets.h.
Referenced by Cogs::RenderTargetsD3D11::getLayout(), Cogs::RenderTargetsD3D12::getLayout(), Cogs::RenderTargetsGL20::getLayout(), Cogs::RenderTargetsGLES30::getLayout(), Cogs::RenderTargetsVK::getLayout(), and Cogs::RenderTargetsWebGPU::getLayout().
| uint8_t Cogs::RenderTargetLayout::numColorTargets = 0 |
Number of valid entries in colorFormats.
Definition at line 68 of file IRenderTargets.h.
Referenced by Cogs::RenderTargetsD3D11::getLayout(), Cogs::RenderTargetsD3D12::getLayout(), Cogs::RenderTargetsGL20::getLayout(), Cogs::RenderTargetsGLES30::getLayout(), Cogs::RenderTargetsVK::getLayout(), and Cogs::RenderTargetsWebGPU::getLayout().
| uint8_t Cogs::RenderTargetLayout::samples = 1 |
Number of samples, 1 implies no multisampling.
Definition at line 70 of file IRenderTargets.h.
Referenced by Cogs::RenderTargetsD3D11::getLayout(), Cogs::RenderTargetsD3D12::getLayout(), Cogs::RenderTargetsGL20::getLayout(), Cogs::RenderTargetsGLES30::getLayout(), Cogs::RenderTargetsVK::getLayout(), and Cogs::RenderTargetsWebGPU::getLayout().