pub struct Sampler<'a> { /* private fields */ }Implementations§
Source§impl<'a> Sampler<'a>
impl<'a> Sampler<'a>
pub fn index(&self) -> &str
pub fn name(&self) -> Option<&'a str>
pub fn wrap_s(&self) -> SamplerWrap
pub fn wrap_t(&self) -> SamplerWrap
pub fn mag_filter(&self) -> SamplerMagFilter
pub fn min_filter(&self) -> SamplerMinFilter
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Sampler<'a>
impl<'a> RefUnwindSafe for Sampler<'a>
impl<'a> Send for Sampler<'a>
impl<'a> Sync for Sampler<'a>
impl<'a> Unpin for Sampler<'a>
impl<'a> UnwindSafe for Sampler<'a>
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