jay_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 unsafe {
15 (self.fp.cmd_set_vertex_input_ext)(
16 command_buffer,
17 vertex_binding_descriptions.len() as u32,
18 vertex_binding_descriptions.as_ptr(),
19 vertex_attribute_descriptions.len() as u32,
20 vertex_attribute_descriptions.as_ptr(),
21 )
22 }
23 }
24}