|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::span< const uint8_t > MayaFlux::Kakshya::TextureContainer::pixel_bytes | ( | uint32_t | layer = 0 | ) | const |
Read-only byte-level view over the pixel buffer.
The returned span covers the raw byte footprint of the layer, regardless of the underlying variant type. For uint8 formats this is the natural view; for uint16 and float formats the caller can reinterpret_cast for typed access, or prefer the as_uint16 / as_float accessors below.
| layer | Array layer index for array textures (default 0). |
Definition at line 301 of file TextureContainer.cpp.
Referenced by MayaFlux::Portal::Text::rasterize_quads().
Here is the caller graph for this function: