Skip to main content

Layer

The Layer struct defines a layer in a texture array, where base specifies the starting index of the layer, and size represents the number of layers. Layers allow the storage of multiple images in a single texture, typically used for 2D and Cube array textures.

#include <TellusimTypes.h>

Constructors

Layer()
explicit Layer(uint32_t base)
Layer(uint32_t base, uint32_t size)

Variables

TypeNameValue
uint32_tbase0
uint32_tsize1