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
Type | Name | Value |
---|---|---|
uint32_t | base | 0 |
uint32_t | size | 1 |