pub enum TargetFormat {
Show 20 variants
Rgba32Float,
Rgba16Float,
Rgba16Unorm,
Rg32Float,
Rg16Float,
R32Float,
R32Uint,
R16Float,
R16Unorm,
Rgb10A2Unorm,
Rg11B10Float,
Rgba8Unorm,
Rgba8UnormSrgb,
Rg8Unorm,
R8Unorm,
R8Uint,
Depth32Stencil8,
Depth32,
Depth24Stencil8,
Depth16,
}Expand description
How a target stores a texel.
Variants§
Rgba32Float
Rgba16Float
Rgba16Unorm
Rg32Float
Rg16Float
R32Float
R32Uint
R16Float
R16Unorm
Rgb10A2Unorm
Rg11B10Float
Rgba8Unorm
Rgba8UnormSrgb
Rg8Unorm
R8Unorm
R8Uint
One unsigned 8-bit integer.
Depth32Stencil8
Depth as a 32-bit float with an 8-bit stencil.
Depth32
Depth as a 32-bit float.
Depth24Stencil8
Depth as 24-bit unorm with an 8-bit stencil.
Depth16
Depth as 16-bit unorm (a shadow map).
Implementations§
Trait Implementations§
Source§impl Clone for TargetFormat
impl Clone for TargetFormat
impl Copy for TargetFormat
Source§impl Debug for TargetFormat
impl Debug for TargetFormat
impl Eq for TargetFormat
Source§impl PartialEq for TargetFormat
impl PartialEq for TargetFormat
Source§impl Serialize for TargetFormat
impl Serialize for TargetFormat
impl StructuralPartialEq for TargetFormat
Auto Trait Implementations§
impl Forget for TargetFormat
impl Freeze for TargetFormat
impl RefUnwindSafe for TargetFormat
impl Send for TargetFormat
impl Sync for TargetFormat
impl Unpin for TargetFormat
impl UnsafeUnpin for TargetFormat
impl UnwindSafe for TargetFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.