#[non_exhaustive]#[repr(u8)]pub enum Source {
PrimaryColor = 0,
FragmentPrimaryColor = 1,
FragmentSecondaryColor = 2,
Texture0 = 3,
Texture1 = 4,
Texture2 = 5,
Texture3 = 6,
PreviousBuffer = 13,
Constant = 14,
Previous = 15,
}
Expand description
A source operand of a TexEnv
’s texture combination.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PrimaryColor = 0
FragmentPrimaryColor = 1
FragmentSecondaryColor = 2
Texture0 = 3
Texture1 = 4
Texture2 = 5
Texture3 = 6
PreviousBuffer = 13
Constant = 14
Previous = 15
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more