|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::span< const uint16_t > MayaFlux::Kakshya::TextureContainer::as_uint16 | ( | uint32_t | layer = 0 | ) | const |
Typed view over the uint16 variant.
Returns an empty span if the layer's variant is not uint16. 16-bit UNORM formats and half-float formats both reside here; for half-float, the uint16 bits are the IEEE-754 binary16 encoding.
Definition at line 536 of file TextureContainer.cpp.
References ensure_cpu(), and m_data.
Here is the call graph for this function: