Struct ash::vk::CoarseSampleLocationNVBuilder
source · pub struct CoarseSampleLocationNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CoarseSampleLocationNVBuilder<'a>
impl<'a> CoarseSampleLocationNVBuilder<'a>
pub fn pixel_x(self, pixel_x: u32) -> Self
pub fn pixel_y(self, pixel_y: u32) -> Self
pub fn sample(self, sample: u32) -> Self
sourcepub fn build(self) -> CoarseSampleLocationNV
pub fn build(self) -> CoarseSampleLocationNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for CoarseSampleLocationNVBuilder<'a>
impl<'a> Deref for CoarseSampleLocationNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CoarseSampleLocationNVBuilder<'a>
impl<'a> RefUnwindSafe for CoarseSampleLocationNVBuilder<'a>
impl<'a> Send for CoarseSampleLocationNVBuilder<'a>
impl<'a> Sync for CoarseSampleLocationNVBuilder<'a>
impl<'a> Unpin for CoarseSampleLocationNVBuilder<'a>
impl<'a> UnwindSafe for CoarseSampleLocationNVBuilder<'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