pub struct SamplerCreator(/* private fields */);Implementations§
Source§impl SamplerCreator
impl SamplerCreator
pub fn new() -> Self
pub fn mag_filter(self, mag_filter: Filter) -> Self
pub fn min_filter(self, min_filter: Filter) -> Self
pub fn mipmap_mode(self, mipmap_mode: SamplerMipmapMode) -> Self
pub fn address_mode_uvw(self, address_mode: SamplerAddressMode) -> Self
pub unsafe fn create( self, device: &Device, ) -> Result<(Sampler, SamplerCreateInfo)>
Trait Implementations§
Source§impl Clone for SamplerCreator
impl Clone for SamplerCreator
Source§fn clone(&self) -> SamplerCreator
fn clone(&self) -> SamplerCreator
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 SamplerCreator
impl Debug for SamplerCreator
Source§impl Default for SamplerCreator
impl Default for SamplerCreator
impl Copy for SamplerCreator
Auto Trait Implementations§
impl Freeze for SamplerCreator
impl RefUnwindSafe for SamplerCreator
impl !Send for SamplerCreator
impl !Sync for SamplerCreator
impl Unpin for SamplerCreator
impl UnwindSafe for SamplerCreator
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