Struct ash::vk::ViewportSwizzleNVBuilder
source · #[repr(transparent)]pub struct ViewportSwizzleNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ViewportSwizzleNVBuilder<'a>
impl<'a> ViewportSwizzleNVBuilder<'a>
pub fn x(self, x: ViewportCoordinateSwizzleNV) -> Self
pub fn y(self, y: ViewportCoordinateSwizzleNV) -> Self
pub fn z(self, z: ViewportCoordinateSwizzleNV) -> Self
pub fn w(self, w: ViewportCoordinateSwizzleNV) -> Self
sourcepub fn build(self) -> ViewportSwizzleNV
pub fn build(self) -> ViewportSwizzleNV
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.