Struct ash::vk::VertexInputBindingDescriptionBuilder
source · #[repr(transparent)]pub struct VertexInputBindingDescriptionBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VertexInputBindingDescriptionBuilder<'a>
impl<'a> VertexInputBindingDescriptionBuilder<'a>
pub fn binding(self, binding: u32) -> Self
pub fn stride(self, stride: u32) -> Self
pub fn input_rate(self, input_rate: VertexInputRate) -> Self
sourcepub fn build(self) -> VertexInputBindingDescription
pub fn build(self) -> VertexInputBindingDescription
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.