Module luminance::pixel [] [src]

Pixel formats types and function manipulation.

The Pixel trait is used to reify a pixel type at runtime via PixelFormat.

Structs

Depth32F

A depth 32-bit floating pixel format.

PixelFormat

A PixelFormat gathers a Type along with a Format.

RGB32F

A red, green and blue 32-bit floating pixel format.

RGB8UI

A red, green and blue 8-bit unsigned pixel format.

RGBA32F

A red, green, blue and alpha 32-bit floating pixel format.

RGBA8UI

A red, green, blue and alpha 8-bit unsigned pixel format.

Enums

Format

Format of a pixel.

Type

Pixel type.

Traits

ColorPixel

Constraint on Pixel for color ones.

DepthPixel

Constraint on Pixel for depth ones.

Pixel

Reify a static pixel format to runtime.

Functions

is_color_pixel

Does a PixelFormat represent a color?

is_depth_pixel

Does a PixelFormat represent depth information?