Struct ash::vk::VertexInputAttributeDescriptionBuilder  
source · #[repr(transparent)]pub struct VertexInputAttributeDescriptionBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> VertexInputAttributeDescriptionBuilder<'a>
 
impl<'a> VertexInputAttributeDescriptionBuilder<'a>
pub fn location(self, location: u32) -> Self
pub fn binding(self, binding: u32) -> Self
pub fn format(self, format: Format) -> Self
pub fn offset(self, offset: u32) -> Self
sourcepub fn build(self) -> VertexInputAttributeDescription
 
pub fn build(self) -> VertexInputAttributeDescription
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.