Enum ark_api_ffi::render_v1::MeshComponentFormat
source · [−]#[repr(u32)]
pub enum MeshComponentFormat {
Float16,
Float32,
UInt8,
SInt8,
UInt16,
SInt16,
UInt32,
SInt32,
}Expand description
Mesh component format for a stream
Variants
Float16
16-bit floating point
Float32
32-bit floating point
UInt8
8-bit unsigned integer
SInt8
8-bit signed integer
UInt16
16-bit unsigned integer
SInt16
16-bit signed integer
UInt32
32-bit unsigned integer
SInt32
32-bit signed integer
Trait Implementations
sourceimpl CheckedBitPattern for MeshComponentFormat
impl CheckedBitPattern for MeshComponentFormat
type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.
sourceimpl Clone for MeshComponentFormat
impl Clone for MeshComponentFormat
sourcefn clone(&self) -> MeshComponentFormat
fn clone(&self) -> MeshComponentFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MeshComponentFormat
impl Debug for MeshComponentFormat
sourceimpl Hash for MeshComponentFormat
impl Hash for MeshComponentFormat
impl Copy for MeshComponentFormat
impl Eq for MeshComponentFormat
impl NoUninit for MeshComponentFormat
impl StructuralEq for MeshComponentFormat
impl StructuralPartialEq for MeshComponentFormat
Auto Trait Implementations
impl RefUnwindSafe for MeshComponentFormat
impl Send for MeshComponentFormat
impl Sync for MeshComponentFormat
impl Unpin for MeshComponentFormat
impl UnwindSafe for MeshComponentFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more