|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| std::span< const float > MayaFlux::Kakshya::TextureContainer::as_normalised_float | ( | uint32_t | layer = 0 | ) | const |
Layer pixel data as a normalised float span.
uint8_t source is divided by 255.0f. uint16_t by 65535.0f. float source is zero-copy into the variant's own storage. Returns empty span if layer is out of range or the variant holds a non-pixel type.
Result is cached per layer and reused until set_pixels() or from_image() invalidates it for that layer.
| layer | Array layer index. Defaults to 0. |
Definition at line 641 of file TextureContainer.cpp.
References MayaFlux::store().
Here is the call graph for this function: