Struct ash::vk::ComponentMappingBuilder
source · #[repr(transparent)]pub struct ComponentMappingBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ComponentMappingBuilder<'a>
impl<'a> ComponentMappingBuilder<'a>
pub fn r(self, r: ComponentSwizzle) -> Self
pub fn g(self, g: ComponentSwizzle) -> Self
pub fn b(self, b: ComponentSwizzle) -> Self
pub fn a(self, a: ComponentSwizzle) -> Self
sourcepub fn build(self) -> ComponentMapping
pub fn build(self) -> ComponentMapping
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.