ash/extensions/ext/
vertex_input_dynamic_state.rs1use crate::vk;
4
5impl crate::ext::vertex_input_dynamic_state::Device {
6 #[inline]
8 pub unsafe fn cmd_set_vertex_input(
9 &self,
10 command_buffer: vk::CommandBuffer,
11 vertex_binding_descriptions: &[vk::VertexInputBindingDescription2EXT<'_>],
12 vertex_attribute_descriptions: &[vk::VertexInputAttributeDescription2EXT<'_>],
13 ) {
14 (self.fp.cmd_set_vertex_input_ext)(
15 command_buffer,
16 vertex_binding_descriptions.len() as u32,
17 vertex_binding_descriptions.as_ptr(),
18 vertex_attribute_descriptions.len() as u32,
19 vertex_attribute_descriptions.as_ptr(),
20 )
21 }
22}