Debian Codegraph @

src/extensions/ext/vertex_input_dynamic_state.rs

raw symbols SCIP
1 //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_vertex_input_dynamic_state.html>
2
3 use crate::vk;
4
5 impl crate::ext::vertex_input_dynamic_state::Device {
6 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetVertexInputEXT.html>
7 #[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 }