pub enum Normalized {
Yes,
No,
}Expand description
Whether an integral vertex type should be normalized when fetched from a shader program.
The default implementation is not to normalize anything. You have to explicitly ask for normalized integers (that will, then, be accessed as floating vertex attributes).
Variants§
Yes
Normalize integral values and expose them as floating-point values.
No
Do not perform any normalization and hence leave integral values as-is.
Trait Implementations§
Source§impl Clone for Normalized
impl Clone for Normalized
Source§fn clone(&self) -> Normalized
fn clone(&self) -> Normalized
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 Normalized
impl Debug for Normalized
Source§impl Hash for Normalized
impl Hash for Normalized
Source§impl PartialEq for Normalized
impl PartialEq for Normalized
impl Copy for Normalized
impl Eq for Normalized
impl StructuralPartialEq for Normalized
Auto Trait Implementations§
impl Freeze for Normalized
impl RefUnwindSafe for Normalized
impl Send for Normalized
impl Sync for Normalized
impl Unpin for Normalized
impl UnwindSafe for Normalized
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