Module image_texel::layout
source · [−]Expand description
A module for different pixel layouts.
The *Layout
traits define generic standard layouts with a normal form. Other traits provide
operations to convert between layouts, operations on the underlying image bytes, etc.
Structs
Error that occurs when a StrideSpec
is invalid.
A byte layout that only describes the user bytes.
A matrix of packed texels (channel groups).
A matrix of packed texels (channel groups).
An error indicating that mending failed due to mismatching pixel attributes.
A simple layout describing some pixels as a byte matrix.
A validated layout of a rectangular matrix of pixels, treated as bytes.
A validated layout of a rectangular matrix of texels.
Describes the byte layout of an texture element, untyped.
Traits
Convert one layout to a less strict one.
A descriptor of the layout of image bytes.
A layout that’s a matrix of elements.
Convert a layout to a stricter one.
A layout of individually addressable raster elements.
A raster layout where one can change pixel values independently.
A layout that is a slice of samples.
A layout that is a strided matrix of elements.
A layout that can be emptied.
Try to convert a layout to a stricter one.