rendy_texture

Module pixel

Source
Expand description

Typed pixel formats. More information on these can be found here

Structs§

  • Alpha-blue-green-red channels.
  • Blue-green-red channels.
  • Blue-green-red-alpha channels.
  • Floating point representation.
  • Normalized signed integer representation
  • Signed integer representation
  • Signed scaled integer representation
  • One pixel
  • Red channel.
  • Red-green channels.
  • Red-green-blue channels.
  • Red-green-blue-alpha channels.
  • Unorm but in with srgb gammar correction.
  • Unsigned integer representation
  • Normalized unsigned integer representation
  • Unsigned scaled integer representation
  • 8 bits marker type
  • 16 bits marker type
  • 32 bits marker type
  • 64 bits marker type

Traits§

  • AsPixel trait for extracting the underlying data representation information from a Rust data type
  • Channel representation as a Rust type
  • Byte size of each channel in the image, such as Red, Green, or other channels depending on the format.
  • Pixel representation as a Rust type

Type Aliases§