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 Copy for TextureFormat
impl Clone for TextureFormat
[src]
impl Clone for TextureFormat
fn clone(&self) -> TextureFormat
[src]
fn clone(&self) -> TextureFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TextureFormat
[src]
impl Debug for TextureFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TextureFormat
[src]
impl PartialEq for TextureFormat
Auto Trait Implementations
impl Send for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Sync for TextureFormat