pub enum TextureScalingMode {
NEAREST = 9_728,
LINEAR = 9_729,
NEAREST_MIPMAP_NEAREST = 9_984,
LINEAR_MIPMAP_NEAREST = 9_985,
NEAREST_MIPMAP_LINEAR = 9_986,
LINEAR_MIPMAP_LINEAR = 9_987,
}Expand description
The texture scaling mode used by CGL These are reflections of OpenGL’s enum values You can also use the _i version of methods to pass integers directly instead of enums
Variants§
NEAREST = 9_728
LINEAR = 9_729
NEAREST_MIPMAP_NEAREST = 9_984
LINEAR_MIPMAP_NEAREST = 9_985
NEAREST_MIPMAP_LINEAR = 9_986
LINEAR_MIPMAP_LINEAR = 9_987
Auto Trait Implementations§
impl Freeze for TextureScalingMode
impl RefUnwindSafe for TextureScalingMode
impl Send for TextureScalingMode
impl Sync for TextureScalingMode
impl Unpin for TextureScalingMode
impl UnwindSafe for TextureScalingMode
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