pub struct SamplerState {
pub filter: TextureFilter,
pub wrap_u: TextureWrap,
pub wrap_v: TextureWrap,
pub max_anisotropy: u8,
pub mipmapped: bool,
}Expand description
Texture sampler configuration.
Fields§
§filter: TextureFilter§wrap_u: TextureWrap§wrap_v: TextureWrap§max_anisotropy: u8§mipmapped: boolTrait Implementations§
Source§impl Clone for SamplerState
impl Clone for SamplerState
impl Copy for SamplerState
Source§impl Debug for SamplerState
impl Debug for SamplerState
Source§impl Default for SamplerState
impl Default for SamplerState
impl Eq for SamplerState
Source§impl PartialEq for SamplerState
impl PartialEq for SamplerState
impl StructuralPartialEq for SamplerState
Auto Trait Implementations§
impl Forget for SamplerState
impl Freeze for SamplerState
impl Move for SamplerState
impl RefUnwindSafe for SamplerState
impl Send for SamplerState
impl Sync for SamplerState
impl Unpin for SamplerState
impl UnsafeUnpin for SamplerState
impl UnwindSafe for SamplerState
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