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
U8
U16
U8U8
U16U16
U10U10U10
U12U12U12
U16U16U16
U2U2U2U2
U4U4U4U4
U5U5U5U1
U8U8U8U8
U10U10U10U2
U12U12U12U12
U16U16U16U16
I16I16I16I16
F16
F16F16
F16F16F16F16
F32
F32F32
F32F32F32F32
F11F11F10
Trait Implementations
impl Copy for TextureFormat
[src]
impl Clone for TextureFormat
[src]
fn clone(&self) -> TextureFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more