pub enum TextureFormat {
Show 13 variants
Unknown,
VecBGRAu8_32 {
width: usize,
height: usize,
data: Option<Vec<u32>>,
updated: TextureUpdated,
},
VecMipBGRAu8_32 {
width: usize,
height: usize,
data: Option<Vec<u32>>,
max_level: Option<usize>,
updated: TextureUpdated,
},
VecRGBAf32 {
width: usize,
height: usize,
data: Option<Vec<f32>>,
updated: TextureUpdated,
},
VecRu8 {
width: usize,
height: usize,
data: Option<Vec<u8>>,
unpack_row_length: Option<usize>,
updated: TextureUpdated,
},
VecRGu8 {
width: usize,
height: usize,
data: Option<Vec<u8>>,
unpack_row_length: Option<usize>,
updated: TextureUpdated,
},
VecRf32 {
width: usize,
height: usize,
data: Option<Vec<f32>>,
updated: TextureUpdated,
},
DepthD32 {
size: TextureSize,
initial: bool,
},
RenderBGRAu8 {
size: TextureSize,
initial: bool,
},
RenderRGBAf16 {
size: TextureSize,
initial: bool,
},
RenderRGBAf32 {
size: TextureSize,
initial: bool,
},
SharedBGRAu8 {
width: usize,
height: usize,
id: PresentableImageId,
initial: bool,
},
VideoRGB,
}Variants§
Unknown
VecBGRAu8_32
VecMipBGRAu8_32
Fields
§
updated: TextureUpdatedVecRGBAf32
VecRu8
Fields
§
updated: TextureUpdatedVecRGu8
Fields
§
updated: TextureUpdatedVecRf32
DepthD32
RenderBGRAu8
RenderRGBAf16
RenderRGBAf32
VideoRGB
Implementations§
Trait Implementations§
Source§impl Clone for TextureFormat
impl Clone for TextureFormat
Source§fn clone(&self) -> TextureFormat
fn clone(&self) -> TextureFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureFormat
impl Debug for TextureFormat
Source§impl Default for TextureFormat
impl Default for TextureFormat
Source§fn default() -> TextureFormat
fn default() -> TextureFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextureFormat
impl RefUnwindSafe for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Unpin for TextureFormat
impl UnwindSafe for TextureFormat
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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