Enum radiant_rs::TextureFormat[][src]

pub enum TextureFormat {
    U8,
    U16,
    U8U8,
    U16U16,
    U10U10U10,
    U12U12U12,
    U16U16U16,
    U2U2U2U2,
    U4U4U4U4,
    U5U5U5U1,
    U8U8U8U8,
    U10U10U10U2,
    U12U12U12U12,
    U16U16U16U16,
    I16I16I16I16,
    F16,
    F16F16,
    F16F16F16F16,
    F32,
    F32F32,
    F32F32F32F32,
    F11F11F10,
}

Internal texture format. Note that the shader will always see a floating point representation. U[n]* will have their minimum value mapped to 0.0 and their maximum to 1.0.

Variants

Trait Implementations

impl Copy for TextureFormat
[src]

impl Clone for TextureFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextureFormat
[src]

Formats the value using the given formatter. Read more

impl PartialEq for TextureFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations