#[repr(u32)]pub enum ResourceFormat {
Show 14 variants
RgbaU8 = 1_919_378_017,
BgraU8 = 1_650_946_657,
RgbU16 = 825_649_516,
RgbaU16 = 825_647_468,
BgraU16 = 825_650_273,
RgbU16Planar = 825_651_308,
RgbF32 = 1_714_631_283,
RgbaF32 = 1_714_631_276,
BgraF32 = 1_714_631_265,
RgbF32Planar = 1_714_631_280,
RgbF16 = 1_714_501_235,
RgbaF16 = 1_714_501_228,
BgraF16 = 1_714_501_217,
RgbF16Planar = 1_714_501_232,
}Expand description
Output pixel format. Values are the SDK’s FourCC tags (manual p.22).
Variants§
RgbaU8 = 1_919_378_017
BgraU8 = 1_650_946_657
RgbU16 = 825_649_516
RgbaU16 = 825_647_468
BgraU16 = 825_650_273
RgbU16Planar = 825_651_308
RgbF32 = 1_714_631_283
RgbaF32 = 1_714_631_276
BgraF32 = 1_714_631_265
RgbF32Planar = 1_714_631_280
RgbF16 = 1_714_501_235
RgbaF16 = 1_714_501_228
BgraF16 = 1_714_501_217
RgbF16Planar = 1_714_501_232
Trait Implementations§
Source§impl Clone for ResourceFormat
impl Clone for ResourceFormat
Source§fn clone(&self) -> ResourceFormat
fn clone(&self) -> ResourceFormat
Returns a duplicate 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 ResourceFormat
impl Debug for ResourceFormat
Source§impl PartialEq for ResourceFormat
impl PartialEq for ResourceFormat
impl Copy for ResourceFormat
impl Eq for ResourceFormat
impl StructuralPartialEq for ResourceFormat
Auto Trait Implementations§
impl Freeze for ResourceFormat
impl RefUnwindSafe for ResourceFormat
impl Send for ResourceFormat
impl Sync for ResourceFormat
impl Unpin for ResourceFormat
impl UnsafeUnpin for ResourceFormat
impl UnwindSafe for ResourceFormat
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