Expand description
Full re-export of zenpixels core types (zero module name collisions!).
Custom sample and pixel types (F16Sample and gray+alpha formats).
These types are #[repr(transparent)] or #[repr(C)] and derive
Pod/Zeroable for sound, zero-cost byte/word reinterpretation via
bytemuck under #![forbid(unsafe_code)].
Structsยง
- F16Sample
- IEEE 754
binary16(half-precision float) interchange sample. - Gray
Alpha8 - Grayscale + alpha, 8-bit.
- Gray
Alpha16 - Grayscale + alpha, 16-bit.
- Gray
Alpha F16 - Grayscale + alpha, f16.
- Gray
Alpha F32 - Grayscale + alpha, f32.