|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kakshya::write_normalized_at | ( | DataVariant & | v, |
| Portal::Graphics::ImageFormat | format, | ||
| size_t | elem_index, | ||
| double | value | ||
| ) |
Write one element from a normalised double.
Inverse of read_normalized_at, with clamping on the integer paths. Out-of-range indices are ignored.
| v | Destination variant. |
| format | Pixel format governing the uint16 interpretation. |
| elem_index | Element index. |
| value | Normalised value. |