Mipmap
The Mipmap struct represents a level of a mipmap chain. It has two members: base, indicating the base level of the mipmap, and size, which defines the number of mipmap levels. Mipmaps are precomputed textures at various levels of detail used in 3D rendering to improve performance and visual quality.
#include <TellusimTypes.h>
Constructors
Mipmap()
explicit Mipmap(uint32_t base)
Mipmap(uint32_t base, uint32_t size)
Variables
Type | Name | Value |
---|---|---|
uint32_t | base | 0 |
uint32_t | size | 1 |