|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Kakshya::TextureContainer::TextureContainer | ( | uint32_t | width, |
| uint32_t | height, | ||
| Portal::Graphics::ImageFormat | format, | ||
| uint32_t | layers = 1 |
||
| ) |
Construct an empty container with declared dimensions.
| width | Texture width in pixels. |
| height | Texture height in pixels. |
| format | Pixel format; determines bytes per pixel. |
| layers | Number of array layers (default 1). set when using with array textures. |
Allocates a zeroed pixel buffer. No GPU resource is created.