MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ TextureContainer() [1/4]

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.

Parameters
widthTexture width in pixels.
heightTexture height in pixels.
formatPixel format; determines bytes per pixel.
layersNumber of array layers (default 1). set when using with array textures.

Allocates a zeroed pixel buffer. No GPU resource is created.