Struct colstodian::spaces::EncodedAcesCgSrgb[][src]

pub struct EncodedAcesCgSrgb;
Expand description

A type representing the ACEScg color space encoded with the sRGB transfer functions.

This is useful to take advantage of many GPUs’ hardware support for encoding and decoding using the sRGB transfer functions. Using the sRGB transfer functions to encode ACEScg data is useful when trying to use 8-bit texture formats. The OETF “compresses” the data to give better bit distribution based on human color perception.

Trait Implementations

The DynamicColorSpace that this type represents.

The closest linear color space to this space.

The ‘bag of components’ that this color space uses.

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.