Skip to main content

Module pixel_types

Module pixel_types 

Source
Expand description

Custom pixel types for gray+alpha formats.

These types are #[repr(C)] and derive Pod/Zeroable for zero-cost byte reinterpretation via bytemuck.

Structsยง

GrayAlpha8
Grayscale + alpha, 8-bit.
GrayAlpha16
Grayscale + alpha, 16-bit.
GrayAlphaF32
Grayscale + alpha, f32.