Cogs.Rendering
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::RenderTargetViewDescription Struct Reference

Describes a single render target view and which resources to use from the underlying texture. More...

#include <IRenderTargets.h>

Public Attributes

TextureHandle texture
 Texture handle.
 
uint16_t layerIndex
 Index of the first layer (if array) to render to.
 
uint16_t numLayers
 Number of available layers to render to.
 
uint8_t levelIndex
 Index of the mipmap level to render to.
 

Detailed Description

Describes a single render target view and which resources to use from the underlying texture.

Member Data Documentation

◆ layerIndex

uint16_t Cogs::RenderTargetViewDescription::layerIndex

Index of the first layer (if array) to render to.

Referenced by Cogs::IRenderTargets::createRenderTarget().

◆ levelIndex

uint8_t Cogs::RenderTargetViewDescription::levelIndex

Index of the mipmap level to render to.

Referenced by Cogs::IRenderTargets::createRenderTarget().

◆ numLayers

uint16_t Cogs::RenderTargetViewDescription::numLayers

Number of available layers to render to.

Referenced by Cogs::IRenderTargets::createRenderTarget().

◆ texture

TextureHandle Cogs::RenderTargetViewDescription::texture

Texture handle.

Referenced by Cogs::IRenderTargets::createRenderTarget().


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