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