|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Describes a TextureCollection so it can be built by designated initializer. More...
#include <TextureCollection.hpp>
Collaboration diagram for MayaFlux::Kakshya::TextureCollectionSpec:Public Attributes | |
| ImageFormat | format { ImageFormat::RGBA8 } |
| uint32_t | height {} |
| uint64_t | max_bytes { 512ULL << 20 } |
| uint32_t | ring_layers {} |
| uint32_t | width {} |
Describes a TextureCollection so it can be built by designated initializer.
Sizes and format are those of every layer. max_bytes caps the GPU memory the layers may take, 512 MiB by default; 0 removes the cap. A ring size above zero enables circular mode, where the collection keeps only the most recent layers and max_bytes does not apply.
Definition at line 17 of file TextureCollection.hpp.