pub enum TextureParameter {
MagFilter(TextureMagFilter),
MinFilter(TextureMinFilter),
WrapS(TextureWrap),
WrapT(TextureWrap),
WrapR(TextureWrap),
}
Expand description
Texture parameter.
This enum describes all the parameters that can be applied to a WebGL2 texture.
Variants§
MagFilter(TextureMagFilter)
Magnification filter.
MinFilter(TextureMinFilter)
Minification filter.
WrapS(TextureWrap)
Wrap-S.
WrapT(TextureWrap)
Wrap-T.
WrapR(TextureWrap)
Wrap-R.
Trait Implementations§
Source§impl Clone for TextureParameter
impl Clone for TextureParameter
Source§fn clone(&self) -> TextureParameter
fn clone(&self) -> TextureParameter
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 TextureParameter
impl Debug for TextureParameter
Source§impl Hash for TextureParameter
impl Hash for TextureParameter
Source§impl PartialEq for TextureParameter
impl PartialEq for TextureParameter
impl Copy for TextureParameter
impl Eq for TextureParameter
impl StructuralPartialEq for TextureParameter
Auto Trait Implementations§
impl Freeze for TextureParameter
impl RefUnwindSafe for TextureParameter
impl Send for TextureParameter
impl Sync for TextureParameter
impl Unpin for TextureParameter
impl UnwindSafe for TextureParameter
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