diff --git a/ash/Cargo.toml b/ash/Cargo.toml index c886013..45f5b2b 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -11,7 +11,6 @@ documentation = "https://docs.rs/ash" [dependencies] shared_library = "0.1.9" -lazy_static = "1" [features] default = [] diff --git a/ash/src/allocator.rs b/ash/src/allocator.rs index 3cd1569..1e0f4b0 100644 --- a/ash/src/allocator.rs +++ b/ash/src/allocator.rs @@ -117,4 +117,4 @@ impl VkAllocation for DefaultAllocatorCallback { fn create_allocation_callback() -> Option { None } -} +} \ No newline at end of file diff --git a/ash/src/device.rs b/ash/src/device.rs index a93163f..5684678 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -10,6 +10,7 @@ use RawPtr; pub trait DeviceV1_1: DeviceV1_0 { fn fp_v1_1(&self) -> &vk::DeviceFnV1_1; + #[doc = ""] unsafe fn bind_buffer_memory2(&self, bind_infos: &[vk::BindBufferMemoryInfo]) -> VkResult<()> { let err_code = self.fp_v1_1().bind_buffer_memory2( self.handle(), @@ -22,6 +23,7 @@ pub trait DeviceV1_1: DeviceV1_0 { } } + #[doc = ""] unsafe fn bind_image_memory2(&self, bind_infos: &[vk::BindImageMemoryInfo]) -> VkResult<()> { let err_code = self.fp_v1_1().bind_image_memory2( self.handle(), @@ -34,6 +36,7 @@ pub trait DeviceV1_1: DeviceV1_0 { } } + #[doc = ""] unsafe fn get_device_group_peer_memory_features( &self, heap_index: u32, @@ -51,11 +54,13 @@ pub trait DeviceV1_1: DeviceV1_0 { peer_memory_features } + #[doc = ""] unsafe fn cmd_set_device_mask(&self, command_buffer: vk::CommandBuffer, device_mask: u32) { self.fp_v1_1() .cmd_set_device_mask(command_buffer, device_mask); } + #[doc = ""] unsafe fn cmd_dispatch_base( &self, command_buffer: vk::CommandBuffer, @@ -77,6 +82,7 @@ pub trait DeviceV1_1: DeviceV1_0 { ); } + #[doc = ""] unsafe fn get_image_memory_requirements2( &self, info: &vk::ImageMemoryRequirementsInfo2, @@ -86,6 +92,7 @@ pub trait DeviceV1_1: DeviceV1_0 { .get_image_memory_requirements2(self.handle(), info, out); } + #[doc = ""] unsafe fn get_buffer_memory_requirements2( &self, info: &vk::BufferMemoryRequirementsInfo2, @@ -109,6 +116,7 @@ pub trait DeviceV1_1: DeviceV1_0 { count as usize } + #[doc = ""] unsafe fn get_image_sparse_memory_requirements2( &self, info: &vk::ImageSparseMemoryRequirementsInfo2, @@ -123,6 +131,7 @@ pub trait DeviceV1_1: DeviceV1_0 { ); } + #[doc = ""] unsafe fn trim_command_pool( &self, command_pool: vk::CommandPool, @@ -132,6 +141,7 @@ pub trait DeviceV1_1: DeviceV1_0 { .trim_command_pool(self.handle(), command_pool, flags); } + #[doc = ""] unsafe fn create_sampler_ycbcr_conversion( &self, create_info: &vk::SamplerYcbcrConversionCreateInfo, @@ -150,6 +160,7 @@ pub trait DeviceV1_1: DeviceV1_0 { } } + #[doc = ""] unsafe fn destroy_sampler_ycbcr_conversion( &self, ycbcr_conversion: vk::SamplerYcbcrConversion, @@ -162,6 +173,7 @@ pub trait DeviceV1_1: DeviceV1_0 { ); } + #[doc = ""] unsafe fn create_descriptor_update_template( &self, create_info: &vk::DescriptorUpdateTemplateCreateInfo, @@ -180,6 +192,7 @@ pub trait DeviceV1_1: DeviceV1_0 { } } + #[doc = ""] unsafe fn destroy_descriptor_update_template( &self, descriptor_update_template: vk::DescriptorUpdateTemplate, @@ -192,6 +205,7 @@ pub trait DeviceV1_1: DeviceV1_0 { ); } + #[doc = ""] unsafe fn update_descriptor_set_with_template( &self, descriptor_set: vk::DescriptorSet, @@ -206,6 +220,7 @@ pub trait DeviceV1_1: DeviceV1_0 { ); } + #[doc = ""] unsafe fn get_descriptor_set_layout_support( &self, create_info: &vk::DescriptorSetLayoutCreateInfo, @@ -220,11 +235,13 @@ pub trait DeviceV1_1: DeviceV1_0 { pub trait DeviceV1_0 { fn handle(&self) -> vk::Device; fn fp_v1_0(&self) -> &vk::DeviceFnV1_0; + #[doc = ""] unsafe fn destroy_device(&self, allocation_callbacks: Option<&vk::AllocationCallbacks>) { self.fp_v1_0() .destroy_device(self.handle(), allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_sampler( &self, sampler: vk::Sampler, @@ -234,6 +251,7 @@ pub trait DeviceV1_0 { .destroy_sampler(self.handle(), sampler, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn free_memory( &self, memory: vk::DeviceMemory, @@ -243,6 +261,7 @@ pub trait DeviceV1_0 { .free_memory(self.handle(), memory, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn free_command_buffers( &self, command_pool: vk::CommandPool, @@ -256,6 +275,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn create_event( &self, create_info: &vk::EventCreateInfo, @@ -276,6 +296,7 @@ pub trait DeviceV1_0 { /// Returns true if the event was set, and false if the event was reset, otherwise it will /// return the error code. + #[doc = ""] unsafe fn get_event_status(&self, event: vk::Event) -> VkResult { let err_code = self.fp_v1_0().get_event_status(self.handle(), event); match err_code { @@ -285,6 +306,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn set_event(&self, event: vk::Event) -> VkResult<()> { let err_code = self.fp_v1_0().set_event(self.handle(), event); match err_code { @@ -293,6 +315,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn reset_event(&self, event: vk::Event) -> VkResult<()> { let err_code = self.fp_v1_0().reset_event(self.handle(), event); match err_code { @@ -300,6 +323,7 @@ pub trait DeviceV1_0 { _ => Err(err_code), } } + #[doc = ""] unsafe fn cmd_set_event( &self, command_buffer: vk::CommandBuffer, @@ -309,6 +333,7 @@ pub trait DeviceV1_0 { self.fp_v1_0() .cmd_set_event(command_buffer, event, stage_mask); } + #[doc = ""] unsafe fn cmd_reset_event( &self, command_buffer: vk::CommandBuffer, @@ -319,6 +344,7 @@ pub trait DeviceV1_0 { .cmd_reset_event(command_buffer, event, stage_mask); } + #[doc = ""] unsafe fn cmd_wait_events( &self, command_buffer: vk::CommandBuffer, @@ -344,6 +370,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_fence( &self, fence: vk::Fence, @@ -353,6 +380,7 @@ pub trait DeviceV1_0 { .destroy_fence(self.handle(), fence, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_event( &self, event: vk::Event, @@ -362,6 +390,7 @@ pub trait DeviceV1_0 { .destroy_event(self.handle(), event, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_image( &self, image: vk::Image, @@ -371,6 +400,7 @@ pub trait DeviceV1_0 { .destroy_image(self.handle(), image, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_command_pool( &self, pool: vk::CommandPool, @@ -380,6 +410,7 @@ pub trait DeviceV1_0 { .destroy_command_pool(self.handle(), pool, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_image_view( &self, image_view: vk::ImageView, @@ -392,6 +423,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_render_pass( &self, renderpass: vk::RenderPass, @@ -404,6 +436,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_framebuffer( &self, framebuffer: vk::Framebuffer, @@ -416,6 +449,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_pipeline_layout( &self, pipeline_layout: vk::PipelineLayout, @@ -428,6 +462,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_pipeline_cache( &self, pipeline_cache: vk::PipelineCache, @@ -440,6 +475,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_buffer( &self, buffer: vk::Buffer, @@ -449,6 +485,7 @@ pub trait DeviceV1_0 { .destroy_buffer(self.handle(), buffer, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_shader_module( &self, shader: vk::ShaderModule, @@ -461,6 +498,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_pipeline( &self, pipeline: vk::Pipeline, @@ -470,6 +508,7 @@ pub trait DeviceV1_0 { .destroy_pipeline(self.handle(), pipeline, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_semaphore( &self, semaphore: vk::Semaphore, @@ -482,6 +521,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_descriptor_pool( &self, pool: vk::DescriptorPool, @@ -494,6 +534,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn destroy_query_pool( &self, pool: vk::QueryPool, @@ -503,6 +544,7 @@ pub trait DeviceV1_0 { .destroy_query_pool(self.handle(), pool, allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn destroy_descriptor_set_layout( &self, layout: vk::DescriptorSetLayout, @@ -515,6 +557,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn free_descriptor_sets( &self, pool: vk::DescriptorPool, @@ -528,6 +571,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn update_descriptor_sets( &self, descriptor_writes: &[vk::WriteDescriptorSet], @@ -542,6 +586,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn create_sampler( &self, create_info: &vk::SamplerCreateInfo, @@ -560,6 +605,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn cmd_blit_image( &self, command_buffer: vk::CommandBuffer, @@ -582,6 +628,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_resolve_image( &self, command_buffer: vk::CommandBuffer, @@ -602,6 +649,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_fill_buffer( &self, command_buffer: vk::CommandBuffer, @@ -614,6 +662,7 @@ pub trait DeviceV1_0 { .cmd_fill_buffer(command_buffer, buffer, offset, size, data); } + #[doc = ""] unsafe fn cmd_update_buffer( &self, command_buffer: vk::CommandBuffer, @@ -630,6 +679,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_copy_buffer( &self, command_buffer: vk::CommandBuffer, @@ -646,6 +696,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_copy_image_to_buffer( &self, command_buffer: vk::CommandBuffer, @@ -664,6 +715,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_copy_buffer_to_image( &self, command_buffer: vk::CommandBuffer, @@ -682,6 +734,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_copy_image( &self, command_buffer: vk::CommandBuffer, @@ -702,6 +755,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn allocate_descriptor_sets( &self, create_info: &vk::DescriptorSetAllocateInfo, @@ -720,6 +774,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_descriptor_set_layout( &self, create_info: &vk::DescriptorSetLayoutCreateInfo, @@ -738,6 +793,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn device_wait_idle(&self) -> VkResult<()> { let err_code = self.fp_v1_0().device_wait_idle(self.handle()); match err_code { @@ -746,6 +802,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_descriptor_pool( &self, create_info: &vk::DescriptorPoolCreateInfo, @@ -764,6 +821,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn reset_descriptor_pool( &self, pool: vk::DescriptorPool, @@ -778,6 +836,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn reset_command_pool( &self, command_pool: vk::CommandPool, @@ -792,6 +851,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn reset_command_buffer( &self, command_buffer: vk::CommandBuffer, @@ -804,6 +864,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn reset_fences(&self, fences: &[vk::Fence]) -> VkResult<()> { let err_code = self.fp_v1_0() @@ -814,6 +875,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn cmd_bind_index_buffer( &self, command_buffer: vk::CommandBuffer, @@ -825,6 +887,7 @@ pub trait DeviceV1_0 { .cmd_bind_index_buffer(command_buffer, buffer, offset, index_type); } + #[doc = ""] unsafe fn cmd_clear_color_image( &self, command_buffer: vk::CommandBuffer, @@ -843,6 +906,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_clear_depth_stencil_image( &self, command_buffer: vk::CommandBuffer, @@ -861,6 +925,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_clear_attachments( &self, command_buffer: vk::CommandBuffer, @@ -876,6 +941,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_draw_indexed( &self, command_buffer: vk::CommandBuffer, @@ -895,6 +961,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_draw_indexed_indirect( &self, command_buffer: vk::CommandBuffer, @@ -912,6 +979,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_execute_commands( &self, primary_command_buffer: vk::CommandBuffer, @@ -924,6 +992,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_bind_descriptor_sets( &self, command_buffer: vk::CommandBuffer, @@ -945,6 +1014,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_copy_query_pool_results( &self, command_buffer: vk::CommandBuffer, @@ -968,6 +1038,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_push_constants( &self, command_buffer: vk::CommandBuffer, @@ -986,6 +1057,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_begin_render_pass( &self, command_buffer: vk::CommandBuffer, @@ -996,6 +1068,7 @@ pub trait DeviceV1_0 { .cmd_begin_render_pass(command_buffer, create_info, contents); } + #[doc = ""] unsafe fn cmd_next_subpass( &self, command_buffer: vk::CommandBuffer, @@ -1004,6 +1077,7 @@ pub trait DeviceV1_0 { self.fp_v1_0().cmd_next_subpass(command_buffer, contents); } + #[doc = ""] unsafe fn cmd_bind_pipeline( &self, command_buffer: vk::CommandBuffer, @@ -1014,6 +1088,7 @@ pub trait DeviceV1_0 { .cmd_bind_pipeline(command_buffer, pipeline_bind_point, pipeline); } + #[doc = ""] unsafe fn cmd_set_scissor( &self, command_buffer: vk::CommandBuffer, @@ -1028,11 +1103,13 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_set_line_width(&self, command_buffer: vk::CommandBuffer, line_width: f32) { self.fp_v1_0() .cmd_set_line_width(command_buffer, line_width); } + #[doc = ""] unsafe fn cmd_bind_vertex_buffers( &self, command_buffer: vk::CommandBuffer, @@ -1050,10 +1127,12 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_end_render_pass(&self, command_buffer: vk::CommandBuffer) { self.fp_v1_0().cmd_end_render_pass(command_buffer); } + #[doc = ""] unsafe fn cmd_draw( &self, command_buffer: vk::CommandBuffer, @@ -1071,6 +1150,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_draw_indirect( &self, command_buffer: vk::CommandBuffer, @@ -1083,6 +1163,7 @@ pub trait DeviceV1_0 { .cmd_draw_indirect(command_buffer, buffer, offset, draw_count, stride); } + #[doc = ""] unsafe fn cmd_dispatch( &self, command_buffer: vk::CommandBuffer, @@ -1094,6 +1175,7 @@ pub trait DeviceV1_0 { .cmd_dispatch(command_buffer, group_count_x, group_count_y, group_count_z); } + #[doc = ""] unsafe fn cmd_dispatch_indirect( &self, command_buffer: vk::CommandBuffer, @@ -1104,6 +1186,7 @@ pub trait DeviceV1_0 { .cmd_dispatch_indirect(command_buffer, buffer, offset); } + #[doc = ""] unsafe fn cmd_set_viewport( &self, command_buffer: vk::CommandBuffer, @@ -1118,6 +1201,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn cmd_set_depth_bias( &self, command_buffer: vk::CommandBuffer, @@ -1129,6 +1213,7 @@ pub trait DeviceV1_0 { .cmd_set_depth_bias(command_buffer, constant_factor, clamp, slope_factor); } + #[doc = ""] unsafe fn cmd_set_blend_constants( &self, command_buffer: vk::CommandBuffer, @@ -1138,6 +1223,7 @@ pub trait DeviceV1_0 { .cmd_set_blend_constants(command_buffer, blend_constants); } + #[doc = ""] unsafe fn cmd_set_depth_bounds( &self, command_buffer: vk::CommandBuffer, @@ -1148,6 +1234,7 @@ pub trait DeviceV1_0 { .cmd_set_depth_bounds(command_buffer, min_depth_bounds, max_depth_bounds); } + #[doc = ""] unsafe fn cmd_set_stencil_compare_mask( &self, command_buffer: vk::CommandBuffer, @@ -1158,6 +1245,7 @@ pub trait DeviceV1_0 { .cmd_set_stencil_compare_mask(command_buffer, face_mask, compare_mask); } + #[doc = ""] unsafe fn cmd_set_stencil_write_mask( &self, command_buffer: vk::CommandBuffer, @@ -1168,6 +1256,7 @@ pub trait DeviceV1_0 { .cmd_set_stencil_write_mask(command_buffer, face_mask, write_mask); } + #[doc = ""] unsafe fn cmd_set_stencil_reference( &self, command_buffer: vk::CommandBuffer, @@ -1178,6 +1267,7 @@ pub trait DeviceV1_0 { .cmd_set_stencil_reference(command_buffer, face_mask, reference); } + #[doc = ""] unsafe fn get_query_pool_results( &self, query_pool: vk::QueryPool, @@ -1213,6 +1303,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn cmd_begin_query( &self, command_buffer: vk::CommandBuffer, @@ -1224,6 +1315,7 @@ pub trait DeviceV1_0 { .cmd_begin_query(command_buffer, query_pool, query, flags); } + #[doc = ""] unsafe fn cmd_end_query( &self, command_buffer: vk::CommandBuffer, @@ -1234,6 +1326,7 @@ pub trait DeviceV1_0 { .cmd_end_query(command_buffer, query_pool, query); } + #[doc = ""] unsafe fn cmd_reset_query_pool( &self, command_buffer: vk::CommandBuffer, @@ -1245,6 +1338,7 @@ pub trait DeviceV1_0 { .cmd_reset_query_pool(command_buffer, pool, first_query, query_count); } + #[doc = ""] unsafe fn cmd_write_timestamp( &self, command_buffer: vk::CommandBuffer, @@ -1256,6 +1350,7 @@ pub trait DeviceV1_0 { .cmd_write_timestamp(command_buffer, pipeline_stage, query_pool, query); } + #[doc = ""] unsafe fn create_semaphore( &self, create_info: &vk::SemaphoreCreateInfo, @@ -1274,6 +1369,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_graphics_pipelines( &self, pipeline_cache: vk::PipelineCache, @@ -1296,6 +1392,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_compute_pipelines( &self, pipeline_cache: vk::PipelineCache, @@ -1318,6 +1415,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_buffer( &self, create_info: &vk::BufferCreateInfo, @@ -1336,6 +1434,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_pipeline_layout( &self, create_info: &vk::PipelineLayoutCreateInfo, @@ -1354,6 +1453,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_pipeline_cache( &self, create_info: &vk::PipelineCacheCreateInfo, @@ -1373,6 +1473,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn get_pipeline_cache_data( &self, pipeline_cache: vk::PipelineCache, @@ -1401,6 +1502,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn map_memory( &self, memory: vk::DeviceMemory, @@ -1418,10 +1520,12 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn unmap_memory(&self, memory: vk::DeviceMemory) { self.fp_v1_0().unmap_memory(self.handle(), memory); } + #[doc = ""] unsafe fn invalidate_mapped_memory_ranges( &self, ranges: &[vk::MappedMemoryRange], @@ -1437,6 +1541,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn flush_mapped_memory_ranges(&self, ranges: &[vk::MappedMemoryRange]) -> VkResult<()> { let err_code = self.fp_v1_0().flush_mapped_memory_ranges( self.handle(), @@ -1449,6 +1554,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_framebuffer( &self, create_info: &vk::FramebufferCreateInfo, @@ -1467,6 +1573,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn get_device_queue(&self, queue_family_index: u32, queue_index: u32) -> vk::Queue { let mut queue = mem::uninitialized(); self.fp_v1_0() @@ -1474,6 +1581,7 @@ pub trait DeviceV1_0 { queue } + #[doc = ""] unsafe fn cmd_pipeline_barrier( &self, command_buffer: vk::CommandBuffer, @@ -1498,6 +1606,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn create_render_pass( &self, create_info: &vk::RenderPassCreateInfo, @@ -1516,6 +1625,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn begin_command_buffer( &self, command_buffer: vk::CommandBuffer, @@ -1530,6 +1640,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn end_command_buffer(&self, command_buffer: vk::CommandBuffer) -> VkResult<()> { let err_code = self.fp_v1_0().end_command_buffer(command_buffer); match err_code { @@ -1538,6 +1649,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn wait_for_fences( &self, fences: &[vk::Fence], @@ -1557,6 +1669,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn get_fence_status(&self, fence: vk::Fence) -> VkResult<()> { let err_code = self.fp_v1_0().get_fence_status(self.handle(), fence); match err_code { @@ -1565,6 +1678,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn queue_wait_idle(&self, queue: vk::Queue) -> VkResult<()> { let err_code = self.fp_v1_0().queue_wait_idle(queue); match err_code { @@ -1573,6 +1687,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn queue_submit( &self, queue: vk::Queue, @@ -1588,6 +1703,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_buffer_view( &self, create_info: &vk::BufferViewCreateInfo, @@ -1606,6 +1722,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn destroy_buffer_view( &self, buffer_view: vk::BufferView, @@ -1618,6 +1735,7 @@ pub trait DeviceV1_0 { ); } + #[doc = ""] unsafe fn create_image_view( &self, create_info: &vk::ImageViewCreateInfo, @@ -1636,6 +1754,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn allocate_command_buffers( &self, create_info: &vk::CommandBufferAllocateInfo, @@ -1653,6 +1772,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_command_pool( &self, create_info: &vk::CommandPoolCreateInfo, @@ -1671,6 +1791,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_query_pool( &self, create_info: &vk::QueryPoolCreateInfo, @@ -1689,6 +1810,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_image( &self, create_info: &vk::ImageCreateInfo, @@ -1707,6 +1829,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn get_image_subresource_layout( &self, image: vk::Image, @@ -1722,6 +1845,7 @@ pub trait DeviceV1_0 { layout } + #[doc = ""] unsafe fn get_image_memory_requirements(&self, image: vk::Image) -> vk::MemoryRequirements { let mut mem_req = mem::uninitialized(); self.fp_v1_0() @@ -1729,6 +1853,7 @@ pub trait DeviceV1_0 { mem_req } + #[doc = ""] unsafe fn get_buffer_memory_requirements(&self, buffer: vk::Buffer) -> vk::MemoryRequirements { let mut mem_req = mem::uninitialized(); self.fp_v1_0() @@ -1736,6 +1861,7 @@ pub trait DeviceV1_0 { mem_req } + #[doc = ""] unsafe fn allocate_memory( &self, create_info: &vk::MemoryAllocateInfo, @@ -1754,6 +1880,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_shader_module( &self, create_info: &vk::ShaderModuleCreateInfo, @@ -1772,6 +1899,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn create_fence( &self, create_info: &vk::FenceCreateInfo, @@ -1790,6 +1918,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn bind_buffer_memory( &self, buffer: vk::Buffer, @@ -1805,6 +1934,7 @@ pub trait DeviceV1_0 { } } + #[doc = ""] unsafe fn bind_image_memory( &self, image: vk::Image, @@ -1821,6 +1951,7 @@ pub trait DeviceV1_0 { } } +#[doc = ""] #[derive(Clone)] pub struct Device { handle: vk::Device, diff --git a/ash/src/entry.rs b/ash/src/entry.rs index 70b4ba4..d31dd8c 100644 --- a/ash/src/entry.rs +++ b/ash/src/entry.rs @@ -27,12 +27,10 @@ const LIB_PATH: &'static str = "libvulkan.so"; #[cfg(any(target_os = "macos", target_os = "ios"))] const LIB_PATH: &'static str = "libvulkan.dylib"; -lazy_static! { - static ref VK_LIB: Result = - DynamicLibrary::open(Some(&Path::new(LIB_PATH))); -} - +/// Function loader pub type Entry = EntryCustom>; + +/// Function loader #[derive(Clone)] pub struct EntryCustom { static_fn: vk::StaticFn, @@ -46,6 +44,16 @@ pub enum LoadingError { LibraryLoadError(String), } +impl fmt::Display for LoadingError { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + match self { + LoadingError::LibraryLoadError(e) => write!(f, "{}", e), + } + } +} + +impl Error for LoadingError {} + #[derive(Debug)] pub enum InstanceError { LoadError(Vec<&'static str>), @@ -54,33 +62,28 @@ pub enum InstanceError { impl fmt::Display for InstanceError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "InstanceError::{:?}", self) - } -} - -impl Error for InstanceError { - fn description(&self) -> &str { - "InstanceError" - } - - fn cause(&self) -> Option<&Error> { - if let &InstanceError::VkError(ref err) = self { - return err.source(); + match self { + InstanceError::LoadError(e) => write!(f, "{}", e.join("; ")), + InstanceError::VkError(e) => write!(f, "{}", e), } - None } } +impl Error for InstanceError {} + #[allow(non_camel_case_types)] pub trait EntryV1_0 { type Instance; fn fp_v1_0(&self) -> &vk::EntryFnV1_0; fn static_fn(&self) -> &vk::StaticFn; + #[doc = ""] unsafe fn create_instance( &self, create_info: &vk::InstanceCreateInfo, allocation_callbacks: Option<&vk::AllocationCallbacks>, ) -> Result; + + #[doc = ""] fn enumerate_instance_layer_properties(&self) -> VkResult> { unsafe { let mut num = 0; @@ -98,6 +101,8 @@ pub trait EntryV1_0 { } } } + + #[doc = ""] fn enumerate_instance_extension_properties(&self) -> VkResult> { unsafe { let mut num = 0; @@ -120,6 +125,7 @@ pub trait EntryV1_0 { } } + #[doc = ""] fn get_instance_proc_addr( &self, instance: vk::Instance, @@ -131,6 +137,7 @@ pub trait EntryV1_0 { impl EntryV1_0 for EntryCustom { type Instance = Instance; + #[doc = ""] unsafe fn create_instance( &self, create_info: &vk::InstanceCreateInfo, @@ -159,6 +166,7 @@ impl EntryV1_0 for EntryCustom { pub trait EntryV1_1: EntryV1_0 { fn fp_v1_1(&self) -> &vk::EntryFnV1_1; + #[doc = ""] fn enumerate_instance_version(&self) -> VkResult { unsafe { let mut api_version = 0; @@ -170,6 +178,41 @@ pub trait EntryV1_1: EntryV1_0 { } } } + +impl EntryCustom> { + /// ```rust,no_run + /// # #[macro_use] + /// # extern crate ash; + /// use ash::{vk, Entry, version::EntryV1_0}; + /// # fn main() -> Result<(), Box> { + /// let entry = Entry::new()?; + /// let app_info = vk::ApplicationInfo { + /// api_version: vk_make_version!(1, 0, 0), + /// ..Default::default() + /// }; + /// let create_info = vk::InstanceCreateInfo { + /// p_application_info: &app_info, + /// ..Default::default() + /// }; + /// let instance = unsafe { entry.create_instance(&create_info, None)? }; + /// # Ok(()) } + /// ``` + pub fn new() -> Result { + Self::new_custom( + || { + DynamicLibrary::open(Some(&Path::new(LIB_PATH))) + .map_err(|err| LoadingError::LibraryLoadError(err.clone())) + .map(|dl| Arc::new(dl)) + }, + |vk_lib, name| unsafe { + vk_lib + .symbol(&*name.to_string_lossy()) + .unwrap_or(ptr::null_mut()) + }, + ) + } +} + impl EntryCustom { pub fn new_custom(open: Open, mut load: Load) -> Result where @@ -194,21 +237,45 @@ impl EntryCustom { lib, }) } -} -impl Entry { - pub fn new() -> Result { - Self::new_custom( - || { - DynamicLibrary::open(Some(&Path::new(LIB_PATH))) - .map_err(|err| LoadingError::LibraryLoadError(err.clone())) - .map(|dl| Arc::new(dl)) - }, - |vk_lib, name| unsafe { - vk_lib - .symbol(&*name.to_string_lossy()) - .unwrap_or(ptr::null_mut()) - }, - ) + #[doc = ""] + /// ```rust,no_run + /// # #[macro_use] + /// # extern crate ash; + /// # use ash::Entry; + /// # fn main() -> Result<(), Box> { + /// let entry = Entry::new()?; + /// match entry.try_enumerate_instance_version()? { + /// // Vulkan 1.1+ + /// Some(version) => { + /// let major = vk_version_major!(version); + /// let minor = vk_version_minor!(version); + /// let patch = vk_version_patch!(version); + /// }, + /// // Vulkan 1.0 + /// None => {}, + /// } + /// # Ok(()) } + /// ``` + pub fn try_enumerate_instance_version(&self) -> VkResult> { + unsafe { + let mut api_version = 0; + let enumerate_instance_version: Option = { + let name = b"vkEnumerateInstanceVersion\0".as_ptr() as *const _; + mem::transmute( + self.static_fn() + .get_instance_proc_addr(vk::Instance::null(), name), + ) + }; + if let Some(enumerate_instance_version) = enumerate_instance_version { + let err_code = (enumerate_instance_version)(&mut api_version); + match err_code { + vk::Result::SUCCESS => Ok(Some(api_version)), + _ => Err(err_code), + } + } else { + Ok(None) + } + } } } diff --git a/ash/src/extensions/ext/debug_marker.rs b/ash/src/extensions/ext/debug_marker.rs index 529c412..11f6ce6 100644 --- a/ash/src/extensions/ext/debug_marker.rs +++ b/ash/src/extensions/ext/debug_marker.rs @@ -24,6 +24,7 @@ impl DebugMarker { vk::ExtDebugMarkerFn::name() } + #[doc = ""] pub unsafe fn debug_marker_set_object_name( &self, device: vk::Device, @@ -38,6 +39,7 @@ impl DebugMarker { } } + #[doc = ""] pub unsafe fn cmd_debug_marker_begin( &self, command_buffer: vk::CommandBuffer, @@ -47,11 +49,13 @@ impl DebugMarker { .cmd_debug_marker_begin_ext(command_buffer, marker_info); } + #[doc = ""] pub unsafe fn cmd_debug_marker_end(&self, command_buffer: vk::CommandBuffer) { self.debug_marker_fn .cmd_debug_marker_end_ext(command_buffer); } + #[doc = ""] pub unsafe fn cmd_debug_marker_insert( &self, command_buffer: vk::CommandBuffer, diff --git a/ash/src/extensions/ext/debug_report.rs b/ash/src/extensions/ext/debug_report.rs index 5b44d1a..1d50117 100644 --- a/ash/src/extensions/ext/debug_report.rs +++ b/ash/src/extensions/ext/debug_report.rs @@ -27,6 +27,7 @@ impl DebugReport { vk::ExtDebugReportFn::name() } + #[doc = ""] pub unsafe fn destroy_debug_report_callback( &self, debug: vk::DebugReportCallbackEXT, @@ -39,6 +40,7 @@ impl DebugReport { ); } + #[doc = ""] pub unsafe fn create_debug_report_callback( &self, create_info: &vk::DebugReportCallbackCreateInfoEXT, diff --git a/ash/src/extensions/ext/debug_utils.rs b/ash/src/extensions/ext/debug_utils.rs index bbe5bc2..a8acffd 100644 --- a/ash/src/extensions/ext/debug_utils.rs +++ b/ash/src/extensions/ext/debug_utils.rs @@ -26,6 +26,7 @@ impl DebugUtils { vk::ExtDebugUtilsFn::name() } + #[doc = ""] pub unsafe fn debug_utils_set_object_name( &self, device: vk::Device, @@ -40,6 +41,7 @@ impl DebugUtils { } } + #[doc = ""] pub unsafe fn debug_utils_set_object_tag( &self, device: vk::Device, @@ -54,6 +56,7 @@ impl DebugUtils { } } + #[doc = ""] pub unsafe fn cmd_begin_debug_utils_label( &self, command_buffer: vk::CommandBuffer, @@ -63,11 +66,13 @@ impl DebugUtils { .cmd_begin_debug_utils_label_ext(command_buffer, label); } + #[doc = ""] pub unsafe fn cmd_end_debug_utils_label(&self, command_buffer: vk::CommandBuffer) { self.debug_utils_fn .cmd_end_debug_utils_label_ext(command_buffer); } + #[doc = ""] pub unsafe fn cmd_insert_debug_utils_label( &self, command_buffer: vk::CommandBuffer, @@ -77,6 +82,7 @@ impl DebugUtils { .cmd_insert_debug_utils_label_ext(command_buffer, label); } + #[doc = ""] pub unsafe fn queue_begin_debug_utils_label( &self, queue: vk::Queue, @@ -86,10 +92,12 @@ impl DebugUtils { .queue_begin_debug_utils_label_ext(queue, label); } + #[doc = ""] pub unsafe fn queue_end_debug_utils_label(&self, queue: vk::Queue) { self.debug_utils_fn.queue_end_debug_utils_label_ext(queue); } + #[doc = ""] pub unsafe fn queue_insert_debug_utils_label( &self, queue: vk::Queue, @@ -99,6 +107,7 @@ impl DebugUtils { .queue_insert_debug_utils_label_ext(queue, label); } + #[doc = ""] pub unsafe fn create_debug_utils_messenger( &self, create_info: &vk::DebugUtilsMessengerCreateInfoEXT, @@ -117,6 +126,7 @@ impl DebugUtils { } } + #[doc = ""] pub unsafe fn destroy_debug_utils_messenger( &self, messenger: vk::DebugUtilsMessengerEXT, @@ -129,6 +139,7 @@ impl DebugUtils { ); } + #[doc = ""] pub unsafe fn submit_debug_utils_message( &self, instance: vk::Instance, diff --git a/ash/src/extensions/khr/android_surface.rs b/ash/src/extensions/khr/android_surface.rs index 4fa6438..d9d343d 100644 --- a/ash/src/extensions/khr/android_surface.rs +++ b/ash/src/extensions/khr/android_surface.rs @@ -27,6 +27,7 @@ impl AndroidSurface { vk::KhrAndroidSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_android_surface( &self, create_info: &vk::AndroidSurfaceCreateInfoKHR, diff --git a/ash/src/extensions/khr/display_swapchain.rs b/ash/src/extensions/khr/display_swapchain.rs index ca056d1..29c3b5d 100644 --- a/ash/src/extensions/khr/display_swapchain.rs +++ b/ash/src/extensions/khr/display_swapchain.rs @@ -27,6 +27,7 @@ impl DisplaySwapchain { vk::KhrDisplaySwapchainFn::name() } + #[doc = ""] pub unsafe fn create_shared_swapchains( &self, create_infos: &[vk::SwapchainCreateInfoKHR], diff --git a/ash/src/extensions/khr/surface.rs b/ash/src/extensions/khr/surface.rs index 3e0648e..a0ca5ad 100644 --- a/ash/src/extensions/khr/surface.rs +++ b/ash/src/extensions/khr/surface.rs @@ -28,6 +28,7 @@ impl Surface { vk::KhrSurfaceFn::name() } + #[doc = ""] pub unsafe fn get_physical_device_surface_support( &self, physical_device: vk::PhysicalDevice, @@ -44,6 +45,7 @@ impl Surface { b > 0 } + #[doc = ""] pub unsafe fn get_physical_device_surface_present_modes( &self, physical_device: vk::PhysicalDevice, @@ -73,6 +75,7 @@ impl Surface { } } + #[doc = ""] pub unsafe fn get_physical_device_surface_capabilities( &self, physical_device: vk::PhysicalDevice, @@ -92,6 +95,7 @@ impl Surface { } } + #[doc = ""] pub unsafe fn get_physical_device_surface_formats( &self, physical_device: vk::PhysicalDevice, @@ -118,6 +122,7 @@ impl Surface { } } + #[doc = ""] pub unsafe fn destroy_surface( &self, surface: vk::SurfaceKHR, diff --git a/ash/src/extensions/khr/swapchain.rs b/ash/src/extensions/khr/swapchain.rs index aedcb8c..ade5d04 100644 --- a/ash/src/extensions/khr/swapchain.rs +++ b/ash/src/extensions/khr/swapchain.rs @@ -28,6 +28,7 @@ impl Swapchain { vk::KhrSwapchainFn::name() } + #[doc = ""] pub unsafe fn destroy_swapchain( &self, swapchain: vk::SwapchainKHR, @@ -41,6 +42,7 @@ impl Swapchain { } /// On success, returns the next image's index and whether the swapchain is suboptimal for the surface. + #[doc = ""] pub unsafe fn acquire_next_image( &self, swapchain: vk::SwapchainKHR, @@ -64,6 +66,7 @@ impl Swapchain { } } + #[doc = ""] pub unsafe fn create_swapchain( &self, create_info: &vk::SwapchainCreateInfoKHR, @@ -83,6 +86,7 @@ impl Swapchain { } /// On success, returns whether the swapchain is suboptimal for the surface. + #[doc = ""] pub unsafe fn queue_present( &self, queue: vk::Queue, @@ -96,6 +100,7 @@ impl Swapchain { } } + #[doc = ""] pub unsafe fn get_swapchain_images( &self, swapchain: vk::SwapchainKHR, diff --git a/ash/src/extensions/khr/wayland_surface.rs b/ash/src/extensions/khr/wayland_surface.rs index 5308706..ec5480d 100644 --- a/ash/src/extensions/khr/wayland_surface.rs +++ b/ash/src/extensions/khr/wayland_surface.rs @@ -27,6 +27,7 @@ impl WaylandSurface { vk::KhrWaylandSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_wayland_surface( &self, create_info: &vk::WaylandSurfaceCreateInfoKHR, diff --git a/ash/src/extensions/khr/win32_surface.rs b/ash/src/extensions/khr/win32_surface.rs index e32f046..72ae7ef 100644 --- a/ash/src/extensions/khr/win32_surface.rs +++ b/ash/src/extensions/khr/win32_surface.rs @@ -27,6 +27,7 @@ impl Win32Surface { vk::KhrWin32SurfaceFn::name() } + #[doc = ""] pub unsafe fn create_win32_surface( &self, create_info: &vk::Win32SurfaceCreateInfoKHR, diff --git a/ash/src/extensions/khr/xcb_surface.rs b/ash/src/extensions/khr/xcb_surface.rs index ede5859..dbd05e8 100644 --- a/ash/src/extensions/khr/xcb_surface.rs +++ b/ash/src/extensions/khr/xcb_surface.rs @@ -27,6 +27,7 @@ impl XcbSurface { vk::KhrXcbSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_xcb_surface( &self, create_info: &vk::XcbSurfaceCreateInfoKHR, diff --git a/ash/src/extensions/khr/xlib_surface.rs b/ash/src/extensions/khr/xlib_surface.rs index 32ab541..aed6ca4 100644 --- a/ash/src/extensions/khr/xlib_surface.rs +++ b/ash/src/extensions/khr/xlib_surface.rs @@ -27,6 +27,7 @@ impl XlibSurface { vk::KhrXlibSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_xlib_surface( &self, create_info: &vk::XlibSurfaceCreateInfoKHR, diff --git a/ash/src/extensions/mvk/ios_surface.rs b/ash/src/extensions/mvk/ios_surface.rs index a1ffd93..4aac1c5 100644 --- a/ash/src/extensions/mvk/ios_surface.rs +++ b/ash/src/extensions/mvk/ios_surface.rs @@ -27,6 +27,7 @@ impl IOSSurface { vk::MvkIosSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_ios_surface_mvk( &self, create_info: &vk::IOSSurfaceCreateInfoMVK, diff --git a/ash/src/extensions/mvk/macos_surface.rs b/ash/src/extensions/mvk/macos_surface.rs index 9fc1910..9dbf44b 100644 --- a/ash/src/extensions/mvk/macos_surface.rs +++ b/ash/src/extensions/mvk/macos_surface.rs @@ -27,6 +27,7 @@ impl MacOSSurface { vk::MvkMacosSurfaceFn::name() } + #[doc = ""] pub unsafe fn create_mac_os_surface_mvk( &self, create_info: &vk::MacOSSurfaceCreateInfoMVK, diff --git a/ash/src/extensions/nv/mesh_shader.rs b/ash/src/extensions/nv/mesh_shader.rs index 9e00e6b..c982951 100644 --- a/ash/src/extensions/nv/mesh_shader.rs +++ b/ash/src/extensions/nv/mesh_shader.rs @@ -16,6 +16,7 @@ impl MeshShader { }); MeshShader { mesh_shader_fn } } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks( &self, command_buffer: vk::CommandBuffer, @@ -25,6 +26,7 @@ impl MeshShader { self.mesh_shader_fn .cmd_draw_mesh_tasks_nv(command_buffer, task_count, first_task); } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks_indirect( &self, command_buffer: vk::CommandBuffer, @@ -41,6 +43,7 @@ impl MeshShader { stride, ); } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks_indirect_count( &self, command_buffer: vk::CommandBuffer, diff --git a/ash/src/extensions/nv/ray_tracing.rs b/ash/src/extensions/nv/ray_tracing.rs index 1cde467..02aa71f 100644 --- a/ash/src/extensions/nv/ray_tracing.rs +++ b/ash/src/extensions/nv/ray_tracing.rs @@ -35,6 +35,7 @@ impl RayTracing { props_rt } + #[doc = ""] pub unsafe fn create_acceleration_structure( &self, create_info: &vk::AccelerationStructureCreateInfoNV, @@ -53,6 +54,7 @@ impl RayTracing { } } + #[doc = ""] pub unsafe fn destroy_acceleration_structure( &self, accel_struct: vk::AccelerationStructureNV, @@ -65,6 +67,7 @@ impl RayTracing { ); } + #[doc = ""] pub unsafe fn get_acceleration_structure_memory_requirements( &self, info: &vk::AccelerationStructureMemoryRequirementsInfoNV, @@ -79,6 +82,7 @@ impl RayTracing { requirements } + #[doc = ""] pub unsafe fn bind_acceleration_structure_memory( &self, bind_info: &[vk::BindAccelerationStructureMemoryInfoNV], @@ -94,6 +98,7 @@ impl RayTracing { } } + #[doc = ""] pub unsafe fn cmd_build_acceleration_structure( &self, command_buffer: vk::CommandBuffer, @@ -119,6 +124,7 @@ impl RayTracing { ); } + #[doc = ""] pub unsafe fn cmd_copy_acceleration_structure( &self, command_buffer: vk::CommandBuffer, @@ -130,6 +136,7 @@ impl RayTracing { .cmd_copy_acceleration_structure_nv(command_buffer, dst, src, mode); } + #[doc = ""] pub unsafe fn cmd_trace_rays( &self, command_buffer: vk::CommandBuffer, @@ -167,6 +174,7 @@ impl RayTracing { ); } + #[doc = ""] pub unsafe fn create_ray_tracing_pipelines( &self, pipeline_cache: vk::PipelineCache, @@ -188,6 +196,7 @@ impl RayTracing { } } + #[doc = ""] pub unsafe fn get_ray_tracing_shader_group_handles( &self, pipeline: vk::Pipeline, @@ -209,6 +218,7 @@ impl RayTracing { } } + #[doc = ""] pub unsafe fn get_acceleration_structure_handle( &self, accel_struct: vk::AccelerationStructureNV, @@ -227,6 +237,7 @@ impl RayTracing { } } + #[doc = ""] pub unsafe fn cmd_write_acceleration_structures_properties( &self, command_buffer: vk::CommandBuffer, @@ -246,6 +257,7 @@ impl RayTracing { ); } + #[doc = ""] pub unsafe fn compile_deferred(&self, pipeline: vk::Pipeline, shader: u32) -> VkResult<()> { let err_code = self .ray_tracing_fn diff --git a/ash/src/instance.rs b/ash/src/instance.rs index df5146c..4db5ceb 100644 --- a/ash/src/instance.rs +++ b/ash/src/instance.rs @@ -7,6 +7,7 @@ use std::ptr; use vk; use RawPtr; +#[doc = ""] #[derive(Clone)] pub struct Instance { handle: vk::Instance, @@ -32,6 +33,7 @@ impl Instance { impl InstanceV1_0 for Instance { type Device = Device; + #[doc = ""] unsafe fn create_device( &self, physical_device: vk::PhysicalDevice, @@ -79,6 +81,7 @@ pub trait InstanceV1_1: InstanceV1_0 { group_count as usize } + #[doc = ""] fn enumerate_physical_device_groups( &self, out: &mut [vk::PhysicalDeviceGroupProperties], @@ -98,6 +101,7 @@ pub trait InstanceV1_1: InstanceV1_0 { } } + #[doc = ""] unsafe fn get_physical_device_properties2( &self, physical_device: vk::PhysicalDevice, @@ -107,6 +111,7 @@ pub trait InstanceV1_1: InstanceV1_0 { .get_physical_device_properties2(physical_device, prop); } + #[doc = ""] unsafe fn get_physical_device_format_properties2( &self, physical_device: vk::PhysicalDevice, @@ -117,6 +122,7 @@ pub trait InstanceV1_1: InstanceV1_0 { .get_physical_device_format_properties2(physical_device, format, out); } + #[doc = ""] unsafe fn get_physical_device_image_format_properties2( &self, physical_device: vk::PhysicalDevice, @@ -148,6 +154,7 @@ pub trait InstanceV1_1: InstanceV1_0 { queue_count as usize } + #[doc = ""] unsafe fn get_physical_device_queue_family_properties2( &self, physical_device: vk::PhysicalDevice, @@ -161,6 +168,7 @@ pub trait InstanceV1_1: InstanceV1_0 { ); } + #[doc = ""] unsafe fn get_physical_device_memory_properties2( &self, physical_device: vk::PhysicalDevice, @@ -186,6 +194,7 @@ pub trait InstanceV1_1: InstanceV1_0 { format_count as usize } + #[doc = ""] unsafe fn get_physical_device_sparse_image_format_properties2( &self, physical_device: vk::PhysicalDevice, @@ -202,6 +211,7 @@ pub trait InstanceV1_1: InstanceV1_0 { ); } + #[doc = ""] unsafe fn get_physical_device_external_buffer_properties( &self, physical_device: vk::PhysicalDevice, @@ -216,6 +226,7 @@ pub trait InstanceV1_1: InstanceV1_0 { ); } + #[doc = ""] unsafe fn get_physical_device_external_fence_properties( &self, physical_device: vk::PhysicalDevice, @@ -230,6 +241,7 @@ pub trait InstanceV1_1: InstanceV1_0 { ); } + #[doc = ""] unsafe fn get_physical_device_external_semaphore_properties( &self, physical_device: vk::PhysicalDevice, @@ -250,6 +262,7 @@ pub trait InstanceV1_0 { type Device; fn handle(&self) -> vk::Instance; fn fp_v1_0(&self) -> &vk::InstanceFnV1_0; + #[doc = ""] unsafe fn create_device( &self, physical_device: vk::PhysicalDevice, @@ -257,6 +270,7 @@ pub trait InstanceV1_0 { allocation_callbacks: Option<&vk::AllocationCallbacks>, ) -> Result; + #[doc = ""] unsafe fn get_device_proc_addr( &self, device: vk::Device, @@ -265,11 +279,13 @@ pub trait InstanceV1_0 { self.fp_v1_0().get_device_proc_addr(device, p_name) } + #[doc = ""] unsafe fn destroy_instance(&self, allocation_callbacks: Option<&vk::AllocationCallbacks>) { self.fp_v1_0() .destroy_instance(self.handle(), allocation_callbacks.as_raw_ptr()); } + #[doc = ""] unsafe fn get_physical_device_format_properties( &self, physical_device: vk::PhysicalDevice, @@ -284,6 +300,7 @@ pub trait InstanceV1_0 { format_prop } + #[doc = ""] unsafe fn get_physical_device_image_format_properties( &self, physical_device: vk::PhysicalDevice, @@ -310,6 +327,7 @@ pub trait InstanceV1_0 { } } + #[doc = ""] unsafe fn get_physical_device_memory_properties( &self, physical_device: vk::PhysicalDevice, @@ -320,6 +338,7 @@ pub trait InstanceV1_0 { memory_prop } + #[doc = ""] unsafe fn get_physical_device_properties( &self, physical_device: vk::PhysicalDevice, @@ -330,6 +349,7 @@ pub trait InstanceV1_0 { prop } + #[doc = ""] unsafe fn get_physical_device_queue_family_properties( &self, physical_device: vk::PhysicalDevice, @@ -350,6 +370,7 @@ pub trait InstanceV1_0 { queue_families_vec } + #[doc = ""] unsafe fn get_physical_device_features( &self, physical_device: vk::PhysicalDevice, @@ -360,6 +381,7 @@ pub trait InstanceV1_0 { prop } + #[doc = ""] unsafe fn enumerate_physical_devices(&self) -> VkResult> { let mut num = mem::uninitialized(); self.fp_v1_0() @@ -377,6 +399,7 @@ pub trait InstanceV1_0 { } } + #[doc = ""] unsafe fn enumerate_device_extension_properties( &self, device: vk::PhysicalDevice, diff --git a/ash/src/lib.rs b/ash/src/lib.rs index 43581dd..d6e5fc2 100644 --- a/ash/src/lib.rs +++ b/ash/src/lib.rs @@ -1,9 +1,32 @@ -#[macro_use] -extern crate lazy_static; +//! # Vulkan API +//! +//! +//! +//! ## Examples +//! +//! ```rust,no_run +//! # #[macro_use] +//! # extern crate ash; +//! use ash::{vk, Entry, version::EntryV1_0}; +//! # fn main() -> Result<(), Box> { +//! let entry = Entry::new()?; +//! let app_info = vk::ApplicationInfo { +//! api_version: vk_make_version!(1, 0, 0), +//! ..Default::default() +//! }; +//! let create_info = vk::InstanceCreateInfo { +//! p_application_info: &app_info, +//! ..Default::default() +//! }; +//! let instance = unsafe { entry.create_instance(&create_info, None)? }; +//! # Ok(()) } +//! ``` +//! + extern crate shared_library; pub use device::Device; -pub use entry::{Entry, InstanceError, LoadingError}; +pub use entry::{Entry, EntryCustom, InstanceError, LoadingError}; pub use instance::Instance; mod device; diff --git a/ash/src/vk.rs b/ash/src/vk.rs index 7593d79..ef65913 100644 --- a/ash/src/vk.rs +++ b/ash/src/vk.rs @@ -20,24 +20,28 @@ pub trait Handle { fn as_raw(self) -> u64; fn from_raw(u64) -> Self; } +#[doc = ""] #[macro_export] macro_rules! vk_make_version { ( $ major : expr , $ minor : expr , $ patch : expr ) => { (($major as u32) << 22) | (($minor as u32) << 12) | $patch as u32 }; } +#[doc = ""] #[macro_export] macro_rules! vk_version_major { ( $ major : expr ) => { ($major as u32) >> 22 }; } +#[doc = ""] #[macro_export] macro_rules! vk_version_minor { ( $ minor : expr ) => { (($minor as u32) >> 12) & 0x3ff }; } +#[doc = ""] #[macro_export] macro_rules! vk_version_patch { ( $ minor : expr ) => { @@ -183,8 +187,12 @@ macro_rules! vk_bitflags_wrapped { #[macro_export] macro_rules! handle_nondispatchable { ( $ name : ident , $ ty : ident ) => { + handle_nondispatchable!($name, $ty, doc = ""); + }; + ( $ name : ident , $ ty : ident , $ doc_link : meta ) => { #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Default)] + #[$doc_link] pub struct $name(u64); impl Handle for $name { const TYPE: ObjectType = ObjectType::$ty; @@ -215,8 +223,12 @@ macro_rules! handle_nondispatchable { #[macro_export] macro_rules! define_handle { ( $ name : ident , $ ty : ident ) => { + define_handle!($name, $ty, doc = ""); + }; + ( $ name : ident , $ ty : ident , $ doc_link : meta ) => { #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash)] + #[$doc_link] pub struct $name(*mut u8); impl Default for $name { fn default() -> $name { @@ -294,6 +306,7 @@ impl StaticFn { }, } } + #[doc = ""] pub unsafe fn get_instance_proc_addr( &self, instance: Instance, @@ -408,6 +421,7 @@ impl EntryFnV1_0 { }, } } + #[doc = ""] pub unsafe fn create_instance( &self, p_create_info: *const InstanceCreateInfo, @@ -416,6 +430,7 @@ impl EntryFnV1_0 { ) -> Result { (self.create_instance)(p_create_info, p_allocator, p_instance) } + #[doc = ""] pub unsafe fn enumerate_instance_extension_properties( &self, p_layer_name: *const c_char, @@ -424,6 +439,7 @@ impl EntryFnV1_0 { ) -> Result { (self.enumerate_instance_extension_properties)(p_layer_name, p_property_count, p_properties) } + #[doc = ""] pub unsafe fn enumerate_instance_layer_properties( &self, p_property_count: *mut u32, @@ -870,6 +886,7 @@ impl InstanceFnV1_0 { }, } } + #[doc = ""] pub unsafe fn destroy_instance( &self, instance: Instance, @@ -877,6 +894,7 @@ impl InstanceFnV1_0 { ) -> c_void { (self.destroy_instance)(instance, p_allocator) } + #[doc = ""] pub unsafe fn enumerate_physical_devices( &self, instance: Instance, @@ -885,6 +903,7 @@ impl InstanceFnV1_0 { ) -> Result { (self.enumerate_physical_devices)(instance, p_physical_device_count, p_physical_devices) } + #[doc = ""] pub unsafe fn get_physical_device_features( &self, physical_device: PhysicalDevice, @@ -892,6 +911,7 @@ impl InstanceFnV1_0 { ) -> c_void { (self.get_physical_device_features)(physical_device, p_features) } + #[doc = ""] pub unsafe fn get_physical_device_format_properties( &self, physical_device: PhysicalDevice, @@ -900,6 +920,7 @@ impl InstanceFnV1_0 { ) -> c_void { (self.get_physical_device_format_properties)(physical_device, format, p_format_properties) } + #[doc = ""] pub unsafe fn get_physical_device_image_format_properties( &self, physical_device: PhysicalDevice, @@ -920,6 +941,7 @@ impl InstanceFnV1_0 { p_image_format_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_properties( &self, physical_device: PhysicalDevice, @@ -927,6 +949,7 @@ impl InstanceFnV1_0 { ) -> c_void { (self.get_physical_device_properties)(physical_device, p_properties) } + #[doc = ""] pub unsafe fn get_physical_device_queue_family_properties( &self, physical_device: PhysicalDevice, @@ -939,6 +962,7 @@ impl InstanceFnV1_0 { p_queue_family_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_memory_properties( &self, physical_device: PhysicalDevice, @@ -946,6 +970,7 @@ impl InstanceFnV1_0 { ) -> c_void { (self.get_physical_device_memory_properties)(physical_device, p_memory_properties) } + #[doc = ""] pub unsafe fn get_device_proc_addr( &self, device: Device, @@ -953,6 +978,7 @@ impl InstanceFnV1_0 { ) -> PFN_vkVoidFunction { (self.get_device_proc_addr)(device, p_name) } + #[doc = ""] pub unsafe fn create_device( &self, physical_device: PhysicalDevice, @@ -962,6 +988,7 @@ impl InstanceFnV1_0 { ) -> Result { (self.create_device)(physical_device, p_create_info, p_allocator, p_device) } + #[doc = ""] pub unsafe fn enumerate_device_extension_properties( &self, physical_device: PhysicalDevice, @@ -976,6 +1003,7 @@ impl InstanceFnV1_0 { p_properties, ) } + #[doc = ""] pub unsafe fn enumerate_device_layer_properties( &self, physical_device: PhysicalDevice, @@ -984,6 +1012,7 @@ impl InstanceFnV1_0 { ) -> Result { (self.enumerate_device_layer_properties)(physical_device, p_property_count, p_properties) } + #[doc = ""] pub unsafe fn get_physical_device_sparse_image_format_properties( &self, physical_device: PhysicalDevice, @@ -4854,6 +4883,7 @@ impl DeviceFnV1_0 { }, } } + #[doc = ""] pub unsafe fn destroy_device( &self, device: Device, @@ -4861,6 +4891,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_device)(device, p_allocator) } + #[doc = ""] pub unsafe fn get_device_queue( &self, device: Device, @@ -4870,6 +4901,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_device_queue)(device, queue_family_index, queue_index, p_queue) } + #[doc = ""] pub unsafe fn queue_submit( &self, queue: Queue, @@ -4879,12 +4911,15 @@ impl DeviceFnV1_0 { ) -> Result { (self.queue_submit)(queue, submit_count, p_submits, fence) } + #[doc = ""] pub unsafe fn queue_wait_idle(&self, queue: Queue) -> Result { (self.queue_wait_idle)(queue) } + #[doc = ""] pub unsafe fn device_wait_idle(&self, device: Device) -> Result { (self.device_wait_idle)(device) } + #[doc = ""] pub unsafe fn allocate_memory( &self, device: Device, @@ -4894,6 +4929,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.allocate_memory)(device, p_allocate_info, p_allocator, p_memory) } + #[doc = ""] pub unsafe fn free_memory( &self, device: Device, @@ -4902,6 +4938,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.free_memory)(device, memory, p_allocator) } + #[doc = ""] pub unsafe fn map_memory( &self, device: Device, @@ -4913,9 +4950,11 @@ impl DeviceFnV1_0 { ) -> Result { (self.map_memory)(device, memory, offset, size, flags, pp_data) } + #[doc = ""] pub unsafe fn unmap_memory(&self, device: Device, memory: DeviceMemory) -> c_void { (self.unmap_memory)(device, memory) } + #[doc = ""] pub unsafe fn flush_mapped_memory_ranges( &self, device: Device, @@ -4924,6 +4963,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.flush_mapped_memory_ranges)(device, memory_range_count, p_memory_ranges) } + #[doc = ""] pub unsafe fn invalidate_mapped_memory_ranges( &self, device: Device, @@ -4932,6 +4972,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.invalidate_mapped_memory_ranges)(device, memory_range_count, p_memory_ranges) } + #[doc = ""] pub unsafe fn get_device_memory_commitment( &self, device: Device, @@ -4940,6 +4981,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_device_memory_commitment)(device, memory, p_committed_memory_in_bytes) } + #[doc = ""] pub unsafe fn bind_buffer_memory( &self, device: Device, @@ -4949,6 +4991,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.bind_buffer_memory)(device, buffer, memory, memory_offset) } + #[doc = ""] pub unsafe fn bind_image_memory( &self, device: Device, @@ -4958,6 +5001,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.bind_image_memory)(device, image, memory, memory_offset) } + #[doc = ""] pub unsafe fn get_buffer_memory_requirements( &self, device: Device, @@ -4966,6 +5010,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_buffer_memory_requirements)(device, buffer, p_memory_requirements) } + #[doc = ""] pub unsafe fn get_image_memory_requirements( &self, device: Device, @@ -4974,6 +5019,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_image_memory_requirements)(device, image, p_memory_requirements) } + #[doc = ""] pub unsafe fn get_image_sparse_memory_requirements( &self, device: Device, @@ -4988,6 +5034,7 @@ impl DeviceFnV1_0 { p_sparse_memory_requirements, ) } + #[doc = ""] pub unsafe fn queue_bind_sparse( &self, queue: Queue, @@ -4997,6 +5044,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.queue_bind_sparse)(queue, bind_info_count, p_bind_info, fence) } + #[doc = ""] pub unsafe fn create_fence( &self, device: Device, @@ -5006,6 +5054,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_fence)(device, p_create_info, p_allocator, p_fence) } + #[doc = ""] pub unsafe fn destroy_fence( &self, device: Device, @@ -5014,6 +5063,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_fence)(device, fence, p_allocator) } + #[doc = ""] pub unsafe fn reset_fences( &self, device: Device, @@ -5022,9 +5072,11 @@ impl DeviceFnV1_0 { ) -> Result { (self.reset_fences)(device, fence_count, p_fences) } + #[doc = ""] pub unsafe fn get_fence_status(&self, device: Device, fence: Fence) -> Result { (self.get_fence_status)(device, fence) } + #[doc = ""] pub unsafe fn wait_for_fences( &self, device: Device, @@ -5035,6 +5087,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.wait_for_fences)(device, fence_count, p_fences, wait_all, timeout) } + #[doc = ""] pub unsafe fn create_semaphore( &self, device: Device, @@ -5044,6 +5097,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_semaphore)(device, p_create_info, p_allocator, p_semaphore) } + #[doc = ""] pub unsafe fn destroy_semaphore( &self, device: Device, @@ -5052,6 +5106,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_semaphore)(device, semaphore, p_allocator) } + #[doc = ""] pub unsafe fn create_event( &self, device: Device, @@ -5061,6 +5116,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_event)(device, p_create_info, p_allocator, p_event) } + #[doc = ""] pub unsafe fn destroy_event( &self, device: Device, @@ -5069,15 +5125,19 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_event)(device, event, p_allocator) } + #[doc = ""] pub unsafe fn get_event_status(&self, device: Device, event: Event) -> Result { (self.get_event_status)(device, event) } + #[doc = ""] pub unsafe fn set_event(&self, device: Device, event: Event) -> Result { (self.set_event)(device, event) } + #[doc = ""] pub unsafe fn reset_event(&self, device: Device, event: Event) -> Result { (self.reset_event)(device, event) } + #[doc = ""] pub unsafe fn create_query_pool( &self, device: Device, @@ -5087,6 +5147,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_query_pool)(device, p_create_info, p_allocator, p_query_pool) } + #[doc = ""] pub unsafe fn destroy_query_pool( &self, device: Device, @@ -5095,6 +5156,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_query_pool)(device, query_pool, p_allocator) } + #[doc = ""] pub unsafe fn get_query_pool_results( &self, device: Device, @@ -5117,6 +5179,7 @@ impl DeviceFnV1_0 { flags, ) } + #[doc = ""] pub unsafe fn create_buffer( &self, device: Device, @@ -5126,6 +5189,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_buffer)(device, p_create_info, p_allocator, p_buffer) } + #[doc = ""] pub unsafe fn destroy_buffer( &self, device: Device, @@ -5134,6 +5198,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_buffer)(device, buffer, p_allocator) } + #[doc = ""] pub unsafe fn create_buffer_view( &self, device: Device, @@ -5143,6 +5208,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_buffer_view)(device, p_create_info, p_allocator, p_view) } + #[doc = ""] pub unsafe fn destroy_buffer_view( &self, device: Device, @@ -5151,6 +5217,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_buffer_view)(device, buffer_view, p_allocator) } + #[doc = ""] pub unsafe fn create_image( &self, device: Device, @@ -5160,6 +5227,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_image)(device, p_create_info, p_allocator, p_image) } + #[doc = ""] pub unsafe fn destroy_image( &self, device: Device, @@ -5168,6 +5236,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_image)(device, image, p_allocator) } + #[doc = ""] pub unsafe fn get_image_subresource_layout( &self, device: Device, @@ -5177,6 +5246,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_image_subresource_layout)(device, image, p_subresource, p_layout) } + #[doc = ""] pub unsafe fn create_image_view( &self, device: Device, @@ -5186,6 +5256,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_image_view)(device, p_create_info, p_allocator, p_view) } + #[doc = ""] pub unsafe fn destroy_image_view( &self, device: Device, @@ -5194,6 +5265,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_image_view)(device, image_view, p_allocator) } + #[doc = ""] pub unsafe fn create_shader_module( &self, device: Device, @@ -5203,6 +5275,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_shader_module)(device, p_create_info, p_allocator, p_shader_module) } + #[doc = ""] pub unsafe fn destroy_shader_module( &self, device: Device, @@ -5211,6 +5284,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_shader_module)(device, shader_module, p_allocator) } + #[doc = ""] pub unsafe fn create_pipeline_cache( &self, device: Device, @@ -5220,6 +5294,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_pipeline_cache)(device, p_create_info, p_allocator, p_pipeline_cache) } + #[doc = ""] pub unsafe fn destroy_pipeline_cache( &self, device: Device, @@ -5228,6 +5303,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_pipeline_cache)(device, pipeline_cache, p_allocator) } + #[doc = ""] pub unsafe fn get_pipeline_cache_data( &self, device: Device, @@ -5237,6 +5313,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.get_pipeline_cache_data)(device, pipeline_cache, p_data_size, p_data) } + #[doc = ""] pub unsafe fn merge_pipeline_caches( &self, device: Device, @@ -5246,6 +5323,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.merge_pipeline_caches)(device, dst_cache, src_cache_count, p_src_caches) } + #[doc = ""] pub unsafe fn create_graphics_pipelines( &self, device: Device, @@ -5264,6 +5342,7 @@ impl DeviceFnV1_0 { p_pipelines, ) } + #[doc = ""] pub unsafe fn create_compute_pipelines( &self, device: Device, @@ -5282,6 +5361,7 @@ impl DeviceFnV1_0 { p_pipelines, ) } + #[doc = ""] pub unsafe fn destroy_pipeline( &self, device: Device, @@ -5290,6 +5370,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_pipeline)(device, pipeline, p_allocator) } + #[doc = ""] pub unsafe fn create_pipeline_layout( &self, device: Device, @@ -5299,6 +5380,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_pipeline_layout)(device, p_create_info, p_allocator, p_pipeline_layout) } + #[doc = ""] pub unsafe fn destroy_pipeline_layout( &self, device: Device, @@ -5307,6 +5389,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_pipeline_layout)(device, pipeline_layout, p_allocator) } + #[doc = ""] pub unsafe fn create_sampler( &self, device: Device, @@ -5316,6 +5399,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_sampler)(device, p_create_info, p_allocator, p_sampler) } + #[doc = ""] pub unsafe fn destroy_sampler( &self, device: Device, @@ -5324,6 +5408,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_sampler)(device, sampler, p_allocator) } + #[doc = ""] pub unsafe fn create_descriptor_set_layout( &self, device: Device, @@ -5333,6 +5418,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_descriptor_set_layout)(device, p_create_info, p_allocator, p_set_layout) } + #[doc = ""] pub unsafe fn destroy_descriptor_set_layout( &self, device: Device, @@ -5341,6 +5427,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_descriptor_set_layout)(device, descriptor_set_layout, p_allocator) } + #[doc = ""] pub unsafe fn create_descriptor_pool( &self, device: Device, @@ -5350,6 +5437,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_descriptor_pool)(device, p_create_info, p_allocator, p_descriptor_pool) } + #[doc = ""] pub unsafe fn destroy_descriptor_pool( &self, device: Device, @@ -5358,6 +5446,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_descriptor_pool)(device, descriptor_pool, p_allocator) } + #[doc = ""] pub unsafe fn reset_descriptor_pool( &self, device: Device, @@ -5366,6 +5455,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.reset_descriptor_pool)(device, descriptor_pool, flags) } + #[doc = ""] pub unsafe fn allocate_descriptor_sets( &self, device: Device, @@ -5374,6 +5464,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.allocate_descriptor_sets)(device, p_allocate_info, p_descriptor_sets) } + #[doc = ""] pub unsafe fn free_descriptor_sets( &self, device: Device, @@ -5388,6 +5479,7 @@ impl DeviceFnV1_0 { p_descriptor_sets, ) } + #[doc = ""] pub unsafe fn update_descriptor_sets( &self, device: Device, @@ -5404,6 +5496,7 @@ impl DeviceFnV1_0 { p_descriptor_copies, ) } + #[doc = ""] pub unsafe fn create_framebuffer( &self, device: Device, @@ -5413,6 +5506,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_framebuffer)(device, p_create_info, p_allocator, p_framebuffer) } + #[doc = ""] pub unsafe fn destroy_framebuffer( &self, device: Device, @@ -5421,6 +5515,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_framebuffer)(device, framebuffer, p_allocator) } + #[doc = ""] pub unsafe fn create_render_pass( &self, device: Device, @@ -5430,6 +5525,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_render_pass)(device, p_create_info, p_allocator, p_render_pass) } + #[doc = ""] pub unsafe fn destroy_render_pass( &self, device: Device, @@ -5438,6 +5534,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_render_pass)(device, render_pass, p_allocator) } + #[doc = ""] pub unsafe fn get_render_area_granularity( &self, device: Device, @@ -5446,6 +5543,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.get_render_area_granularity)(device, render_pass, p_granularity) } + #[doc = ""] pub unsafe fn create_command_pool( &self, device: Device, @@ -5455,6 +5553,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.create_command_pool)(device, p_create_info, p_allocator, p_command_pool) } + #[doc = ""] pub unsafe fn destroy_command_pool( &self, device: Device, @@ -5463,6 +5562,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.destroy_command_pool)(device, command_pool, p_allocator) } + #[doc = ""] pub unsafe fn reset_command_pool( &self, device: Device, @@ -5471,6 +5571,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.reset_command_pool)(device, command_pool, flags) } + #[doc = ""] pub unsafe fn allocate_command_buffers( &self, device: Device, @@ -5479,6 +5580,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.allocate_command_buffers)(device, p_allocate_info, p_command_buffers) } + #[doc = ""] pub unsafe fn free_command_buffers( &self, device: Device, @@ -5493,6 +5595,7 @@ impl DeviceFnV1_0 { p_command_buffers, ) } + #[doc = ""] pub unsafe fn begin_command_buffer( &self, command_buffer: CommandBuffer, @@ -5500,9 +5603,11 @@ impl DeviceFnV1_0 { ) -> Result { (self.begin_command_buffer)(command_buffer, p_begin_info) } + #[doc = ""] pub unsafe fn end_command_buffer(&self, command_buffer: CommandBuffer) -> Result { (self.end_command_buffer)(command_buffer) } + #[doc = ""] pub unsafe fn reset_command_buffer( &self, command_buffer: CommandBuffer, @@ -5510,6 +5615,7 @@ impl DeviceFnV1_0 { ) -> Result { (self.reset_command_buffer)(command_buffer, flags) } + #[doc = ""] pub unsafe fn cmd_bind_pipeline( &self, command_buffer: CommandBuffer, @@ -5518,6 +5624,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_bind_pipeline)(command_buffer, pipeline_bind_point, pipeline) } + #[doc = ""] pub unsafe fn cmd_set_viewport( &self, command_buffer: CommandBuffer, @@ -5527,6 +5634,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_viewport)(command_buffer, first_viewport, viewport_count, p_viewports) } + #[doc = ""] pub unsafe fn cmd_set_scissor( &self, command_buffer: CommandBuffer, @@ -5536,6 +5644,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_scissor)(command_buffer, first_scissor, scissor_count, p_scissors) } + #[doc = ""] pub unsafe fn cmd_set_line_width( &self, command_buffer: CommandBuffer, @@ -5543,6 +5652,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_line_width)(command_buffer, line_width) } + #[doc = ""] pub unsafe fn cmd_set_depth_bias( &self, command_buffer: CommandBuffer, @@ -5557,6 +5667,7 @@ impl DeviceFnV1_0 { depth_bias_slope_factor, ) } + #[doc = ""] pub unsafe fn cmd_set_blend_constants( &self, command_buffer: CommandBuffer, @@ -5564,6 +5675,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_blend_constants)(command_buffer, blend_constants) } + #[doc = ""] pub unsafe fn cmd_set_depth_bounds( &self, command_buffer: CommandBuffer, @@ -5572,6 +5684,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_depth_bounds)(command_buffer, min_depth_bounds, max_depth_bounds) } + #[doc = ""] pub unsafe fn cmd_set_stencil_compare_mask( &self, command_buffer: CommandBuffer, @@ -5580,6 +5693,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_stencil_compare_mask)(command_buffer, face_mask, compare_mask) } + #[doc = ""] pub unsafe fn cmd_set_stencil_write_mask( &self, command_buffer: CommandBuffer, @@ -5588,6 +5702,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_stencil_write_mask)(command_buffer, face_mask, write_mask) } + #[doc = ""] pub unsafe fn cmd_set_stencil_reference( &self, command_buffer: CommandBuffer, @@ -5596,6 +5711,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_stencil_reference)(command_buffer, face_mask, reference) } + #[doc = ""] pub unsafe fn cmd_bind_descriptor_sets( &self, command_buffer: CommandBuffer, @@ -5618,6 +5734,7 @@ impl DeviceFnV1_0 { p_dynamic_offsets, ) } + #[doc = ""] pub unsafe fn cmd_bind_index_buffer( &self, command_buffer: CommandBuffer, @@ -5627,6 +5744,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_bind_index_buffer)(command_buffer, buffer, offset, index_type) } + #[doc = ""] pub unsafe fn cmd_bind_vertex_buffers( &self, command_buffer: CommandBuffer, @@ -5643,6 +5761,7 @@ impl DeviceFnV1_0 { p_offsets, ) } + #[doc = ""] pub unsafe fn cmd_draw( &self, command_buffer: CommandBuffer, @@ -5659,6 +5778,7 @@ impl DeviceFnV1_0 { first_instance, ) } + #[doc = ""] pub unsafe fn cmd_draw_indexed( &self, command_buffer: CommandBuffer, @@ -5677,6 +5797,7 @@ impl DeviceFnV1_0 { first_instance, ) } + #[doc = ""] pub unsafe fn cmd_draw_indirect( &self, command_buffer: CommandBuffer, @@ -5687,6 +5808,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_draw_indirect)(command_buffer, buffer, offset, draw_count, stride) } + #[doc = ""] pub unsafe fn cmd_draw_indexed_indirect( &self, command_buffer: CommandBuffer, @@ -5697,6 +5819,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_draw_indexed_indirect)(command_buffer, buffer, offset, draw_count, stride) } + #[doc = ""] pub unsafe fn cmd_dispatch( &self, command_buffer: CommandBuffer, @@ -5706,6 +5829,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_dispatch)(command_buffer, group_count_x, group_count_y, group_count_z) } + #[doc = ""] pub unsafe fn cmd_dispatch_indirect( &self, command_buffer: CommandBuffer, @@ -5714,6 +5838,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_dispatch_indirect)(command_buffer, buffer, offset) } + #[doc = ""] pub unsafe fn cmd_copy_buffer( &self, command_buffer: CommandBuffer, @@ -5730,6 +5855,7 @@ impl DeviceFnV1_0 { p_regions, ) } + #[doc = ""] pub unsafe fn cmd_copy_image( &self, command_buffer: CommandBuffer, @@ -5750,6 +5876,7 @@ impl DeviceFnV1_0 { p_regions, ) } + #[doc = ""] pub unsafe fn cmd_blit_image( &self, command_buffer: CommandBuffer, @@ -5772,6 +5899,7 @@ impl DeviceFnV1_0 { filter, ) } + #[doc = ""] pub unsafe fn cmd_copy_buffer_to_image( &self, command_buffer: CommandBuffer, @@ -5790,6 +5918,7 @@ impl DeviceFnV1_0 { p_regions, ) } + #[doc = ""] pub unsafe fn cmd_copy_image_to_buffer( &self, command_buffer: CommandBuffer, @@ -5808,6 +5937,7 @@ impl DeviceFnV1_0 { p_regions, ) } + #[doc = ""] pub unsafe fn cmd_update_buffer( &self, command_buffer: CommandBuffer, @@ -5818,6 +5948,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_update_buffer)(command_buffer, dst_buffer, dst_offset, data_size, p_data) } + #[doc = ""] pub unsafe fn cmd_fill_buffer( &self, command_buffer: CommandBuffer, @@ -5828,6 +5959,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_fill_buffer)(command_buffer, dst_buffer, dst_offset, size, data) } + #[doc = ""] pub unsafe fn cmd_clear_color_image( &self, command_buffer: CommandBuffer, @@ -5846,6 +5978,7 @@ impl DeviceFnV1_0 { p_ranges, ) } + #[doc = ""] pub unsafe fn cmd_clear_depth_stencil_image( &self, command_buffer: CommandBuffer, @@ -5864,6 +5997,7 @@ impl DeviceFnV1_0 { p_ranges, ) } + #[doc = ""] pub unsafe fn cmd_clear_attachments( &self, command_buffer: CommandBuffer, @@ -5880,6 +6014,7 @@ impl DeviceFnV1_0 { p_rects, ) } + #[doc = ""] pub unsafe fn cmd_resolve_image( &self, command_buffer: CommandBuffer, @@ -5900,6 +6035,7 @@ impl DeviceFnV1_0 { p_regions, ) } + #[doc = ""] pub unsafe fn cmd_set_event( &self, command_buffer: CommandBuffer, @@ -5908,6 +6044,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_set_event)(command_buffer, event, stage_mask) } + #[doc = ""] pub unsafe fn cmd_reset_event( &self, command_buffer: CommandBuffer, @@ -5916,6 +6053,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_reset_event)(command_buffer, event, stage_mask) } + #[doc = ""] pub unsafe fn cmd_wait_events( &self, command_buffer: CommandBuffer, @@ -5944,6 +6082,7 @@ impl DeviceFnV1_0 { p_image_memory_barriers, ) } + #[doc = ""] pub unsafe fn cmd_pipeline_barrier( &self, command_buffer: CommandBuffer, @@ -5970,6 +6109,7 @@ impl DeviceFnV1_0 { p_image_memory_barriers, ) } + #[doc = ""] pub unsafe fn cmd_begin_query( &self, command_buffer: CommandBuffer, @@ -5979,6 +6119,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_begin_query)(command_buffer, query_pool, query, flags) } + #[doc = ""] pub unsafe fn cmd_end_query( &self, command_buffer: CommandBuffer, @@ -5987,6 +6128,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_end_query)(command_buffer, query_pool, query) } + #[doc = ""] pub unsafe fn cmd_reset_query_pool( &self, command_buffer: CommandBuffer, @@ -5996,6 +6138,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_reset_query_pool)(command_buffer, query_pool, first_query, query_count) } + #[doc = ""] pub unsafe fn cmd_write_timestamp( &self, command_buffer: CommandBuffer, @@ -6005,6 +6148,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_write_timestamp)(command_buffer, pipeline_stage, query_pool, query) } + #[doc = ""] pub unsafe fn cmd_copy_query_pool_results( &self, command_buffer: CommandBuffer, @@ -6027,6 +6171,7 @@ impl DeviceFnV1_0 { flags, ) } + #[doc = ""] pub unsafe fn cmd_push_constants( &self, command_buffer: CommandBuffer, @@ -6038,6 +6183,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_push_constants)(command_buffer, layout, stage_flags, offset, size, p_values) } + #[doc = ""] pub unsafe fn cmd_begin_render_pass( &self, command_buffer: CommandBuffer, @@ -6046,6 +6192,7 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_begin_render_pass)(command_buffer, p_render_pass_begin, contents) } + #[doc = ""] pub unsafe fn cmd_next_subpass( &self, command_buffer: CommandBuffer, @@ -6053,9 +6200,11 @@ impl DeviceFnV1_0 { ) -> c_void { (self.cmd_next_subpass)(command_buffer, contents) } + #[doc = ""] pub unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer) -> c_void { (self.cmd_end_render_pass)(command_buffer) } + #[doc = ""] pub unsafe fn cmd_execute_commands( &self, command_buffer: CommandBuffer, @@ -6103,6 +6252,7 @@ impl EntryFnV1_1 { }, } } + #[doc = ""] pub unsafe fn enumerate_instance_version(&self, p_api_version: *mut u32) -> Result { (self.enumerate_instance_version)(p_api_version) } @@ -6477,6 +6627,7 @@ impl InstanceFnV1_1 { }, } } + #[doc = ""] pub unsafe fn enumerate_physical_device_groups( &self, instance: Instance, @@ -6489,6 +6640,7 @@ impl InstanceFnV1_1 { p_physical_device_group_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_features2( &self, physical_device: PhysicalDevice, @@ -6496,6 +6648,7 @@ impl InstanceFnV1_1 { ) -> c_void { (self.get_physical_device_features2)(physical_device, p_features) } + #[doc = ""] pub unsafe fn get_physical_device_properties2( &self, physical_device: PhysicalDevice, @@ -6503,6 +6656,7 @@ impl InstanceFnV1_1 { ) -> c_void { (self.get_physical_device_properties2)(physical_device, p_properties) } + #[doc = ""] pub unsafe fn get_physical_device_format_properties2( &self, physical_device: PhysicalDevice, @@ -6511,6 +6665,7 @@ impl InstanceFnV1_1 { ) -> c_void { (self.get_physical_device_format_properties2)(physical_device, format, p_format_properties) } + #[doc = ""] pub unsafe fn get_physical_device_image_format_properties2( &self, physical_device: PhysicalDevice, @@ -6523,6 +6678,7 @@ impl InstanceFnV1_1 { p_image_format_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_queue_family_properties2( &self, physical_device: PhysicalDevice, @@ -6535,6 +6691,7 @@ impl InstanceFnV1_1 { p_queue_family_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_memory_properties2( &self, physical_device: PhysicalDevice, @@ -6542,6 +6699,7 @@ impl InstanceFnV1_1 { ) -> c_void { (self.get_physical_device_memory_properties2)(physical_device, p_memory_properties) } + #[doc = ""] pub unsafe fn get_physical_device_sparse_image_format_properties2( &self, physical_device: PhysicalDevice, @@ -6556,6 +6714,7 @@ impl InstanceFnV1_1 { p_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_external_buffer_properties( &self, physical_device: PhysicalDevice, @@ -6568,6 +6727,7 @@ impl InstanceFnV1_1 { p_external_buffer_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_external_fence_properties( &self, physical_device: PhysicalDevice, @@ -6580,6 +6740,7 @@ impl InstanceFnV1_1 { p_external_fence_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_external_semaphore_properties( &self, physical_device: PhysicalDevice, @@ -7128,6 +7289,7 @@ impl DeviceFnV1_1 { }, } } + #[doc = ""] pub unsafe fn bind_buffer_memory2( &self, device: Device, @@ -7136,6 +7298,7 @@ impl DeviceFnV1_1 { ) -> Result { (self.bind_buffer_memory2)(device, bind_info_count, p_bind_infos) } + #[doc = ""] pub unsafe fn bind_image_memory2( &self, device: Device, @@ -7144,6 +7307,7 @@ impl DeviceFnV1_1 { ) -> Result { (self.bind_image_memory2)(device, bind_info_count, p_bind_infos) } + #[doc = ""] pub unsafe fn get_device_group_peer_memory_features( &self, device: Device, @@ -7160,6 +7324,7 @@ impl DeviceFnV1_1 { p_peer_memory_features, ) } + #[doc = ""] pub unsafe fn cmd_set_device_mask( &self, command_buffer: CommandBuffer, @@ -7167,6 +7332,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.cmd_set_device_mask)(command_buffer, device_mask) } + #[doc = ""] pub unsafe fn cmd_dispatch_base( &self, command_buffer: CommandBuffer, @@ -7187,6 +7353,7 @@ impl DeviceFnV1_1 { group_count_z, ) } + #[doc = ""] pub unsafe fn get_image_memory_requirements2( &self, device: Device, @@ -7195,6 +7362,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.get_image_memory_requirements2)(device, p_info, p_memory_requirements) } + #[doc = ""] pub unsafe fn get_buffer_memory_requirements2( &self, device: Device, @@ -7203,6 +7371,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.get_buffer_memory_requirements2)(device, p_info, p_memory_requirements) } + #[doc = ""] pub unsafe fn get_image_sparse_memory_requirements2( &self, device: Device, @@ -7217,6 +7386,7 @@ impl DeviceFnV1_1 { p_sparse_memory_requirements, ) } + #[doc = ""] pub unsafe fn trim_command_pool( &self, device: Device, @@ -7225,6 +7395,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.trim_command_pool)(device, command_pool, flags) } + #[doc = ""] pub unsafe fn get_device_queue2( &self, device: Device, @@ -7233,6 +7404,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.get_device_queue2)(device, p_queue_info, p_queue) } + #[doc = ""] pub unsafe fn create_sampler_ycbcr_conversion( &self, device: Device, @@ -7247,6 +7419,7 @@ impl DeviceFnV1_1 { p_ycbcr_conversion, ) } + #[doc = ""] pub unsafe fn destroy_sampler_ycbcr_conversion( &self, device: Device, @@ -7255,6 +7428,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.destroy_sampler_ycbcr_conversion)(device, ycbcr_conversion, p_allocator) } + #[doc = ""] pub unsafe fn create_descriptor_update_template( &self, device: Device, @@ -7269,6 +7443,7 @@ impl DeviceFnV1_1 { p_descriptor_update_template, ) } + #[doc = ""] pub unsafe fn destroy_descriptor_update_template( &self, device: Device, @@ -7277,6 +7452,7 @@ impl DeviceFnV1_1 { ) -> c_void { (self.destroy_descriptor_update_template)(device, descriptor_update_template, p_allocator) } + #[doc = ""] pub unsafe fn update_descriptor_set_with_template( &self, device: Device, @@ -7291,6 +7467,7 @@ impl DeviceFnV1_1 { p_data, ) } + #[doc = ""] pub unsafe fn get_descriptor_set_layout_support( &self, device: Device, @@ -7300,181 +7477,229 @@ impl DeviceFnV1_1 { (self.get_descriptor_set_layout_support)(device, p_create_info, p_support) } } +#[doc = ""] pub type SampleMask = u32; +#[doc = ""] pub type Bool32 = u32; +#[doc = ""] pub type Flags = u32; +#[doc = ""] pub type DeviceSize = u64; +#[doc = ""] pub type DeviceAddress = u64; #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct FramebufferCreateFlags(Flags); vk_bitflags_wrapped!(FramebufferCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct QueryPoolCreateFlags(Flags); vk_bitflags_wrapped!(QueryPoolCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineLayoutCreateFlags(Flags); vk_bitflags_wrapped!(PipelineLayoutCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineCacheCreateFlags(Flags); vk_bitflags_wrapped!(PipelineCacheCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineDepthStencilStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineDepthStencilStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineDynamicStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineDynamicStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineColorBlendStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineColorBlendStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineMultisampleStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineMultisampleStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineRasterizationStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineRasterizationStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineViewportStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineViewportStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineTessellationStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineTessellationStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineInputAssemblyStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineInputAssemblyStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineVertexInputStateCreateFlags(Flags); vk_bitflags_wrapped!(PipelineVertexInputStateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineShaderStageCreateFlags(Flags); vk_bitflags_wrapped!(PipelineShaderStageCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct BufferViewCreateFlags(Flags); vk_bitflags_wrapped!(BufferViewCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct InstanceCreateFlags(Flags); vk_bitflags_wrapped!(InstanceCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DeviceCreateFlags(Flags); vk_bitflags_wrapped!(DeviceCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SemaphoreCreateFlags(Flags); vk_bitflags_wrapped!(SemaphoreCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ShaderModuleCreateFlags(Flags); vk_bitflags_wrapped!(ShaderModuleCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct EventCreateFlags(Flags); vk_bitflags_wrapped!(EventCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct MemoryMapFlags(Flags); vk_bitflags_wrapped!(MemoryMapFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DescriptorPoolResetFlags(Flags); vk_bitflags_wrapped!(DescriptorPoolResetFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DescriptorUpdateTemplateCreateFlags(Flags); vk_bitflags_wrapped!(DescriptorUpdateTemplateCreateFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DisplayModeCreateFlagsKHR(Flags); vk_bitflags_wrapped!(DisplayModeCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DisplaySurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(DisplaySurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct AndroidSurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(AndroidSurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ViSurfaceCreateFlagsNN(Flags); vk_bitflags_wrapped!(ViSurfaceCreateFlagsNN, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct WaylandSurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(WaylandSurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct Win32SurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(Win32SurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct XlibSurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(XlibSurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct XcbSurfaceCreateFlagsKHR(Flags); vk_bitflags_wrapped!(XcbSurfaceCreateFlagsKHR, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct IOSSurfaceCreateFlagsMVK(Flags); vk_bitflags_wrapped!(IOSSurfaceCreateFlagsMVK, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct MacOSSurfaceCreateFlagsMVK(Flags); vk_bitflags_wrapped!(MacOSSurfaceCreateFlagsMVK, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ImagePipeSurfaceCreateFlagsFUCHSIA(Flags); vk_bitflags_wrapped!(ImagePipeSurfaceCreateFlagsFUCHSIA, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CommandPoolTrimFlags(Flags); vk_bitflags_wrapped!(CommandPoolTrimFlags, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineViewportSwizzleStateCreateFlagsNV(Flags); vk_bitflags_wrapped!(PipelineViewportSwizzleStateCreateFlagsNV, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineDiscardRectangleStateCreateFlagsEXT(Flags); vk_bitflags_wrapped!(PipelineDiscardRectangleStateCreateFlagsEXT, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineCoverageToColorStateCreateFlagsNV(Flags); vk_bitflags_wrapped!(PipelineCoverageToColorStateCreateFlagsNV, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineCoverageModulationStateCreateFlagsNV(Flags); vk_bitflags_wrapped!(PipelineCoverageModulationStateCreateFlagsNV, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ValidationCacheCreateFlagsEXT(Flags); vk_bitflags_wrapped!(ValidationCacheCreateFlagsEXT, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DebugUtilsMessengerCreateFlagsEXT(Flags); vk_bitflags_wrapped!(DebugUtilsMessengerCreateFlagsEXT, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DebugUtilsMessengerCallbackDataFlagsEXT(Flags); vk_bitflags_wrapped!(DebugUtilsMessengerCallbackDataFlagsEXT, 0b0, Flags); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineRasterizationConservativeStateCreateFlagsEXT(Flags); vk_bitflags_wrapped!( PipelineRasterizationConservativeStateCreateFlagsEXT, @@ -7483,46 +7708,119 @@ vk_bitflags_wrapped!( ); #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineRasterizationStateStreamCreateFlagsEXT(Flags); vk_bitflags_wrapped!(PipelineRasterizationStateStreamCreateFlagsEXT, 0b0, Flags); -define_handle!(Instance, INSTANCE); -define_handle!(PhysicalDevice, PHYSICAL_DEVICE); -define_handle!(Device, DEVICE); -define_handle!(Queue, QUEUE); -define_handle!(CommandBuffer, COMMAND_BUFFER); -handle_nondispatchable!(DeviceMemory, DEVICE_MEMORY); -handle_nondispatchable!(CommandPool, COMMAND_POOL); -handle_nondispatchable!(Buffer, BUFFER); -handle_nondispatchable!(BufferView, BUFFER_VIEW); -handle_nondispatchable!(Image, IMAGE); -handle_nondispatchable!(ImageView, IMAGE_VIEW); -handle_nondispatchable!(ShaderModule, SHADER_MODULE); -handle_nondispatchable!(Pipeline, PIPELINE); -handle_nondispatchable!(PipelineLayout, PIPELINE_LAYOUT); -handle_nondispatchable!(Sampler, SAMPLER); -handle_nondispatchable!(DescriptorSet, DESCRIPTOR_SET); -handle_nondispatchable!(DescriptorSetLayout, DESCRIPTOR_SET_LAYOUT); -handle_nondispatchable!(DescriptorPool, DESCRIPTOR_POOL); -handle_nondispatchable!(Fence, FENCE); -handle_nondispatchable!(Semaphore, SEMAPHORE); -handle_nondispatchable!(Event, EVENT); -handle_nondispatchable!(QueryPool, QUERY_POOL); -handle_nondispatchable!(Framebuffer, FRAMEBUFFER); -handle_nondispatchable!(RenderPass, RENDER_PASS); -handle_nondispatchable!(PipelineCache, PIPELINE_CACHE); -handle_nondispatchable!(ObjectTableNVX, OBJECT_TABLE_NVX); -handle_nondispatchable!(IndirectCommandsLayoutNVX, INDIRECT_COMMANDS_LAYOUT_NVX); -handle_nondispatchable!(DescriptorUpdateTemplate, DESCRIPTOR_UPDATE_TEMPLATE); -handle_nondispatchable!(SamplerYcbcrConversion, SAMPLER_YCBCR_CONVERSION); -handle_nondispatchable!(ValidationCacheEXT, VALIDATION_CACHE_EXT); -handle_nondispatchable!(AccelerationStructureNV, ACCELERATION_STRUCTURE_NV); -handle_nondispatchable!(DisplayKHR, DISPLAY_KHR); -handle_nondispatchable!(DisplayModeKHR, DISPLAY_MODE_KHR); -handle_nondispatchable!(SurfaceKHR, SURFACE_KHR); -handle_nondispatchable!(SwapchainKHR, SWAPCHAIN_KHR); -handle_nondispatchable!(DebugReportCallbackEXT, DEBUG_REPORT_CALLBACK_EXT); -handle_nondispatchable!(DebugUtilsMessengerEXT, DEBUG_UTILS_MESSENGER_EXT); +define_handle!( + Instance, + INSTANCE, + doc = "" +); +define_handle ! ( PhysicalDevice , PHYSICAL_DEVICE , doc = "" ) ; +define_handle!( + Device, + DEVICE, + doc = "" +); +define_handle!( + Queue, + QUEUE, + doc = "" +); +define_handle ! ( CommandBuffer , COMMAND_BUFFER , doc = "" ) ; +handle_nondispatchable ! ( DeviceMemory , DEVICE_MEMORY , doc = "" ) ; +handle_nondispatchable ! ( CommandPool , COMMAND_POOL , doc = "" ) ; +handle_nondispatchable!( + Buffer, + BUFFER, + doc = "" +); +handle_nondispatchable!( + BufferView, + BUFFER_VIEW, + doc = + "" +); +handle_nondispatchable!( + Image, + IMAGE, + doc = "" +); +handle_nondispatchable!( + ImageView, + IMAGE_VIEW, + doc = + "" +); +handle_nondispatchable ! ( ShaderModule , SHADER_MODULE , doc = "" ) ; +handle_nondispatchable!( + Pipeline, + PIPELINE, + doc = "" +); +handle_nondispatchable ! ( PipelineLayout , PIPELINE_LAYOUT , doc = "" ) ; +handle_nondispatchable!( + Sampler, + SAMPLER, + doc = "" +); +handle_nondispatchable ! ( DescriptorSet , DESCRIPTOR_SET , doc = "" ) ; +handle_nondispatchable ! ( DescriptorSetLayout , DESCRIPTOR_SET_LAYOUT , doc = "" ) ; +handle_nondispatchable ! ( DescriptorPool , DESCRIPTOR_POOL , doc = "" ) ; +handle_nondispatchable!( + Fence, + FENCE, + doc = "" +); +handle_nondispatchable!( + Semaphore, + SEMAPHORE, + doc = + "" +); +handle_nondispatchable!( + Event, + EVENT, + doc = "" +); +handle_nondispatchable!( + QueryPool, + QUERY_POOL, + doc = + "" +); +handle_nondispatchable ! ( Framebuffer , FRAMEBUFFER , doc = "" ) ; +handle_nondispatchable!( + RenderPass, + RENDER_PASS, + doc = + "" +); +handle_nondispatchable ! ( PipelineCache , PIPELINE_CACHE , doc = "" ) ; +handle_nondispatchable ! ( ObjectTableNVX , OBJECT_TABLE_NVX , doc = "" ) ; +handle_nondispatchable ! ( IndirectCommandsLayoutNVX , INDIRECT_COMMANDS_LAYOUT_NVX , doc = "" ) ; +handle_nondispatchable ! ( DescriptorUpdateTemplate , DESCRIPTOR_UPDATE_TEMPLATE , doc = "" ) ; +handle_nondispatchable ! ( SamplerYcbcrConversion , SAMPLER_YCBCR_CONVERSION , doc = "" ) ; +handle_nondispatchable ! ( ValidationCacheEXT , VALIDATION_CACHE_EXT , doc = "" ) ; +handle_nondispatchable ! ( AccelerationStructureNV , ACCELERATION_STRUCTURE_NV , doc = "" ) ; +handle_nondispatchable!( + DisplayKHR, + DISPLAY_KHR, + doc = + "" +); +handle_nondispatchable ! ( DisplayModeKHR , DISPLAY_MODE_KHR , doc = "" ) ; +handle_nondispatchable!( + SurfaceKHR, + SURFACE_KHR, + doc = + "" +); +handle_nondispatchable ! ( SwapchainKHR , SWAPCHAIN_KHR , doc = "" ) ; +handle_nondispatchable ! ( DebugReportCallbackEXT , DEBUG_REPORT_CALLBACK_EXT , doc = "" ) ; +handle_nondispatchable ! ( DebugUtilsMessengerEXT , DEBUG_UTILS_MESSENGER_EXT , doc = "" ) ; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkInternalAllocationNotification = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -7532,6 +7830,7 @@ pub type PFN_vkInternalAllocationNotification = Option< ) -> c_void, >; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkInternalFreeNotification = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -7541,6 +7840,7 @@ pub type PFN_vkInternalFreeNotification = Option< ) -> c_void, >; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkReallocationFunction = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -7551,6 +7851,7 @@ pub type PFN_vkReallocationFunction = Option< ) -> *mut c_void, >; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkAllocationFunction = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -7560,11 +7861,14 @@ pub type PFN_vkAllocationFunction = Option< ) -> *mut c_void, >; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkFreeFunction = Option c_void>; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkVoidFunction = Option c_void>; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkDebugReportCallbackEXT = Option< unsafe extern "system" fn( flags: DebugReportFlagsEXT, @@ -7578,6 +7882,7 @@ pub type PFN_vkDebugReportCallbackEXT = Option< ) -> Bool32, >; #[allow(non_camel_case_types)] +#[doc = ""] pub type PFN_vkDebugUtilsMessengerCallbackEXT = Option< unsafe extern "system" fn( message_severity: DebugUtilsMessageSeverityFlagsEXT, @@ -7588,6 +7893,7 @@ pub type PFN_vkDebugUtilsMessengerCallbackEXT = Option< >; #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BaseOutStructure { pub s_type: StructureType, pub p_next: *mut BaseOutStructure, @@ -7602,6 +7908,7 @@ impl ::std::default::Default for BaseOutStructure { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BaseInStructure { pub s_type: StructureType, pub p_next: *const BaseInStructure, @@ -7616,6 +7923,7 @@ impl ::std::default::Default for BaseInStructure { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct Offset2D { pub x: i32, pub y: i32, @@ -7659,6 +7967,7 @@ impl<'a> Offset2DBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct Offset3D { pub x: i32, pub y: i32, @@ -7707,6 +8016,7 @@ impl<'a> Offset3DBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct Extent2D { pub width: u32, pub height: u32, @@ -7750,6 +8060,7 @@ impl<'a> Extent2DBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug, PartialEq, Eq, Hash)] +#[doc = ""] pub struct Extent3D { pub width: u32, pub height: u32, @@ -7798,6 +8109,7 @@ impl<'a> Extent3DBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct Viewport { pub x: f32, pub y: f32, @@ -7861,6 +8173,7 @@ impl<'a> ViewportBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct Rect2D { pub offset: Offset2D, pub extent: Extent2D, @@ -7904,6 +8217,7 @@ impl<'a> Rect2DBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ClearRect { pub rect: Rect2D, pub base_array_layer: u32, @@ -7952,6 +8266,7 @@ impl<'a> ClearRectBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ComponentMapping { pub r: ComponentSwizzle, pub g: ComponentSwizzle, @@ -8005,6 +8320,7 @@ impl<'a> ComponentMappingBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct PhysicalDeviceProperties { pub api_version: u32, pub driver_version: u32, @@ -8127,6 +8443,7 @@ impl<'a> PhysicalDevicePropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct ExtensionProperties { pub extension_name: [c_char; MAX_EXTENSION_NAME_SIZE], pub spec_version: u32, @@ -8191,6 +8508,7 @@ impl<'a> ExtensionPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct LayerProperties { pub layer_name: [c_char; MAX_EXTENSION_NAME_SIZE], pub spec_version: u32, @@ -8277,6 +8595,7 @@ impl<'a> LayerPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ApplicationInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -8371,6 +8690,7 @@ impl<'a> ApplicationInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct AllocationCallbacks { pub p_user_data: *mut c_void, pub pfn_allocation: PFN_vkAllocationFunction, @@ -8482,6 +8802,7 @@ impl<'a> AllocationCallbacksBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceQueueCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -8570,6 +8891,7 @@ impl<'a> DeviceQueueCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -8682,6 +9004,7 @@ impl<'a> DeviceCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct InstanceCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -8782,6 +9105,7 @@ impl<'a> InstanceCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct QueueFamilyProperties { pub queue_flags: QueueFlags, pub queue_count: u32, @@ -8841,6 +9165,7 @@ impl<'a> QueueFamilyPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMemoryProperties { pub memory_type_count: u32, pub memory_types: [MemoryType; MAX_MEMORY_TYPES], @@ -8916,6 +9241,7 @@ impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryAllocateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -8989,6 +9315,7 @@ impl<'a> MemoryAllocateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct MemoryRequirements { pub size: DeviceSize, pub alignment: DeviceSize, @@ -9037,6 +9364,7 @@ impl<'a> MemoryRequirementsBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SparseImageFormatProperties { pub aspect_mask: ImageAspectFlags, pub image_granularity: Extent3D, @@ -9094,6 +9422,7 @@ impl<'a> SparseImageFormatPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SparseImageMemoryRequirements { pub format_properties: SparseImageFormatProperties, pub image_mip_tail_first_lod: u32, @@ -9167,6 +9496,7 @@ impl<'a> SparseImageMemoryRequirementsBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct MemoryType { pub property_flags: MemoryPropertyFlags, pub heap_index: u32, @@ -9210,6 +9540,7 @@ impl<'a> MemoryTypeBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct MemoryHeap { pub size: DeviceSize, pub flags: MemoryHeapFlags, @@ -9253,6 +9584,7 @@ impl<'a> MemoryHeapBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MappedMemoryRange { pub s_type: StructureType, pub p_next: *const c_void, @@ -9332,6 +9664,7 @@ impl<'a> MappedMemoryRangeBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct FormatProperties { pub linear_tiling_features: FormatFeatureFlags, pub optimal_tiling_features: FormatFeatureFlags, @@ -9389,6 +9722,7 @@ impl<'a> FormatPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageFormatProperties { pub max_extent: Extent3D, pub max_mip_levels: u32, @@ -9453,6 +9787,7 @@ impl<'a> ImageFormatPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DescriptorBufferInfo { pub buffer: Buffer, pub offset: DeviceSize, @@ -9501,6 +9836,7 @@ impl<'a> DescriptorBufferInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DescriptorImageInfo { pub sampler: Sampler, pub image_view: ImageView, @@ -9549,6 +9885,7 @@ impl<'a> DescriptorImageInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct WriteDescriptorSet { pub s_type: StructureType, pub p_next: *const c_void, @@ -9669,6 +10006,7 @@ impl<'a> WriteDescriptorSetBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CopyDescriptorSet { pub s_type: StructureType, pub p_next: *const c_void, @@ -9772,6 +10110,7 @@ impl<'a> CopyDescriptorSetBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -9869,6 +10208,7 @@ impl<'a> BufferCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferViewCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -9960,6 +10300,7 @@ impl<'a> BufferViewCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageSubresource { pub aspect_mask: ImageAspectFlags, pub mip_level: u32, @@ -10008,6 +10349,7 @@ impl<'a> ImageSubresourceBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageSubresourceLayers { pub aspect_mask: ImageAspectFlags, pub mip_level: u32, @@ -10064,6 +10406,7 @@ impl<'a> ImageSubresourceLayersBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageSubresourceRange { pub aspect_mask: ImageAspectFlags, pub base_mip_level: u32, @@ -10125,6 +10468,7 @@ impl<'a> ImageSubresourceRangeBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryBarrier { pub s_type: StructureType, pub p_next: *const c_void, @@ -10198,6 +10542,7 @@ impl<'a> MemoryBarrierBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferMemoryBarrier { pub s_type: StructureType, pub p_next: *const c_void, @@ -10313,6 +10658,7 @@ impl<'a> BufferMemoryBarrierBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageMemoryBarrier { pub s_type: StructureType, pub p_next: *const c_void, @@ -10437,6 +10783,7 @@ impl<'a> ImageMemoryBarrierBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -10576,6 +10923,7 @@ impl<'a> ImageCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SubresourceLayout { pub offset: DeviceSize, pub size: DeviceSize, @@ -10634,6 +10982,7 @@ impl<'a> SubresourceLayoutBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageViewCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -10734,6 +11083,7 @@ impl<'a> ImageViewCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct BufferCopy { pub src_offset: DeviceSize, pub dst_offset: DeviceSize, @@ -10782,6 +11132,7 @@ impl<'a> BufferCopyBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SparseMemoryBind { pub resource_offset: DeviceSize, pub size: DeviceSize, @@ -10840,6 +11191,7 @@ impl<'a> SparseMemoryBindBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SparseImageMemoryBind { pub subresource: ImageSubresource, pub offset: Offset3D, @@ -10906,6 +11258,7 @@ impl<'a> SparseImageMemoryBindBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SparseBufferMemoryBindInfo { pub buffer: Buffer, pub bind_count: u32, @@ -10960,6 +11313,7 @@ impl<'a> SparseBufferMemoryBindInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SparseImageOpaqueMemoryBindInfo { pub image: Image, pub bind_count: u32, @@ -11017,6 +11371,7 @@ impl<'a> SparseImageOpaqueMemoryBindInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SparseImageMemoryBindInfo { pub image: Image, pub bind_count: u32, @@ -11074,6 +11429,7 @@ impl<'a> SparseImageMemoryBindInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindSparseInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -11195,6 +11551,7 @@ impl<'a> BindSparseInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageCopy { pub src_subresource: ImageSubresourceLayers, pub src_offset: Offset3D, @@ -11259,6 +11616,7 @@ impl<'a> ImageCopyBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageBlit { pub src_subresource: ImageSubresourceLayers, pub src_offsets: [Offset3D; 2], @@ -11328,6 +11686,7 @@ impl<'a> ImageBlitBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct BufferImageCopy { pub buffer_offset: DeviceSize, pub buffer_row_length: u32, @@ -11394,6 +11753,7 @@ impl<'a> BufferImageCopyBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ImageResolve { pub src_subresource: ImageSubresourceLayers, pub src_offset: Offset3D, @@ -11458,6 +11818,7 @@ impl<'a> ImageResolveBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ShaderModuleCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -11534,6 +11895,7 @@ impl<'a> ShaderModuleCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetLayoutBinding { pub binding: u32, pub descriptor_type: DescriptorType, @@ -11616,6 +11978,7 @@ impl<'a> DescriptorSetLayoutBindingBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetLayoutCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -11698,6 +12061,7 @@ impl<'a> DescriptorSetLayoutCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DescriptorPoolSize { pub ty: DescriptorType, pub descriptor_count: u32, @@ -11741,6 +12105,7 @@ impl<'a> DescriptorPoolSizeBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorPoolCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -11829,6 +12194,7 @@ impl<'a> DescriptorPoolCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetAllocateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -11911,6 +12277,7 @@ impl<'a> DescriptorSetAllocateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SpecializationMapEntry { pub constant_id: u32, pub offset: u32, @@ -11959,6 +12326,7 @@ impl<'a> SpecializationMapEntryBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SpecializationInfo { pub map_entry_count: u32, pub p_map_entries: *const SpecializationMapEntry, @@ -12019,6 +12387,7 @@ impl<'a> SpecializationInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineShaderStageCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12116,6 +12485,7 @@ impl<'a> PipelineShaderStageCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ComputePipelineCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12216,6 +12586,7 @@ impl<'a> ComputePipelineCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct VertexInputBindingDescription { pub binding: u32, pub stride: u32, @@ -12267,6 +12638,7 @@ impl<'a> VertexInputBindingDescriptionBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct VertexInputAttributeDescription { pub location: u32, pub binding: u32, @@ -12320,6 +12692,7 @@ impl<'a> VertexInputAttributeDescriptionBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineVertexInputStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12414,6 +12787,7 @@ impl<'a> PipelineVertexInputStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineInputAssemblyStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12502,6 +12876,7 @@ impl<'a> PipelineInputAssemblyStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineTessellationStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12581,6 +12956,7 @@ impl<'a> PipelineTessellationStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12689,6 +13065,7 @@ impl<'a> PipelineViewportStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineRasterizationStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12849,6 +13226,7 @@ impl<'a> PipelineRasterizationStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineMultisampleStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -12973,6 +13351,7 @@ impl<'a> PipelineMultisampleStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PipelineColorBlendAttachmentState { pub blend_enable: Bool32, pub src_color_blend_factor: BlendFactor, @@ -13070,6 +13449,7 @@ impl<'a> PipelineColorBlendAttachmentStateBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineColorBlendStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13176,6 +13556,7 @@ impl<'a> PipelineColorBlendStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineDynamicStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13258,6 +13639,7 @@ impl<'a> PipelineDynamicStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct StencilOpState { pub fail_op: StencilOp, pub pass_op: StencilOp, @@ -13326,6 +13708,7 @@ impl<'a> StencilOpStateBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineDepthStencilStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13474,6 +13857,7 @@ impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct GraphicsPipelineCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13670,6 +14054,7 @@ impl<'a> GraphicsPipelineCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineCacheCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13746,6 +14131,7 @@ impl<'a> PipelineCacheCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PushConstantRange { pub stage_flags: ShaderStageFlags, pub offset: u32, @@ -13794,6 +14180,7 @@ impl<'a> PushConstantRangeBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineLayoutCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -13888,6 +14275,7 @@ impl<'a> PipelineLayoutCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SamplerCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14057,6 +14445,7 @@ impl<'a> SamplerCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CommandPoolCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14133,6 +14522,7 @@ impl<'a> CommandPoolCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CommandBufferAllocateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14218,6 +14608,7 @@ impl<'a> CommandBufferAllocateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CommandBufferInheritanceInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14330,6 +14721,7 @@ impl<'a> CommandBufferInheritanceInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CommandBufferBeginInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14406,6 +14798,7 @@ impl<'a> CommandBufferBeginInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct RenderPassBeginInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -14510,6 +14903,7 @@ impl<'a> RenderPassBeginInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub union ClearColorValue { pub float32: [f32; 4], pub int32: [i32; 4], @@ -14522,6 +14916,7 @@ impl ::std::default::Default for ClearColorValue { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ClearDepthStencilValue { pub depth: f32, pub stencil: u32, @@ -14565,6 +14960,7 @@ impl<'a> ClearDepthStencilValueBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub union ClearValue { pub color: ClearColorValue, pub depth_stencil: ClearDepthStencilValue, @@ -14576,6 +14972,7 @@ impl ::std::default::Default for ClearValue { } #[repr(C)] #[derive(Copy, Clone, Default)] +#[doc = ""] pub struct ClearAttachment { pub aspect_mask: ImageAspectFlags, pub color_attachment: u32, @@ -14633,6 +15030,7 @@ impl<'a> ClearAttachmentBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct AttachmentDescription { pub flags: AttachmentDescriptionFlags, pub format: Format, @@ -14720,6 +15118,7 @@ impl<'a> AttachmentDescriptionBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct AttachmentReference { pub attachment: u32, pub layout: ImageLayout, @@ -14763,6 +15162,7 @@ impl<'a> AttachmentReferenceBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassDescription { pub flags: SubpassDescriptionFlags, pub pipeline_bind_point: PipelineBindPoint, @@ -14872,6 +15272,7 @@ impl<'a> SubpassDescriptionBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SubpassDependency { pub src_subpass: u32, pub dst_subpass: u32, @@ -14949,6 +15350,7 @@ impl<'a> SubpassDependencyBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -15052,6 +15454,7 @@ impl<'a> RenderPassCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct EventCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -15119,6 +15522,7 @@ impl<'a> EventCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct FenceCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -15186,6 +15590,7 @@ impl<'a> FenceCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PhysicalDeviceFeatures { pub robust_buffer_access: Bool32, pub full_draw_index_uint32: Bool32, @@ -15622,6 +16027,7 @@ impl<'a> PhysicalDeviceFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PhysicalDeviceSparseProperties { pub residency_standard2_d_block_shape: Bool32, pub residency_standard2_d_multisample_block_shape: Bool32, @@ -15696,6 +16102,7 @@ impl<'a> PhysicalDeviceSparsePropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceLimits { pub max_image_dimension1_d: u32, pub max_image_dimension2_d: u32, @@ -16692,6 +17099,7 @@ impl<'a> PhysicalDeviceLimitsBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SemaphoreCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -16759,6 +17167,7 @@ impl<'a> SemaphoreCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct QueryPoolCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -16847,6 +17256,7 @@ impl<'a> QueryPoolCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct FramebufferCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -16947,6 +17357,7 @@ impl<'a> FramebufferCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DrawIndirectCommand { pub vertex_count: u32, pub instance_count: u32, @@ -17000,6 +17411,7 @@ impl<'a> DrawIndirectCommandBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DrawIndexedIndirectCommand { pub index_count: u32, pub instance_count: u32, @@ -17058,6 +17470,7 @@ impl<'a> DrawIndexedIndirectCommandBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DispatchIndirectCommand { pub x: u32, pub y: u32, @@ -17106,6 +17519,7 @@ impl<'a> DispatchIndirectCommandBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubmitInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -17207,6 +17621,7 @@ impl<'a> SubmitInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPropertiesKHR { pub display: DisplayKHR, pub display_name: *const c_char, @@ -17303,6 +17718,7 @@ impl<'a> DisplayPropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DisplayPlanePropertiesKHR { pub current_display: DisplayKHR, pub current_stack_index: u32, @@ -17352,6 +17768,7 @@ impl<'a> DisplayPlanePropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DisplayModeParametersKHR { pub visible_region: Extent2D, pub refresh_rate: u32, @@ -17398,6 +17815,7 @@ impl<'a> DisplayModeParametersKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DisplayModePropertiesKHR { pub display_mode: DisplayModeKHR, pub parameters: DisplayModeParametersKHR, @@ -17447,6 +17865,7 @@ impl<'a> DisplayModePropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayModeCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -17526,6 +17945,7 @@ impl<'a> DisplayModeCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DisplayPlaneCapabilitiesKHR { pub supported_alpha: DisplayPlaneAlphaFlagsKHR, pub min_src_position: Offset2D, @@ -17631,6 +18051,7 @@ impl<'a> DisplayPlaneCapabilitiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplaySurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -17758,6 +18179,7 @@ impl<'a> DisplaySurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPresentInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -17821,6 +18243,7 @@ impl<'a> DisplayPresentInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SurfaceCapabilitiesKHR { pub min_image_count: u32, pub max_image_count: u32, @@ -17925,6 +18348,7 @@ impl<'a> SurfaceCapabilitiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AndroidSurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18001,6 +18425,7 @@ impl<'a> AndroidSurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ViSurfaceCreateInfoNN { pub s_type: StructureType, pub p_next: *const c_void, @@ -18074,6 +18499,7 @@ impl<'a> ViSurfaceCreateInfoNNBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct WaylandSurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18156,6 +18582,7 @@ impl<'a> WaylandSurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct Win32SurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18238,6 +18665,7 @@ impl<'a> Win32SurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct XlibSurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18320,6 +18748,7 @@ impl<'a> XlibSurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct XcbSurfaceCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18402,6 +18831,7 @@ impl<'a> XcbSurfaceCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImagePipeSurfaceCreateInfoFUCHSIA { pub s_type: StructureType, pub p_next: *const c_void, @@ -18481,6 +18911,7 @@ impl<'a> ImagePipeSurfaceCreateInfoFUCHSIABuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SurfaceFormatKHR { pub format: Format, pub color_space: ColorSpaceKHR, @@ -18524,6 +18955,7 @@ impl<'a> SurfaceFormatKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SwapchainCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18705,6 +19137,7 @@ impl<'a> SwapchainCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PresentInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -18801,6 +19234,7 @@ impl<'a> PresentInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct DebugReportCallbackCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -18884,6 +19318,7 @@ impl<'a> DebugReportCallbackCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ValidationFlagsEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -18941,6 +19376,7 @@ impl<'a> ValidationFlagsEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ValidationFeaturesEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -19010,6 +19446,7 @@ impl<'a> ValidationFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineRasterizationStateRasterizationOrderAMD { pub s_type: StructureType, pub p_next: *const c_void, @@ -19070,6 +19507,7 @@ impl<'a> PipelineRasterizationStateRasterizationOrderAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugMarkerObjectNameInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -19155,6 +19593,7 @@ impl<'a> DebugMarkerObjectNameInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugMarkerObjectTagInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -19246,6 +19685,7 @@ impl<'a> DebugMarkerObjectTagInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugMarkerMarkerInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -19322,6 +19762,7 @@ impl<'a> DebugMarkerMarkerInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DedicatedAllocationImageCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19376,6 +19817,7 @@ impl<'a> DedicatedAllocationImageCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DedicatedAllocationBufferCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19430,6 +19872,7 @@ impl<'a> DedicatedAllocationBufferCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DedicatedAllocationMemoryAllocateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19487,6 +19930,7 @@ impl<'a> DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ExternalImageFormatPropertiesNV { pub image_format_properties: ImageFormatProperties, pub external_memory_features: ExternalMemoryFeatureFlagsNV, @@ -19552,6 +19996,7 @@ impl<'a> ExternalImageFormatPropertiesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalMemoryImageCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19606,6 +20051,7 @@ impl<'a> ExternalMemoryImageCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportMemoryAllocateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19660,6 +20106,7 @@ impl<'a> ExportMemoryAllocateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportMemoryWin32HandleInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19720,6 +20167,7 @@ impl<'a> ImportMemoryWin32HandleInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportMemoryWin32HandleInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19780,6 +20228,7 @@ impl<'a> ExportMemoryWin32HandleInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct Win32KeyedMutexAcquireReleaseInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -19879,6 +20328,7 @@ impl<'a> Win32KeyedMutexAcquireReleaseInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGeneratedCommandsFeaturesNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -19949,6 +20399,7 @@ impl<'a> DeviceGeneratedCommandsFeaturesNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGeneratedCommandsLimitsNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -20059,6 +20510,7 @@ impl<'a> DeviceGeneratedCommandsLimitsNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct IndirectCommandsTokenNVX { pub token_type: IndirectCommandsTokenTypeNVX, pub buffer: Buffer, @@ -20110,6 +20562,7 @@ impl<'a> IndirectCommandsTokenNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct IndirectCommandsLayoutTokenNVX { pub token_type: IndirectCommandsTokenTypeNVX, pub binding_unit: u32, @@ -20169,6 +20622,7 @@ impl<'a> IndirectCommandsLayoutTokenNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct IndirectCommandsLayoutCreateInfoNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -20260,6 +20714,7 @@ impl<'a> IndirectCommandsLayoutCreateInfoNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CmdProcessCommandsInfoNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -20405,6 +20860,7 @@ impl<'a> CmdProcessCommandsInfoNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CmdReserveSpaceForCommandsInfoNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -20493,6 +20949,7 @@ impl<'a> CmdReserveSpaceForCommandsInfoNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ObjectTableCreateInfoNVX { pub s_type: StructureType, pub p_next: *const c_void, @@ -20631,6 +21088,7 @@ impl<'a> ObjectTableCreateInfoNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTableEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20674,6 +21132,7 @@ impl<'a> ObjectTableEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTablePipelineEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20725,6 +21184,7 @@ impl<'a> ObjectTablePipelineEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTableDescriptorSetEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20787,6 +21247,7 @@ impl<'a> ObjectTableDescriptorSetEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTableVertexBufferEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20838,6 +21299,7 @@ impl<'a> ObjectTableVertexBufferEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTableIndexBufferEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20897,6 +21359,7 @@ impl<'a> ObjectTableIndexBufferEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ObjectTablePushConstantEntryNVX { pub ty: ObjectEntryTypeNVX, pub flags: ObjectEntryUsageFlagsNVX, @@ -20959,6 +21422,7 @@ impl<'a> ObjectTablePushConstantEntryNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFeatures2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21013,6 +21477,7 @@ impl<'a> PhysicalDeviceFeatures2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21083,6 +21548,7 @@ impl<'a> PhysicalDeviceProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct FormatProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21153,6 +21619,7 @@ impl<'a> FormatProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageFormatProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21223,6 +21690,7 @@ impl<'a> ImageFormatProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceImageFormatInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -21314,6 +21782,7 @@ impl<'a> PhysicalDeviceImageFormatInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct QueueFamilyProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21384,6 +21853,7 @@ impl<'a> QueueFamilyProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMemoryProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21454,6 +21924,7 @@ impl<'a> PhysicalDeviceMemoryProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SparseImageFormatProperties2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21524,6 +21995,7 @@ impl<'a> SparseImageFormatProperties2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSparseImageFormatInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -21624,6 +22096,7 @@ impl<'a> PhysicalDeviceSparseImageFormatInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDevicePushDescriptorPropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21681,6 +22154,7 @@ impl<'a> PhysicalDevicePushDescriptorPropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ConformanceVersionKHR { pub major: u8, pub minor: u8, @@ -21734,6 +22208,7 @@ impl<'a> ConformanceVersionKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct PhysicalDeviceDriverPropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -21831,6 +22306,7 @@ impl<'a> PhysicalDeviceDriverPropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PresentRegionsKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -21885,6 +22361,7 @@ impl<'a> PresentRegionsKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PresentRegionKHR { pub rectangle_count: u32, pub p_rectangles: *const RectLayerKHR, @@ -21933,6 +22410,7 @@ impl<'a> PresentRegionKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct RectLayerKHR { pub offset: Offset2D, pub extent: Extent2D, @@ -21981,6 +22459,7 @@ impl<'a> RectLayerKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceVariablePointerFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -22044,6 +22523,7 @@ impl<'a> PhysicalDeviceVariablePointerFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ExternalMemoryProperties { pub external_memory_features: ExternalMemoryFeatureFlags, pub export_from_imported_handle_types: ExternalMemoryHandleTypeFlags, @@ -22101,6 +22581,7 @@ impl<'a> ExternalMemoryPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExternalImageFormatInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -22158,6 +22639,7 @@ impl<'a> PhysicalDeviceExternalImageFormatInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalImageFormatProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -22212,6 +22694,7 @@ impl<'a> ExternalImageFormatPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExternalBufferInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -22297,6 +22780,7 @@ impl<'a> PhysicalDeviceExternalBufferInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalBufferProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -22367,6 +22851,7 @@ impl<'a> ExternalBufferPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceIDProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -22457,6 +22942,7 @@ impl<'a> PhysicalDeviceIDPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalMemoryImageCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -22511,6 +22997,7 @@ impl<'a> ExternalMemoryImageCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalMemoryBufferCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -22565,6 +23052,7 @@ impl<'a> ExternalMemoryBufferCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportMemoryAllocateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -22619,6 +23107,7 @@ impl<'a> ExportMemoryAllocateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportMemoryWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -22685,6 +23174,7 @@ impl<'a> ImportMemoryWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportMemoryWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -22751,6 +23241,7 @@ impl<'a> ExportMemoryWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryWin32HandlePropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -22821,6 +23312,7 @@ impl<'a> MemoryWin32HandlePropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryGetWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -22897,6 +23389,7 @@ impl<'a> MemoryGetWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportMemoryFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -22957,6 +23450,7 @@ impl<'a> ImportMemoryFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryFdPropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -23024,6 +23518,7 @@ impl<'a> MemoryFdPropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryGetFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23100,6 +23595,7 @@ impl<'a> MemoryGetFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct Win32KeyedMutexAcquireReleaseInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23199,6 +23695,7 @@ impl<'a> Win32KeyedMutexAcquireReleaseInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExternalSemaphoreInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -23269,6 +23766,7 @@ impl<'a> PhysicalDeviceExternalSemaphoreInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalSemaphoreProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -23357,6 +23855,7 @@ impl<'a> ExternalSemaphorePropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportSemaphoreCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -23411,6 +23910,7 @@ impl<'a> ExportSemaphoreCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportSemaphoreWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23511,6 +24011,7 @@ impl<'a> ImportSemaphoreWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportSemaphoreWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23577,6 +24078,7 @@ impl<'a> ExportSemaphoreWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct D3D12FenceSubmitInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23646,6 +24148,7 @@ impl<'a> D3D12FenceSubmitInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SemaphoreGetWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23722,6 +24225,7 @@ impl<'a> SemaphoreGetWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportSemaphoreFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23810,6 +24314,7 @@ impl<'a> ImportSemaphoreFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SemaphoreGetFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -23886,6 +24391,7 @@ impl<'a> SemaphoreGetFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExternalFenceInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -23956,6 +24462,7 @@ impl<'a> PhysicalDeviceExternalFenceInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalFenceProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -24044,6 +24551,7 @@ impl<'a> ExternalFencePropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportFenceCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -24098,6 +24606,7 @@ impl<'a> ExportFenceCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportFenceWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -24192,6 +24701,7 @@ impl<'a> ImportFenceWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExportFenceWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -24258,6 +24768,7 @@ impl<'a> ExportFenceWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct FenceGetWin32HandleInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -24334,6 +24845,7 @@ impl<'a> FenceGetWin32HandleInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportFenceFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -24422,6 +24934,7 @@ impl<'a> ImportFenceFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct FenceGetFdInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -24498,6 +25011,7 @@ impl<'a> FenceGetFdInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMultiviewFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -24567,6 +25081,7 @@ impl<'a> PhysicalDeviceMultiviewFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMultiviewProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -24630,6 +25145,7 @@ impl<'a> PhysicalDeviceMultiviewPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassMultiviewCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -24708,6 +25224,7 @@ impl<'a> RenderPassMultiviewCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SurfaceCapabilities2EXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -24862,6 +25379,7 @@ impl<'a> SurfaceCapabilities2EXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPowerInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -24932,6 +25450,7 @@ impl<'a> DisplayPowerInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceEventInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -25002,6 +25521,7 @@ impl<'a> DeviceEventInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayEventInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -25072,6 +25592,7 @@ impl<'a> DisplayEventInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SwapchainCounterCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -25126,6 +25647,7 @@ impl<'a> SwapchainCounterCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceGroupProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -25214,6 +25736,7 @@ impl<'a> PhysicalDeviceGroupPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryAllocateFlagsInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25271,6 +25794,7 @@ impl<'a> MemoryAllocateFlagsInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindBufferMemoryInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25350,6 +25874,7 @@ impl<'a> BindBufferMemoryInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindBufferMemoryDeviceGroupInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25407,6 +25932,7 @@ impl<'a> BindBufferMemoryDeviceGroupInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindImageMemoryInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25486,6 +26012,7 @@ impl<'a> BindImageMemoryInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindImageMemoryDeviceGroupInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25555,6 +26082,7 @@ impl<'a> BindImageMemoryDeviceGroupInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupRenderPassBeginInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25618,6 +26146,7 @@ impl<'a> DeviceGroupRenderPassBeginInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupCommandBufferBeginInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25669,6 +26198,7 @@ impl<'a> DeviceGroupCommandBufferBeginInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupSubmitInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25750,6 +26280,7 @@ impl<'a> DeviceGroupSubmitInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupBindSparseInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -25813,6 +26344,7 @@ impl<'a> DeviceGroupBindSparseInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupPresentCapabilitiesKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -25892,6 +26424,7 @@ impl<'a> DeviceGroupPresentCapabilitiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageSwapchainCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -25943,6 +26476,7 @@ impl<'a> ImageSwapchainCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindImageMemorySwapchainInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -26003,6 +26537,7 @@ impl<'a> BindImageMemorySwapchainInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AcquireNextImageInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -26094,6 +26629,7 @@ impl<'a> AcquireNextImageInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupPresentInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -26157,6 +26693,7 @@ impl<'a> DeviceGroupPresentInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupDeviceCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -26214,6 +26751,7 @@ impl<'a> DeviceGroupDeviceCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceGroupSwapchainCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -26268,6 +26806,7 @@ impl<'a> DeviceGroupSwapchainCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DescriptorUpdateTemplateEntry { pub dst_binding: u32, pub dst_array_element: u32, @@ -26340,6 +26879,7 @@ impl<'a> DescriptorUpdateTemplateEntryBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorUpdateTemplateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -26464,6 +27004,7 @@ impl<'a> DescriptorUpdateTemplateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct XYColorEXT { pub x: f32, pub y: f32, @@ -26507,6 +27048,7 @@ impl<'a> XYColorEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct HdrMetadataEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -26631,6 +27173,7 @@ impl<'a> HdrMetadataEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct RefreshCycleDurationGOOGLE { pub refresh_duration: u64, } @@ -26672,6 +27215,7 @@ impl<'a> RefreshCycleDurationGOOGLEBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PastPresentationTimingGOOGLE { pub present_id: u32, pub desired_present_time: u64, @@ -26742,6 +27286,7 @@ impl<'a> PastPresentationTimingGOOGLEBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PresentTimesInfoGOOGLE { pub s_type: StructureType, pub p_next: *const c_void, @@ -26796,6 +27341,7 @@ impl<'a> PresentTimesInfoGOOGLEBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct PresentTimeGOOGLE { pub present_id: u32, pub desired_present_time: u64, @@ -26842,6 +27388,7 @@ impl<'a> PresentTimeGOOGLEBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct IOSSurfaceCreateInfoMVK { pub s_type: StructureType, pub p_next: *const c_void, @@ -26915,6 +27462,7 @@ impl<'a> IOSSurfaceCreateInfoMVKBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MacOSSurfaceCreateInfoMVK { pub s_type: StructureType, pub p_next: *const c_void, @@ -26991,6 +27539,7 @@ impl<'a> MacOSSurfaceCreateInfoMVKBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ViewportWScalingNV { pub xcoeff: f32, pub ycoeff: f32, @@ -27034,6 +27583,7 @@ impl<'a> ViewportWScalingNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportWScalingStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -27103,6 +27653,7 @@ impl<'a> PipelineViewportWScalingStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ViewportSwizzleNV { pub x: ViewportCoordinateSwizzleNV, pub y: ViewportCoordinateSwizzleNV, @@ -27156,6 +27707,7 @@ impl<'a> ViewportSwizzleNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportSwizzleStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -27225,6 +27777,7 @@ impl<'a> PipelineViewportSwizzleStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceDiscardRectanglePropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27282,6 +27835,7 @@ impl<'a> PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineDiscardRectangleStateCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -27360,6 +27914,7 @@ impl<'a> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27420,6 +27975,7 @@ impl<'a> PhysicalDeviceMultiviewPerViewAttributesPropertiesNVXBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct InputAttachmentAspectReference { pub subpass: u32, pub input_attachment_index: u32, @@ -27474,6 +28030,7 @@ impl<'a> InputAttachmentAspectReferenceBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassInputAttachmentAspectCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -27531,6 +28088,7 @@ impl<'a> RenderPassInputAttachmentAspectCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSurfaceInfo2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -27598,6 +28156,7 @@ impl<'a> PhysicalDeviceSurfaceInfo2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SurfaceCapabilities2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27668,6 +28227,7 @@ impl<'a> SurfaceCapabilities2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SurfaceFormat2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27738,6 +28298,7 @@ impl<'a> SurfaceFormat2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayProperties2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27808,6 +28369,7 @@ impl<'a> DisplayProperties2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPlaneProperties2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27878,6 +28440,7 @@ impl<'a> DisplayPlaneProperties2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayModeProperties2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -27948,6 +28511,7 @@ impl<'a> DisplayModeProperties2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPlaneInfo2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -28021,6 +28585,7 @@ impl<'a> DisplayPlaneInfo2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DisplayPlaneCapabilities2KHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28091,6 +28656,7 @@ impl<'a> DisplayPlaneCapabilities2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SharedPresentSurfaceCapabilitiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28145,6 +28711,7 @@ impl<'a> SharedPresentSurfaceCapabilitiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDevice16BitStorageFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28227,6 +28794,7 @@ impl<'a> PhysicalDevice16BitStorageFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSubgroupProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28308,6 +28876,7 @@ impl<'a> PhysicalDeviceSubgroupPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferMemoryRequirementsInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -28375,6 +28944,7 @@ impl<'a> BufferMemoryRequirementsInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageMemoryRequirementsInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -28442,6 +29012,7 @@ impl<'a> ImageMemoryRequirementsInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageSparseMemoryRequirementsInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -28509,6 +29080,7 @@ impl<'a> ImageSparseMemoryRequirementsInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryRequirements2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28579,6 +29151,7 @@ impl<'a> MemoryRequirements2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SparseImageMemoryRequirements2 { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28649,6 +29222,7 @@ impl<'a> SparseImageMemoryRequirements2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDevicePointClippingProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28703,6 +29277,7 @@ impl<'a> PhysicalDevicePointClippingPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryDedicatedRequirements { pub s_type: StructureType, pub p_next: *mut c_void, @@ -28766,6 +29341,7 @@ impl<'a> MemoryDedicatedRequirementsBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryDedicatedAllocateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -28823,6 +29399,7 @@ impl<'a> MemoryDedicatedAllocateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageViewUsageCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -28874,6 +29451,7 @@ impl<'a> ImageViewUsageCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineTessellationDomainOriginStateCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -28934,6 +29512,7 @@ impl<'a> PipelineTessellationDomainOriginStateCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SamplerYcbcrConversionInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -28990,6 +29569,7 @@ impl<'a> SamplerYcbcrConversionInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SamplerYcbcrConversionCreateInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -29120,6 +29700,7 @@ impl<'a> SamplerYcbcrConversionCreateInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindImagePlaneMemoryInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -29174,6 +29755,7 @@ impl<'a> BindImagePlaneMemoryInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImagePlaneMemoryRequirementsInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -29228,6 +29810,7 @@ impl<'a> ImagePlaneMemoryRequirementsInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSamplerYcbcrConversionFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29282,6 +29865,7 @@ impl<'a> PhysicalDeviceSamplerYcbcrConversionFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SamplerYcbcrConversionImageFormatProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29340,6 +29924,7 @@ impl<'a> SamplerYcbcrConversionImageFormatPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct TextureLODGatherFormatPropertiesAMD { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29395,6 +29980,7 @@ impl<'a> TextureLODGatherFormatPropertiesAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ConditionalRenderingBeginInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -29477,6 +30063,7 @@ impl<'a> ConditionalRenderingBeginInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ProtectedSubmitInfo { pub s_type: StructureType, pub p_next: *const c_void, @@ -29528,6 +30115,7 @@ impl<'a> ProtectedSubmitInfoBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceProtectedMemoryFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29582,6 +30170,7 @@ impl<'a> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceProtectedMemoryProperties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29639,6 +30228,7 @@ impl<'a> PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceQueueInfo2 { pub s_type: StructureType, pub p_next: *const c_void, @@ -29718,6 +30308,7 @@ impl<'a> DeviceQueueInfo2Builder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineCoverageToColorStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -29793,6 +30384,7 @@ impl<'a> PipelineCoverageToColorStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSamplerFilterMinmaxPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -29861,6 +30453,7 @@ impl<'a> PhysicalDeviceSamplerFilterMinmaxPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SampleLocationEXT { pub x: f32, pub y: f32, @@ -29904,6 +30497,7 @@ impl<'a> SampleLocationEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SampleLocationsInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -29979,6 +30573,7 @@ impl<'a> SampleLocationsInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct AttachmentSampleLocationsEXT { pub attachment_index: u32, pub sample_locations_info: SampleLocationsInfoEXT, @@ -30028,6 +30623,7 @@ impl<'a> AttachmentSampleLocationsEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct SubpassSampleLocationsEXT { pub subpass_index: u32, pub sample_locations_info: SampleLocationsInfoEXT, @@ -30074,6 +30670,7 @@ impl<'a> SubpassSampleLocationsEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassSampleLocationsBeginInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30145,6 +30742,7 @@ impl<'a> RenderPassSampleLocationsBeginInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineSampleLocationsStateCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30214,6 +30812,7 @@ impl<'a> PipelineSampleLocationsStateCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceSampleLocationsPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30307,6 +30906,7 @@ impl<'a> PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MultisamplePropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30377,6 +30977,7 @@ impl<'a> MultisamplePropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SamplerReductionModeCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30431,6 +31032,7 @@ impl<'a> SamplerReductionModeCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30485,6 +31087,7 @@ impl<'a> PhysicalDeviceBlendOperationAdvancedFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30589,6 +31192,7 @@ impl<'a> PhysicalDeviceBlendOperationAdvancedPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineColorBlendAdvancedStateCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30667,6 +31271,7 @@ impl<'a> PipelineColorBlendAdvancedStateCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceInlineUniformBlockFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30732,6 +31337,7 @@ impl<'a> PhysicalDeviceInlineUniformBlockFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceInlineUniformBlockPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -30831,6 +31437,7 @@ impl<'a> PhysicalDeviceInlineUniformBlockPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct WriteDescriptorSetInlineUniformBlockEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30885,6 +31492,7 @@ impl<'a> WriteDescriptorSetInlineUniformBlockEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorPoolInlineUniformBlockCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -30942,6 +31550,7 @@ impl<'a> DescriptorPoolInlineUniformBlockCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineCoverageModulationStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -31032,6 +31641,7 @@ impl<'a> PipelineCoverageModulationStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageFormatListCreateInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -31093,6 +31703,7 @@ impl<'a> ImageFormatListCreateInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ValidationCacheCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -31175,6 +31786,7 @@ impl<'a> ValidationCacheCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ShaderModuleValidationCacheCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -31229,6 +31841,7 @@ impl<'a> ShaderModuleValidationCacheCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMaintenance3Properties { pub s_type: StructureType, pub p_next: *mut c_void, @@ -31292,6 +31905,7 @@ impl<'a> PhysicalDeviceMaintenance3PropertiesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetLayoutSupport { pub s_type: StructureType, pub p_next: *mut c_void, @@ -31359,6 +31973,7 @@ impl<'a> DescriptorSetLayoutSupportBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShaderDrawParameterFeatures { pub s_type: StructureType, pub p_next: *mut c_void, @@ -31413,6 +32028,7 @@ impl<'a> PhysicalDeviceShaderDrawParameterFeaturesBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFloat16Int8FeaturesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -31476,6 +32092,7 @@ impl<'a> PhysicalDeviceFloat16Int8FeaturesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFloatControlsPropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -31680,6 +32297,7 @@ impl<'a> PhysicalDeviceFloatControlsPropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct NativeBufferANDROID { pub s_type: StructureType, pub p_next: *const c_void, @@ -31765,6 +32383,7 @@ impl<'a> NativeBufferANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct ShaderResourceUsageAMD { pub num_used_vgprs: u32, pub num_used_sgprs: u32, @@ -31832,6 +32451,7 @@ impl<'a> ShaderResourceUsageAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ShaderStatisticsInfoAMD { pub shader_stage_mask: ShaderStageFlags, pub resource_usage: ShaderResourceUsageAMD, @@ -31934,6 +32554,7 @@ impl<'a> ShaderStatisticsInfoAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceQueueGlobalPriorityCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -31988,6 +32609,7 @@ impl<'a> DeviceQueueGlobalPriorityCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugUtilsObjectNameInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32073,6 +32695,7 @@ impl<'a> DebugUtilsObjectNameInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugUtilsObjectTagInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32161,6 +32784,7 @@ impl<'a> DebugUtilsObjectTagInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugUtilsLabelEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32234,6 +32858,7 @@ impl<'a> DebugUtilsLabelEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone)] +#[doc = ""] pub struct DebugUtilsMessengerCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32340,6 +32965,7 @@ impl<'a> DebugUtilsMessengerCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DebugUtilsMessengerCallbackDataEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32473,6 +33099,7 @@ impl<'a> DebugUtilsMessengerCallbackDataEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportMemoryHostPointerInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32536,6 +33163,7 @@ impl<'a> ImportMemoryHostPointerInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryHostPointerPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -32606,6 +33234,7 @@ impl<'a> MemoryHostPointerPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExternalMemoryHostPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -32663,6 +33292,7 @@ impl<'a> PhysicalDeviceExternalMemoryHostPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceConservativeRasterizationPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -32800,6 +33430,7 @@ impl<'a> PhysicalDeviceConservativeRasterizationPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CalibratedTimestampInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -32870,6 +33501,7 @@ impl<'a> CalibratedTimestampInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShaderCorePropertiesAMD { pub s_type: StructureType, pub p_next: *mut c_void, @@ -33041,6 +33673,7 @@ impl<'a> PhysicalDeviceShaderCorePropertiesAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineRasterizationConservativeStateCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -33119,6 +33752,7 @@ impl<'a> PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceDescriptorIndexingFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -33373,6 +34007,7 @@ impl<'a> PhysicalDeviceDescriptorIndexingFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceDescriptorIndexingPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -33668,6 +34303,7 @@ impl<'a> PhysicalDeviceDescriptorIndexingPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetLayoutBindingFlagsCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -33728,6 +34364,7 @@ impl<'a> DescriptorSetLayoutBindingFlagsCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetVariableDescriptorCountAllocateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -33791,6 +34428,7 @@ impl<'a> DescriptorSetVariableDescriptorCountAllocateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DescriptorSetVariableDescriptorCountLayoutSupportEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -33851,6 +34489,7 @@ impl<'a> DescriptorSetVariableDescriptorCountLayoutSupportEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AttachmentDescription2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -33981,6 +34620,7 @@ impl<'a> AttachmentDescription2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AttachmentReference2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34063,6 +34703,7 @@ impl<'a> AttachmentReference2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassDescription2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34200,6 +34841,7 @@ impl<'a> SubpassDescription2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassDependency2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34324,6 +34966,7 @@ impl<'a> SubpassDependency2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassCreateInfo2KHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34439,6 +35082,7 @@ impl<'a> RenderPassCreateInfo2KHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassBeginInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34506,6 +35150,7 @@ impl<'a> SubpassBeginInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassEndInfoKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -34567,6 +35212,7 @@ impl<'a> SubpassEndInfoKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct VertexInputBindingDivisorDescriptionEXT { pub binding: u32, pub divisor: u32, @@ -34610,6 +35256,7 @@ impl<'a> VertexInputBindingDivisorDescriptionEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineVertexInputDivisorStateCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -34673,6 +35320,7 @@ impl<'a> PipelineVertexInputDivisorStateCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -34730,6 +35378,7 @@ impl<'a> PhysicalDeviceVertexAttributeDivisorPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDevicePCIBusInfoPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -34808,6 +35457,7 @@ impl<'a> PhysicalDevicePCIBusInfoPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImportAndroidHardwareBufferInfoANDROID { pub s_type: StructureType, pub p_next: *const c_void, @@ -34862,6 +35512,7 @@ impl<'a> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AndroidHardwareBufferUsageANDROID { pub s_type: StructureType, pub p_next: *mut c_void, @@ -34916,6 +35567,7 @@ impl<'a> AndroidHardwareBufferUsageANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AndroidHardwareBufferPropertiesANDROID { pub s_type: StructureType, pub p_next: *mut c_void, @@ -34995,6 +35647,7 @@ impl<'a> AndroidHardwareBufferPropertiesANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryGetAndroidHardwareBufferInfoANDROID { pub s_type: StructureType, pub p_next: *const c_void, @@ -35065,6 +35718,7 @@ impl<'a> MemoryGetAndroidHardwareBufferInfoANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AndroidHardwareBufferFormatPropertiesANDROID { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35188,6 +35842,7 @@ impl<'a> AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CommandBufferInheritanceConditionalRenderingInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -35248,6 +35903,7 @@ impl<'a> CommandBufferInheritanceConditionalRenderingInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ExternalFormatANDROID { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35301,6 +35957,7 @@ impl<'a> ExternalFormatANDROIDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDevice8BitStorageFeaturesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35374,6 +36031,7 @@ impl<'a> PhysicalDevice8BitStorageFeaturesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceConditionalRenderingFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35437,6 +36095,7 @@ impl<'a> PhysicalDeviceConditionalRenderingFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceVulkanMemoryModelFeaturesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35500,6 +36159,7 @@ impl<'a> PhysicalDeviceVulkanMemoryModelFeaturesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShaderAtomicInt64FeaturesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35563,6 +36223,7 @@ impl<'a> PhysicalDeviceShaderAtomicInt64FeaturesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceVertexAttributeDivisorFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35628,6 +36289,7 @@ impl<'a> PhysicalDeviceVertexAttributeDivisorFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct QueueFamilyCheckpointPropertiesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35682,6 +36344,7 @@ impl<'a> QueueFamilyCheckpointPropertiesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CheckpointDataNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35758,6 +36421,7 @@ impl<'a> CheckpointDataNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceDepthStencilResolvePropertiesKHR { pub s_type: StructureType, pub p_next: *mut c_void, @@ -35842,6 +36506,7 @@ impl<'a> PhysicalDeviceDepthStencilResolvePropertiesKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct SubpassDescriptionDepthStencilResolveKHR { pub s_type: StructureType, pub p_next: *const c_void, @@ -35914,6 +36579,7 @@ impl<'a> SubpassDescriptionDepthStencilResolveKHRBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageViewASTCDecodeModeEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -35965,6 +36631,7 @@ impl<'a> ImageViewASTCDecodeModeEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceASTCDecodeFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36019,6 +36686,7 @@ impl<'a> PhysicalDeviceASTCDecodeFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceTransformFeedbackFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36082,6 +36750,7 @@ impl<'a> PhysicalDeviceTransformFeedbackFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceTransformFeedbackPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36225,6 +36894,7 @@ impl<'a> PhysicalDeviceTransformFeedbackPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineRasterizationStateStreamCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -36294,6 +36964,7 @@ impl<'a> PipelineRasterizationStateStreamCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceRepresentativeFragmentTestFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36351,6 +37022,7 @@ impl<'a> PhysicalDeviceRepresentativeFragmentTestFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineRepresentativeFragmentTestStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -36411,6 +37083,7 @@ impl<'a> PipelineRepresentativeFragmentTestStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceExclusiveScissorFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36465,6 +37138,7 @@ impl<'a> PhysicalDeviceExclusiveScissorFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportExclusiveScissorStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -36528,6 +37202,7 @@ impl<'a> PipelineViewportExclusiveScissorStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceCornerSampledImageFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36582,6 +37257,7 @@ impl<'a> PhysicalDeviceCornerSampledImageFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceComputeShaderDerivativesFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36648,6 +37324,7 @@ impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFragmentShaderBarycentricFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36705,6 +37382,7 @@ impl<'a> PhysicalDeviceFragmentShaderBarycentricFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShaderImageFootprintFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36759,6 +37437,7 @@ impl<'a> PhysicalDeviceShaderImageFootprintFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ShadingRatePaletteNV { pub shading_rate_palette_entry_count: u32, pub p_shading_rate_palette_entries: *const ShadingRatePaletteEntryNV, @@ -36810,6 +37489,7 @@ impl<'a> ShadingRatePaletteNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportShadingRateImageStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -36882,6 +37562,7 @@ impl<'a> PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShadingRateImageFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -36945,6 +37626,7 @@ impl<'a> PhysicalDeviceShadingRateImageFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceShadingRateImagePropertiesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -37020,6 +37702,7 @@ impl<'a> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct CoarseSampleLocationNV { pub pixel_x: u32, pub pixel_y: u32, @@ -37068,6 +37751,7 @@ impl<'a> CoarseSampleLocationNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct CoarseSampleOrderCustomNV { pub shading_rate: ShadingRatePaletteEntryNV, pub sample_count: u32, @@ -37134,6 +37818,7 @@ impl<'a> CoarseSampleOrderCustomNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PipelineViewportCoarseSampleOrderStateCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -37206,6 +37891,7 @@ impl<'a> PipelineViewportCoarseSampleOrderStateCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMeshShaderFeaturesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -37269,6 +37955,7 @@ impl<'a> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMeshShaderPropertiesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -37431,6 +38118,7 @@ impl<'a> PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DrawMeshTasksIndirectCommandNV { pub task_count: u32, pub first_task: u32, @@ -37474,6 +38162,7 @@ impl<'a> DrawMeshTasksIndirectCommandNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RayTracingShaderGroupCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -37580,6 +38269,7 @@ impl<'a> RayTracingShaderGroupCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RayTracingPipelineCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -37707,6 +38397,7 @@ impl<'a> RayTracingPipelineCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct GeometryTrianglesNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -37837,6 +38528,7 @@ impl<'a> GeometryTrianglesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct GeometryAABBNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -37922,6 +38614,7 @@ impl<'a> GeometryAABBNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct GeometryDataNV { pub triangles: GeometryTrianglesNV, pub aabbs: GeometryAABBNV, @@ -37965,6 +38658,7 @@ impl<'a> GeometryDataNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct GeometryNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38041,6 +38735,7 @@ impl<'a> GeometryNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AccelerationStructureInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38135,6 +38830,7 @@ impl<'a> AccelerationStructureInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AccelerationStructureCreateInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38214,6 +38910,7 @@ impl<'a> AccelerationStructureCreateInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BindAccelerationStructureMemoryInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38314,6 +39011,7 @@ impl<'a> BindAccelerationStructureMemoryInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct WriteDescriptorSetAccelerationStructureNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38371,6 +39069,7 @@ impl<'a> WriteDescriptorSetAccelerationStructureNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct AccelerationStructureMemoryRequirementsInfoNV { pub s_type: StructureType, pub p_next: *const c_void, @@ -38450,6 +39149,7 @@ impl<'a> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceRayTracingPropertiesNV { pub s_type: StructureType, pub p_next: *mut c_void, @@ -38568,6 +39268,7 @@ impl<'a> PhysicalDeviceRayTracingPropertiesNVBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DrmFormatModifierPropertiesListEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -38625,6 +39326,7 @@ impl<'a> DrmFormatModifierPropertiesListEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Default, Debug)] +#[doc = ""] pub struct DrmFormatModifierPropertiesEXT { pub drm_format_modifier: u64, pub drm_format_modifier_plane_count: u32, @@ -38682,6 +39384,7 @@ impl<'a> DrmFormatModifierPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceImageDrmFormatModifierInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -38760,6 +39463,7 @@ impl<'a> PhysicalDeviceImageDrmFormatModifierInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageDrmFormatModifierListCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -38817,6 +39521,7 @@ impl<'a> ImageDrmFormatModifierListCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageDrmFormatModifierExplicitCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -38883,6 +39588,7 @@ impl<'a> ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageDrmFormatModifierPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -38953,6 +39659,7 @@ impl<'a> ImageDrmFormatModifierPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct ImageStencilUsageCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -39009,6 +39716,7 @@ impl<'a> ImageStencilUsageCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct DeviceMemoryOverallocationCreateInfoAMD { pub s_type: StructureType, pub p_next: *const c_void, @@ -39063,6 +39771,7 @@ impl<'a> DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFragmentDensityMapFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39136,6 +39845,7 @@ impl<'a> PhysicalDeviceFragmentDensityMapFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceFragmentDensityMapPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39211,6 +39921,7 @@ impl<'a> PhysicalDeviceFragmentDensityMapPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct RenderPassFragmentDensityMapCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -39265,6 +39976,7 @@ impl<'a> RenderPassFragmentDensityMapCreateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceScalarBlockLayoutFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39319,6 +40031,7 @@ impl<'a> PhysicalDeviceScalarBlockLayoutFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMemoryBudgetPropertiesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39385,6 +40098,7 @@ impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceMemoryPriorityFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39439,6 +40153,7 @@ impl<'a> PhysicalDeviceMemoryPriorityFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct MemoryPriorityAllocateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -39490,6 +40205,7 @@ impl<'a> MemoryPriorityAllocateInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct PhysicalDeviceBufferAddressFeaturesEXT { pub s_type: StructureType, pub p_next: *mut c_void, @@ -39563,6 +40279,7 @@ impl<'a> PhysicalDeviceBufferAddressFeaturesEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferDeviceAddressInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -39630,6 +40347,7 @@ impl<'a> BufferDeviceAddressInfoEXTBuilder<'a> { } #[repr(C)] #[derive(Copy, Clone, Debug)] +#[doc = ""] pub struct BufferDeviceAddressCreateInfoEXT { pub s_type: StructureType, pub p_next: *const c_void, @@ -39684,6 +40402,7 @@ impl<'a> BufferDeviceAddressCreateInfoEXTBuilder<'a> { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ImageLayout(pub(crate) i32); impl ImageLayout { pub fn from_raw(x: i32) -> Self { @@ -39715,6 +40434,7 @@ impl ImageLayout { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct AttachmentLoadOp(pub(crate) i32); impl AttachmentLoadOp { pub fn from_raw(x: i32) -> Self { @@ -39731,6 +40451,7 @@ impl AttachmentLoadOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct AttachmentStoreOp(pub(crate) i32); impl AttachmentStoreOp { pub fn from_raw(x: i32) -> Self { @@ -39746,6 +40467,7 @@ impl AttachmentStoreOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ImageType(pub(crate) i32); impl ImageType { pub fn from_raw(x: i32) -> Self { @@ -39762,6 +40484,7 @@ impl ImageType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ImageTiling(pub(crate) i32); impl ImageTiling { pub fn from_raw(x: i32) -> Self { @@ -39777,6 +40500,7 @@ impl ImageTiling { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ImageViewType(pub(crate) i32); impl ImageViewType { pub fn from_raw(x: i32) -> Self { @@ -39797,6 +40521,7 @@ impl ImageViewType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct CommandBufferLevel(pub(crate) i32); impl CommandBufferLevel { pub fn from_raw(x: i32) -> Self { @@ -39812,6 +40537,7 @@ impl CommandBufferLevel { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ComponentSwizzle(pub(crate) i32); impl ComponentSwizzle { pub fn from_raw(x: i32) -> Self { @@ -39832,6 +40558,7 @@ impl ComponentSwizzle { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DescriptorType(pub(crate) i32); impl DescriptorType { pub fn from_raw(x: i32) -> Self { @@ -39856,6 +40583,7 @@ impl DescriptorType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct QueryType(pub(crate) i32); impl QueryType { pub fn from_raw(x: i32) -> Self { @@ -39873,6 +40601,7 @@ impl QueryType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct BorderColor(pub(crate) i32); impl BorderColor { pub fn from_raw(x: i32) -> Self { @@ -39892,6 +40621,7 @@ impl BorderColor { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PipelineBindPoint(pub(crate) i32); impl PipelineBindPoint { pub fn from_raw(x: i32) -> Self { @@ -39907,6 +40637,7 @@ impl PipelineBindPoint { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PipelineCacheHeaderVersion(pub(crate) i32); impl PipelineCacheHeaderVersion { pub fn from_raw(x: i32) -> Self { @@ -39921,6 +40652,7 @@ impl PipelineCacheHeaderVersion { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PrimitiveTopology(pub(crate) i32); impl PrimitiveTopology { pub fn from_raw(x: i32) -> Self { @@ -39945,6 +40677,7 @@ impl PrimitiveTopology { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SharingMode(pub(crate) i32); impl SharingMode { pub fn from_raw(x: i32) -> Self { @@ -39960,6 +40693,7 @@ impl SharingMode { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct IndexType(pub(crate) i32); impl IndexType { pub fn from_raw(x: i32) -> Self { @@ -39975,6 +40709,7 @@ impl IndexType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct Filter(pub(crate) i32); impl Filter { pub fn from_raw(x: i32) -> Self { @@ -39990,6 +40725,7 @@ impl Filter { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SamplerMipmapMode(pub(crate) i32); impl SamplerMipmapMode { pub fn from_raw(x: i32) -> Self { @@ -40007,6 +40743,7 @@ impl SamplerMipmapMode { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SamplerAddressMode(pub(crate) i32); impl SamplerAddressMode { pub fn from_raw(x: i32) -> Self { @@ -40024,6 +40761,7 @@ impl SamplerAddressMode { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct CompareOp(pub(crate) i32); impl CompareOp { pub fn from_raw(x: i32) -> Self { @@ -40045,6 +40783,7 @@ impl CompareOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PolygonMode(pub(crate) i32); impl PolygonMode { pub fn from_raw(x: i32) -> Self { @@ -40061,6 +40800,7 @@ impl PolygonMode { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct FrontFace(pub(crate) i32); impl FrontFace { pub fn from_raw(x: i32) -> Self { @@ -40076,6 +40816,7 @@ impl FrontFace { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct BlendFactor(pub(crate) i32); impl BlendFactor { pub fn from_raw(x: i32) -> Self { @@ -40108,6 +40849,7 @@ impl BlendFactor { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct BlendOp(pub(crate) i32); impl BlendOp { pub fn from_raw(x: i32) -> Self { @@ -40126,6 +40868,7 @@ impl BlendOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct StencilOp(pub(crate) i32); impl StencilOp { pub fn from_raw(x: i32) -> Self { @@ -40147,6 +40890,7 @@ impl StencilOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct LogicOp(pub(crate) i32); impl LogicOp { pub fn from_raw(x: i32) -> Self { @@ -40176,6 +40920,7 @@ impl LogicOp { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct InternalAllocationType(pub(crate) i32); impl InternalAllocationType { pub fn from_raw(x: i32) -> Self { @@ -40190,6 +40935,7 @@ impl InternalAllocationType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SystemAllocationScope(pub(crate) i32); impl SystemAllocationScope { pub fn from_raw(x: i32) -> Self { @@ -40208,6 +40954,7 @@ impl SystemAllocationScope { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PhysicalDeviceType(pub(crate) i32); impl PhysicalDeviceType { pub fn from_raw(x: i32) -> Self { @@ -40226,6 +40973,7 @@ impl PhysicalDeviceType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct VertexInputRate(pub(crate) i32); impl VertexInputRate { pub fn from_raw(x: i32) -> Self { @@ -40241,6 +40989,7 @@ impl VertexInputRate { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct Format(pub(crate) i32); impl Format { pub fn from_raw(x: i32) -> Self { @@ -40439,6 +41188,7 @@ impl Format { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct StructureType(pub(crate) i32); impl StructureType { pub fn from_raw(x: i32) -> Self { @@ -40503,6 +41253,7 @@ impl StructureType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SubpassContents(pub(crate) i32); impl SubpassContents { pub fn from_raw(x: i32) -> Self { @@ -40518,6 +41269,7 @@ impl SubpassContents { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct Result(pub(crate) i32); impl Result { pub fn from_raw(x: i32) -> Self { @@ -40643,6 +41395,7 @@ impl fmt::Display for Result { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DynamicState(pub(crate) i32); impl DynamicState { pub fn from_raw(x: i32) -> Self { @@ -40665,6 +41418,7 @@ impl DynamicState { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DescriptorUpdateTemplateType(pub(crate) i32); impl DescriptorUpdateTemplateType { pub fn from_raw(x: i32) -> Self { @@ -40680,6 +41434,7 @@ impl DescriptorUpdateTemplateType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ObjectType(pub(crate) i32); impl ObjectType { pub fn from_raw(x: i32) -> Self { @@ -40744,6 +41499,7 @@ impl ObjectType { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PresentModeKHR(pub(crate) i32); impl PresentModeKHR { pub fn from_raw(x: i32) -> Self { @@ -40761,6 +41517,7 @@ impl PresentModeKHR { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ColorSpaceKHR(pub(crate) i32); impl ColorSpaceKHR { pub fn from_raw(x: i32) -> Self { @@ -40775,6 +41532,7 @@ impl ColorSpaceKHR { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct TimeDomainEXT(pub(crate) i32); impl TimeDomainEXT { pub fn from_raw(x: i32) -> Self { @@ -40792,6 +41550,7 @@ impl TimeDomainEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DebugReportObjectTypeEXT(pub(crate) i32); impl DebugReportObjectTypeEXT { pub fn from_raw(x: i32) -> Self { @@ -40839,6 +41598,7 @@ impl DebugReportObjectTypeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct RasterizationOrderAMD(pub(crate) i32); impl RasterizationOrderAMD { pub fn from_raw(x: i32) -> Self { @@ -40854,6 +41614,7 @@ impl RasterizationOrderAMD { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ValidationCheckEXT(pub(crate) i32); impl ValidationCheckEXT { pub fn from_raw(x: i32) -> Self { @@ -40869,6 +41630,7 @@ impl ValidationCheckEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ValidationFeatureEnableEXT(pub(crate) i32); impl ValidationFeatureEnableEXT { pub fn from_raw(x: i32) -> Self { @@ -40884,6 +41646,7 @@ impl ValidationFeatureEnableEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ValidationFeatureDisableEXT(pub(crate) i32); impl ValidationFeatureDisableEXT { pub fn from_raw(x: i32) -> Self { @@ -40904,6 +41667,7 @@ impl ValidationFeatureDisableEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct IndirectCommandsTokenTypeNVX(pub(crate) i32); impl IndirectCommandsTokenTypeNVX { pub fn from_raw(x: i32) -> Self { @@ -40925,6 +41689,7 @@ impl IndirectCommandsTokenTypeNVX { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ObjectEntryTypeNVX(pub(crate) i32); impl ObjectEntryTypeNVX { pub fn from_raw(x: i32) -> Self { @@ -40943,6 +41708,7 @@ impl ObjectEntryTypeNVX { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DisplayPowerStateEXT(pub(crate) i32); impl DisplayPowerStateEXT { pub fn from_raw(x: i32) -> Self { @@ -40959,6 +41725,7 @@ impl DisplayPowerStateEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DeviceEventTypeEXT(pub(crate) i32); impl DeviceEventTypeEXT { pub fn from_raw(x: i32) -> Self { @@ -40973,6 +41740,7 @@ impl DeviceEventTypeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DisplayEventTypeEXT(pub(crate) i32); impl DisplayEventTypeEXT { pub fn from_raw(x: i32) -> Self { @@ -40987,6 +41755,7 @@ impl DisplayEventTypeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ViewportCoordinateSwizzleNV(pub(crate) i32); impl ViewportCoordinateSwizzleNV { pub fn from_raw(x: i32) -> Self { @@ -41008,6 +41777,7 @@ impl ViewportCoordinateSwizzleNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DiscardRectangleModeEXT(pub(crate) i32); impl DiscardRectangleModeEXT { pub fn from_raw(x: i32) -> Self { @@ -41023,6 +41793,7 @@ impl DiscardRectangleModeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct PointClippingBehavior(pub(crate) i32); impl PointClippingBehavior { pub fn from_raw(x: i32) -> Self { @@ -41038,6 +41809,7 @@ impl PointClippingBehavior { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SamplerReductionModeEXT(pub(crate) i32); impl SamplerReductionModeEXT { pub fn from_raw(x: i32) -> Self { @@ -41054,6 +41826,7 @@ impl SamplerReductionModeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct TessellationDomainOrigin(pub(crate) i32); impl TessellationDomainOrigin { pub fn from_raw(x: i32) -> Self { @@ -41069,6 +41842,7 @@ impl TessellationDomainOrigin { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SamplerYcbcrModelConversion(pub(crate) i32); impl SamplerYcbcrModelConversion { pub fn from_raw(x: i32) -> Self { @@ -41091,6 +41865,7 @@ impl SamplerYcbcrModelConversion { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct SamplerYcbcrRange(pub(crate) i32); impl SamplerYcbcrRange { pub fn from_raw(x: i32) -> Self { @@ -41108,6 +41883,7 @@ impl SamplerYcbcrRange { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ChromaLocation(pub(crate) i32); impl ChromaLocation { pub fn from_raw(x: i32) -> Self { @@ -41123,6 +41899,7 @@ impl ChromaLocation { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct BlendOverlapEXT(pub(crate) i32); impl BlendOverlapEXT { pub fn from_raw(x: i32) -> Self { @@ -41139,6 +41916,7 @@ impl BlendOverlapEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct CoverageModulationModeNV(pub(crate) i32); impl CoverageModulationModeNV { pub fn from_raw(x: i32) -> Self { @@ -41156,6 +41934,7 @@ impl CoverageModulationModeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ValidationCacheHeaderVersionEXT(pub(crate) i32); impl ValidationCacheHeaderVersionEXT { pub fn from_raw(x: i32) -> Self { @@ -41170,6 +41949,7 @@ impl ValidationCacheHeaderVersionEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ShaderInfoTypeAMD(pub(crate) i32); impl ShaderInfoTypeAMD { pub fn from_raw(x: i32) -> Self { @@ -41186,6 +41966,7 @@ impl ShaderInfoTypeAMD { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct QueueGlobalPriorityEXT(pub(crate) i32); impl QueueGlobalPriorityEXT { pub fn from_raw(x: i32) -> Self { @@ -41203,6 +41984,7 @@ impl QueueGlobalPriorityEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ConservativeRasterizationModeEXT(pub(crate) i32); impl ConservativeRasterizationModeEXT { pub fn from_raw(x: i32) -> Self { @@ -41219,6 +42001,7 @@ impl ConservativeRasterizationModeEXT { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct VendorId(pub(crate) i32); impl VendorId { pub fn from_raw(x: i32) -> Self { @@ -41238,6 +42021,7 @@ impl VendorId { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct DriverIdKHR(pub(crate) i32); impl DriverIdKHR { pub fn from_raw(x: i32) -> Self { @@ -41271,6 +42055,7 @@ impl DriverIdKHR { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct ShadingRatePaletteEntryNV(pub(crate) i32); impl ShadingRatePaletteEntryNV { pub fn from_raw(x: i32) -> Self { @@ -41296,6 +42081,7 @@ impl ShadingRatePaletteEntryNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct CoarseSampleOrderTypeNV(pub(crate) i32); impl CoarseSampleOrderTypeNV { pub fn from_raw(x: i32) -> Self { @@ -41313,6 +42099,7 @@ impl CoarseSampleOrderTypeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct CopyAccelerationStructureModeNV(pub(crate) i32); impl CopyAccelerationStructureModeNV { pub fn from_raw(x: i32) -> Self { @@ -41328,6 +42115,7 @@ impl CopyAccelerationStructureModeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct AccelerationStructureTypeNV(pub(crate) i32); impl AccelerationStructureTypeNV { pub fn from_raw(x: i32) -> Self { @@ -41343,6 +42131,7 @@ impl AccelerationStructureTypeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct GeometryTypeNV(pub(crate) i32); impl GeometryTypeNV { pub fn from_raw(x: i32) -> Self { @@ -41358,6 +42147,7 @@ impl GeometryTypeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct AccelerationStructureMemoryRequirementsTypeNV(pub(crate) i32); impl AccelerationStructureMemoryRequirementsTypeNV { pub fn from_raw(x: i32) -> Self { @@ -41374,6 +42164,7 @@ impl AccelerationStructureMemoryRequirementsTypeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct RayTracingShaderGroupTypeNV(pub(crate) i32); impl RayTracingShaderGroupTypeNV { pub fn from_raw(x: i32) -> Self { @@ -41390,6 +42181,7 @@ impl RayTracingShaderGroupTypeNV { } #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] +#[doc = ""] pub struct MemoryOverallocationBehaviorAMD(pub(crate) i32); impl MemoryOverallocationBehaviorAMD { pub fn from_raw(x: i32) -> Self { @@ -41406,6 +42198,7 @@ impl MemoryOverallocationBehaviorAMD { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CullModeFlags(pub(crate) Flags); vk_bitflags_wrapped!(CullModeFlags, 0b11, Flags); impl CullModeFlags { @@ -41416,6 +42209,7 @@ impl CullModeFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct QueueFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueueFlags, 0b1111, Flags); impl QueueFlags { @@ -41430,16 +42224,19 @@ impl QueueFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct RenderPassCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(RenderPassCreateFlags, 0b0, Flags); impl RenderPassCreateFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DeviceQueueCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DeviceQueueCreateFlags, 0b0, Flags); impl DeviceQueueCreateFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct MemoryPropertyFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryPropertyFlags, 0b11111, Flags); impl MemoryPropertyFlags { @@ -41456,6 +42253,7 @@ impl MemoryPropertyFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct MemoryHeapFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryHeapFlags, 0b1, Flags); impl MemoryHeapFlags { @@ -41464,6 +42262,7 @@ impl MemoryHeapFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct AccessFlags(pub(crate) Flags); vk_bitflags_wrapped!(AccessFlags, 0b11111111111111111, Flags); impl AccessFlags { @@ -41504,6 +42303,7 @@ impl AccessFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct BufferUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(BufferUsageFlags, 0b111111111, Flags); impl BufferUsageFlags { @@ -41528,6 +42328,7 @@ impl BufferUsageFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct BufferCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(BufferCreateFlags, 0b111, Flags); impl BufferCreateFlags { @@ -41540,6 +42341,7 @@ impl BufferCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ShaderStageFlags(pub(crate) Flags); vk_bitflags_wrapped!(ShaderStageFlags, 0b1111111111111111111111111111111, Flags); impl ShaderStageFlags { @@ -41554,6 +42356,7 @@ impl ShaderStageFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ImageUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageUsageFlags, 0b11111111, Flags); impl ImageUsageFlags { @@ -41576,6 +42379,7 @@ impl ImageUsageFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ImageCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageCreateFlags, 0b11111, Flags); impl ImageCreateFlags { @@ -41592,16 +42396,19 @@ impl ImageCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ImageViewCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageViewCreateFlags, 0b0, Flags); impl ImageViewCreateFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SamplerCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(SamplerCreateFlags, 0b0, Flags); impl SamplerCreateFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCreateFlags, 0b111, Flags); impl PipelineCreateFlags { @@ -41611,6 +42418,7 @@ impl PipelineCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ColorComponentFlags(pub(crate) Flags); vk_bitflags_wrapped!(ColorComponentFlags, 0b1111, Flags); impl ColorComponentFlags { @@ -41621,6 +42429,7 @@ impl ColorComponentFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct FenceCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(FenceCreateFlags, 0b1, Flags); impl FenceCreateFlags { @@ -41628,6 +42437,7 @@ impl FenceCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct FormatFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(FormatFeatureFlags, 0b1111111111111, Flags); impl FormatFeatureFlags { @@ -41660,6 +42470,7 @@ impl FormatFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct QueryControlFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryControlFlags, 0b1, Flags); impl QueryControlFlags { @@ -41668,6 +42479,7 @@ impl QueryControlFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct QueryResultFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryResultFlags, 0b1111, Flags); impl QueryResultFlags { @@ -41682,6 +42494,7 @@ impl QueryResultFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CommandBufferUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandBufferUsageFlags, 0b111, Flags); impl CommandBufferUsageFlags { @@ -41692,6 +42505,7 @@ impl CommandBufferUsageFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct QueryPipelineStatisticFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryPipelineStatisticFlags, 0b11111111111, Flags); impl QueryPipelineStatisticFlags { @@ -41721,6 +42535,7 @@ impl QueryPipelineStatisticFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ImageAspectFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageAspectFlags, 0b1111, Flags); impl ImageAspectFlags { @@ -41731,6 +42546,7 @@ impl ImageAspectFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SparseImageFormatFlags(pub(crate) Flags); vk_bitflags_wrapped!(SparseImageFormatFlags, 0b111, Flags); impl SparseImageFormatFlags { @@ -41743,6 +42559,7 @@ impl SparseImageFormatFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SparseMemoryBindFlags(pub(crate) Flags); vk_bitflags_wrapped!(SparseMemoryBindFlags, 0b1, Flags); impl SparseMemoryBindFlags { @@ -41751,6 +42568,7 @@ impl SparseMemoryBindFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PipelineStageFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineStageFlags, 0b11111111111111111, Flags); impl PipelineStageFlags { @@ -41791,6 +42609,7 @@ impl PipelineStageFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CommandPoolCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandPoolCreateFlags, 0b11, Flags); impl CommandPoolCreateFlags { @@ -41801,6 +42620,7 @@ impl CommandPoolCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CommandPoolResetFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandPoolResetFlags, 0b1, Flags); impl CommandPoolResetFlags { @@ -41809,6 +42629,7 @@ impl CommandPoolResetFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CommandBufferResetFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandBufferResetFlags, 0b1, Flags); impl CommandBufferResetFlags { @@ -41817,6 +42638,7 @@ impl CommandBufferResetFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SampleCountFlags(pub(crate) Flags); vk_bitflags_wrapped!(SampleCountFlags, 0b1111111, Flags); impl SampleCountFlags { @@ -41837,6 +42659,7 @@ impl SampleCountFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct AttachmentDescriptionFlags(pub(crate) Flags); vk_bitflags_wrapped!(AttachmentDescriptionFlags, 0b1, Flags); impl AttachmentDescriptionFlags { @@ -41845,6 +42668,7 @@ impl AttachmentDescriptionFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct StencilFaceFlags(pub(crate) Flags); vk_bitflags_wrapped!(StencilFaceFlags, 0b11, Flags); impl StencilFaceFlags { @@ -41857,6 +42681,7 @@ impl StencilFaceFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DescriptorPoolCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorPoolCreateFlags, 0b1, Flags); impl DescriptorPoolCreateFlags { @@ -41865,6 +42690,7 @@ impl DescriptorPoolCreateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DependencyFlags(pub(crate) Flags); vk_bitflags_wrapped!(DependencyFlags, 0b1, Flags); impl DependencyFlags { @@ -41873,6 +42699,7 @@ impl DependencyFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DisplayPlaneAlphaFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DisplayPlaneAlphaFlagsKHR, 0b1111, Flags); impl DisplayPlaneAlphaFlagsKHR { @@ -41883,6 +42710,7 @@ impl DisplayPlaneAlphaFlagsKHR { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct CompositeAlphaFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(CompositeAlphaFlagsKHR, 0b1111, Flags); impl CompositeAlphaFlagsKHR { @@ -41893,6 +42721,7 @@ impl CompositeAlphaFlagsKHR { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SurfaceTransformFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(SurfaceTransformFlagsKHR, 0b111111111, Flags); impl SurfaceTransformFlagsKHR { @@ -41908,6 +42737,7 @@ impl SurfaceTransformFlagsKHR { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DebugReportFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugReportFlagsEXT, 0b11111, Flags); impl DebugReportFlagsEXT { @@ -41919,6 +42749,7 @@ impl DebugReportFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalMemoryHandleTypeFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryHandleTypeFlagsNV, 0b1111, Flags); impl ExternalMemoryHandleTypeFlagsNV { @@ -41933,6 +42764,7 @@ impl ExternalMemoryHandleTypeFlagsNV { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalMemoryFeatureFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryFeatureFlagsNV, 0b111, Flags); impl ExternalMemoryFeatureFlagsNV { @@ -41942,6 +42774,7 @@ impl ExternalMemoryFeatureFlagsNV { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SubgroupFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(SubgroupFeatureFlags, 0b11111111, Flags); impl SubgroupFeatureFlags { @@ -41964,6 +42797,7 @@ impl SubgroupFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct IndirectCommandsLayoutUsageFlagsNVX(pub(crate) Flags); vk_bitflags_wrapped!(IndirectCommandsLayoutUsageFlagsNVX, 0b1111, Flags); impl IndirectCommandsLayoutUsageFlagsNVX { @@ -41974,6 +42808,7 @@ impl IndirectCommandsLayoutUsageFlagsNVX { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ObjectEntryUsageFlagsNVX(pub(crate) Flags); vk_bitflags_wrapped!(ObjectEntryUsageFlagsNVX, 0b11, Flags); impl ObjectEntryUsageFlagsNVX { @@ -41982,11 +42817,13 @@ impl ObjectEntryUsageFlagsNVX { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DescriptorSetLayoutCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorSetLayoutCreateFlags, 0b0, Flags); impl DescriptorSetLayoutCreateFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalMemoryHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryHandleTypeFlags, 0b1111111, Flags); impl ExternalMemoryHandleTypeFlags { @@ -42005,6 +42842,7 @@ impl ExternalMemoryHandleTypeFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalMemoryFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryFeatureFlags, 0b111, Flags); impl ExternalMemoryFeatureFlags { @@ -42014,6 +42852,7 @@ impl ExternalMemoryFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalSemaphoreHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalSemaphoreHandleTypeFlags, 0b11111, Flags); impl ExternalSemaphoreHandleTypeFlags { @@ -42030,6 +42869,7 @@ impl ExternalSemaphoreHandleTypeFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalSemaphoreFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalSemaphoreFeatureFlags, 0b11, Flags); impl ExternalSemaphoreFeatureFlags { @@ -42038,6 +42878,7 @@ impl ExternalSemaphoreFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SemaphoreImportFlags(pub(crate) Flags); vk_bitflags_wrapped!(SemaphoreImportFlags, 0b1, Flags); impl SemaphoreImportFlags { @@ -42045,6 +42886,7 @@ impl SemaphoreImportFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalFenceHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalFenceHandleTypeFlags, 0b1111, Flags); impl ExternalFenceHandleTypeFlags { @@ -42056,6 +42898,7 @@ impl ExternalFenceHandleTypeFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ExternalFenceFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalFenceFeatureFlags, 0b11, Flags); impl ExternalFenceFeatureFlags { @@ -42064,6 +42907,7 @@ impl ExternalFenceFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct FenceImportFlags(pub(crate) Flags); vk_bitflags_wrapped!(FenceImportFlags, 0b1, Flags); impl FenceImportFlags { @@ -42071,6 +42915,7 @@ impl FenceImportFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SurfaceCounterFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(SurfaceCounterFlagsEXT, 0b1, Flags); impl SurfaceCounterFlagsEXT { @@ -42078,6 +42923,7 @@ impl SurfaceCounterFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct PeerMemoryFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(PeerMemoryFeatureFlags, 0b1111, Flags); impl PeerMemoryFeatureFlags { @@ -42092,6 +42938,7 @@ impl PeerMemoryFeatureFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct MemoryAllocateFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryAllocateFlags, 0b1, Flags); impl MemoryAllocateFlags { @@ -42100,6 +42947,7 @@ impl MemoryAllocateFlags { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DeviceGroupPresentModeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DeviceGroupPresentModeFlagsKHR, 0b1111, Flags); impl DeviceGroupPresentModeFlagsKHR { @@ -42114,16 +42962,19 @@ impl DeviceGroupPresentModeFlagsKHR { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SwapchainCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(SwapchainCreateFlagsKHR, 0b0, Flags); impl SwapchainCreateFlagsKHR {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct SubpassDescriptionFlags(pub(crate) Flags); vk_bitflags_wrapped!(SubpassDescriptionFlags, 0b0, Flags); impl SubpassDescriptionFlags {} #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DebugUtilsMessageSeverityFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessageSeverityFlagsEXT, 0b1000100010001, Flags); impl DebugUtilsMessageSeverityFlagsEXT { @@ -42134,6 +42985,7 @@ impl DebugUtilsMessageSeverityFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DebugUtilsMessageTypeFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessageTypeFlagsEXT, 0b111, Flags); impl DebugUtilsMessageTypeFlagsEXT { @@ -42143,6 +42995,7 @@ impl DebugUtilsMessageTypeFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct DescriptorBindingFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorBindingFlagsEXT, 0b1111, Flags); impl DescriptorBindingFlagsEXT { @@ -42153,6 +43006,7 @@ impl DescriptorBindingFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ConditionalRenderingFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ConditionalRenderingFlagsEXT, 0b1, Flags); impl ConditionalRenderingFlagsEXT { @@ -42160,6 +43014,7 @@ impl ConditionalRenderingFlagsEXT { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct ResolveModeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(ResolveModeFlagsKHR, 0b1111, Flags); impl ResolveModeFlagsKHR { @@ -42171,6 +43026,7 @@ impl ResolveModeFlagsKHR { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct GeometryInstanceFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(GeometryInstanceFlagsNV, 0b1111, Flags); impl GeometryInstanceFlagsNV { @@ -42181,6 +43037,7 @@ impl GeometryInstanceFlagsNV { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct GeometryFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(GeometryFlagsNV, 0b11, Flags); impl GeometryFlagsNV { @@ -42189,6 +43046,7 @@ impl GeometryFlagsNV { } #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[doc = ""] pub struct BuildAccelerationStructureFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(BuildAccelerationStructureFlagsNV, 0b11111, Flags); impl BuildAccelerationStructureFlagsNV { @@ -42411,6 +43269,7 @@ impl KhrSurfaceFn { }, } } + #[doc = ""] pub unsafe fn destroy_surface_khr( &self, instance: Instance, @@ -42419,6 +43278,7 @@ impl KhrSurfaceFn { ) -> c_void { (self.destroy_surface_khr)(instance, surface, p_allocator) } + #[doc = ""] pub unsafe fn get_physical_device_surface_support_khr( &self, physical_device: PhysicalDevice, @@ -42433,6 +43293,7 @@ impl KhrSurfaceFn { p_supported, ) } + #[doc = ""] pub unsafe fn get_physical_device_surface_capabilities_khr( &self, physical_device: PhysicalDevice, @@ -42445,6 +43306,7 @@ impl KhrSurfaceFn { p_surface_capabilities, ) } + #[doc = ""] pub unsafe fn get_physical_device_surface_formats_khr( &self, physical_device: PhysicalDevice, @@ -42459,6 +43321,7 @@ impl KhrSurfaceFn { p_surface_formats, ) } + #[doc = ""] pub unsafe fn get_physical_device_surface_present_modes_khr( &self, physical_device: PhysicalDevice, @@ -42803,6 +43666,7 @@ impl KhrSwapchainFn { }, } } + #[doc = ""] pub unsafe fn create_swapchain_khr( &self, device: Device, @@ -42812,6 +43676,7 @@ impl KhrSwapchainFn { ) -> Result { (self.create_swapchain_khr)(device, p_create_info, p_allocator, p_swapchain) } + #[doc = ""] pub unsafe fn destroy_swapchain_khr( &self, device: Device, @@ -42820,6 +43685,7 @@ impl KhrSwapchainFn { ) -> c_void { (self.destroy_swapchain_khr)(device, swapchain, p_allocator) } + #[doc = ""] pub unsafe fn get_swapchain_images_khr( &self, device: Device, @@ -42834,6 +43700,7 @@ impl KhrSwapchainFn { p_swapchain_images, ) } + #[doc = ""] pub unsafe fn acquire_next_image_khr( &self, device: Device, @@ -42845,6 +43712,7 @@ impl KhrSwapchainFn { ) -> Result { (self.acquire_next_image_khr)(device, swapchain, timeout, semaphore, fence, p_image_index) } + #[doc = ""] pub unsafe fn queue_present_khr( &self, queue: Queue, @@ -42852,6 +43720,7 @@ impl KhrSwapchainFn { ) -> Result { (self.queue_present_khr)(queue, p_present_info) } + #[doc = ""] pub unsafe fn get_device_group_present_capabilities_khr( &self, device: Device, @@ -42862,6 +43731,7 @@ impl KhrSwapchainFn { p_device_group_present_capabilities, ) } + #[doc = ""] pub unsafe fn get_device_group_surface_present_modes_khr( &self, device: Device, @@ -42870,6 +43740,7 @@ impl KhrSwapchainFn { ) -> Result { (self.get_device_group_surface_present_modes_khr)(device, surface, p_modes) } + #[doc = ""] pub unsafe fn get_physical_device_present_rectangles_khr( &self, physical_device: PhysicalDevice, @@ -42884,6 +43755,7 @@ impl KhrSwapchainFn { p_rects, ) } + #[doc = ""] pub unsafe fn acquire_next_image2_khr( &self, device: Device, @@ -43216,6 +44088,7 @@ impl KhrDisplayFn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_display_properties_khr( &self, physical_device: PhysicalDevice, @@ -43228,6 +44101,7 @@ impl KhrDisplayFn { p_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_display_plane_properties_khr( &self, physical_device: PhysicalDevice, @@ -43240,6 +44114,7 @@ impl KhrDisplayFn { p_properties, ) } + #[doc = ""] pub unsafe fn get_display_plane_supported_displays_khr( &self, physical_device: PhysicalDevice, @@ -43254,6 +44129,7 @@ impl KhrDisplayFn { p_displays, ) } + #[doc = ""] pub unsafe fn get_display_mode_properties_khr( &self, physical_device: PhysicalDevice, @@ -43268,6 +44144,7 @@ impl KhrDisplayFn { p_properties, ) } + #[doc = ""] pub unsafe fn create_display_mode_khr( &self, physical_device: PhysicalDevice, @@ -43278,6 +44155,7 @@ impl KhrDisplayFn { ) -> Result { (self.create_display_mode_khr)(physical_device, display, p_create_info, p_allocator, p_mode) } + #[doc = ""] pub unsafe fn get_display_plane_capabilities_khr( &self, physical_device: PhysicalDevice, @@ -43292,6 +44170,7 @@ impl KhrDisplayFn { p_capabilities, ) } + #[doc = ""] pub unsafe fn create_display_plane_surface_khr( &self, instance: Instance, @@ -43380,6 +44259,7 @@ impl KhrDisplaySwapchainFn { }, } } + #[doc = ""] pub unsafe fn create_shared_swapchains_khr( &self, device: Device, @@ -43500,6 +44380,7 @@ impl KhrXlibSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_xlib_surface_khr( &self, instance: Instance, @@ -43509,6 +44390,7 @@ impl KhrXlibSurfaceFn { ) -> Result { (self.create_xlib_surface_khr)(instance, p_create_info, p_allocator, p_surface) } + #[doc = ""] pub unsafe fn get_physical_device_xlib_presentation_support_khr( &self, physical_device: PhysicalDevice, @@ -43623,6 +44505,7 @@ impl KhrXcbSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_xcb_surface_khr( &self, instance: Instance, @@ -43632,6 +44515,7 @@ impl KhrXcbSurfaceFn { ) -> Result { (self.create_xcb_surface_khr)(instance, p_create_info, p_allocator, p_surface) } + #[doc = ""] pub unsafe fn get_physical_device_xcb_presentation_support_khr( &self, physical_device: PhysicalDevice, @@ -43743,6 +44627,7 @@ impl KhrWaylandSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_wayland_surface_khr( &self, instance: Instance, @@ -43752,6 +44637,7 @@ impl KhrWaylandSurfaceFn { ) -> Result { (self.create_wayland_surface_khr)(instance, p_create_info, p_allocator, p_surface) } + #[doc = ""] pub unsafe fn get_physical_device_wayland_presentation_support_khr( &self, physical_device: PhysicalDevice, @@ -43850,6 +44736,7 @@ impl KhrAndroidSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_android_surface_khr( &self, instance: Instance, @@ -43949,6 +44836,7 @@ impl KhrWin32SurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_win32_surface_khr( &self, instance: Instance, @@ -43958,6 +44846,7 @@ impl KhrWin32SurfaceFn { ) -> Result { (self.create_win32_surface_khr)(instance, p_create_info, p_allocator, p_surface) } + #[doc = ""] pub unsafe fn get_physical_device_win32_presentation_support_khr( &self, physical_device: PhysicalDevice, @@ -44108,6 +44997,7 @@ impl AndroidNativeBufferFn { }, } } + #[doc = ""] pub unsafe fn get_swapchain_gralloc_usage_android( &self, device: Device, @@ -44117,6 +45007,7 @@ impl AndroidNativeBufferFn { ) -> Result { (self.get_swapchain_gralloc_usage_android)(device, format, image_usage, gralloc_usage) } + #[doc = ""] pub unsafe fn acquire_image_android( &self, device: Device, @@ -44127,6 +45018,7 @@ impl AndroidNativeBufferFn { ) -> Result { (self.acquire_image_android)(device, image, native_fence_fd, semaphore, fence) } + #[doc = ""] pub unsafe fn queue_signal_release_image_android( &self, queue: Queue, @@ -44286,6 +45178,7 @@ impl ExtDebugReportFn { }, } } + #[doc = ""] pub unsafe fn create_debug_report_callback_ext( &self, instance: Instance, @@ -44295,6 +45188,7 @@ impl ExtDebugReportFn { ) -> Result { (self.create_debug_report_callback_ext)(instance, p_create_info, p_allocator, p_callback) } + #[doc = ""] pub unsafe fn destroy_debug_report_callback_ext( &self, instance: Instance, @@ -44303,6 +45197,7 @@ impl ExtDebugReportFn { ) -> c_void { (self.destroy_debug_report_callback_ext)(instance, callback, p_allocator) } + #[doc = ""] pub unsafe fn debug_report_message_ext( &self, instance: Instance, @@ -44741,6 +45636,7 @@ impl ExtDebugMarkerFn { }, } } + #[doc = ""] pub unsafe fn debug_marker_set_object_tag_ext( &self, device: Device, @@ -44748,6 +45644,7 @@ impl ExtDebugMarkerFn { ) -> Result { (self.debug_marker_set_object_tag_ext)(device, p_tag_info) } + #[doc = ""] pub unsafe fn debug_marker_set_object_name_ext( &self, device: Device, @@ -44755,6 +45652,7 @@ impl ExtDebugMarkerFn { ) -> Result { (self.debug_marker_set_object_name_ext)(device, p_name_info) } + #[doc = ""] pub unsafe fn cmd_debug_marker_begin_ext( &self, command_buffer: CommandBuffer, @@ -44762,9 +45660,11 @@ impl ExtDebugMarkerFn { ) -> c_void { (self.cmd_debug_marker_begin_ext)(command_buffer, p_marker_info) } + #[doc = ""] pub unsafe fn cmd_debug_marker_end_ext(&self, command_buffer: CommandBuffer) -> c_void { (self.cmd_debug_marker_end_ext)(command_buffer) } + #[doc = ""] pub unsafe fn cmd_debug_marker_insert_ext( &self, command_buffer: CommandBuffer, @@ -45261,6 +46161,7 @@ impl ExtTransformFeedbackFn { }, } } + #[doc = ""] pub unsafe fn cmd_bind_transform_feedback_buffers_ext( &self, command_buffer: CommandBuffer, @@ -45279,6 +46180,7 @@ impl ExtTransformFeedbackFn { p_sizes, ) } + #[doc = ""] pub unsafe fn cmd_begin_transform_feedback_ext( &self, command_buffer: CommandBuffer, @@ -45295,6 +46197,7 @@ impl ExtTransformFeedbackFn { p_counter_buffer_offsets, ) } + #[doc = ""] pub unsafe fn cmd_end_transform_feedback_ext( &self, command_buffer: CommandBuffer, @@ -45311,6 +46214,7 @@ impl ExtTransformFeedbackFn { p_counter_buffer_offsets, ) } + #[doc = ""] pub unsafe fn cmd_begin_query_indexed_ext( &self, command_buffer: CommandBuffer, @@ -45321,6 +46225,7 @@ impl ExtTransformFeedbackFn { ) -> c_void { (self.cmd_begin_query_indexed_ext)(command_buffer, query_pool, query, flags, index) } + #[doc = ""] pub unsafe fn cmd_end_query_indexed_ext( &self, command_buffer: CommandBuffer, @@ -45330,6 +46235,7 @@ impl ExtTransformFeedbackFn { ) -> c_void { (self.cmd_end_query_indexed_ext)(command_buffer, query_pool, query, index) } + #[doc = ""] pub unsafe fn cmd_draw_indirect_byte_count_ext( &self, command_buffer: CommandBuffer, @@ -45593,6 +46499,7 @@ impl AmdDrawIndirectCountFn { }, } } + #[doc = ""] pub unsafe fn cmd_draw_indirect_count_amd( &self, command_buffer: CommandBuffer, @@ -45613,6 +46520,7 @@ impl AmdDrawIndirectCountFn { stride, ) } + #[doc = ""] pub unsafe fn cmd_draw_indexed_indirect_count_amd( &self, command_buffer: CommandBuffer, @@ -45876,6 +46784,7 @@ impl AmdShaderInfoFn { }, } } + #[doc = ""] pub unsafe fn get_shader_info_amd( &self, device: Device, @@ -46271,6 +47180,7 @@ impl NvExternalMemoryCapabilitiesFn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_external_image_format_properties_nv( &self, physical_device: PhysicalDevice, @@ -46383,6 +47293,7 @@ impl NvExternalMemoryWin32Fn { }, } } + #[doc = ""] pub unsafe fn get_memory_win32_handle_nv( &self, device: Device, @@ -46580,6 +47491,7 @@ impl KhrDeviceGroupFn { }, } } + #[doc = ""] pub unsafe fn get_device_group_present_capabilities_khr( &self, device: Device, @@ -46590,6 +47502,7 @@ impl KhrDeviceGroupFn { p_device_group_present_capabilities, ) } + #[doc = ""] pub unsafe fn get_device_group_surface_present_modes_khr( &self, device: Device, @@ -46598,6 +47511,7 @@ impl KhrDeviceGroupFn { ) -> Result { (self.get_device_group_surface_present_modes_khr)(device, surface, p_modes) } + #[doc = ""] pub unsafe fn get_physical_device_present_rectangles_khr( &self, physical_device: PhysicalDevice, @@ -46612,6 +47526,7 @@ impl KhrDeviceGroupFn { p_rects, ) } + #[doc = ""] pub unsafe fn acquire_next_image2_khr( &self, device: Device, @@ -46703,6 +47618,7 @@ impl NnViSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_vi_surface_nn( &self, instance: Instance, @@ -47036,6 +47952,7 @@ impl KhrExternalMemoryWin32Fn { }, } } + #[doc = ""] pub unsafe fn get_memory_win32_handle_khr( &self, device: Device, @@ -47044,6 +47961,7 @@ impl KhrExternalMemoryWin32Fn { ) -> Result { (self.get_memory_win32_handle_khr)(device, p_get_win32_handle_info, p_handle) } + #[doc = ""] pub unsafe fn get_memory_win32_handle_properties_khr( &self, device: Device, @@ -47163,6 +48081,7 @@ impl KhrExternalMemoryFdFn { }, } } + #[doc = ""] pub unsafe fn get_memory_fd_khr( &self, device: Device, @@ -47171,6 +48090,7 @@ impl KhrExternalMemoryFdFn { ) -> Result { (self.get_memory_fd_khr)(device, p_get_fd_info, p_fd) } + #[doc = ""] pub unsafe fn get_memory_fd_properties_khr( &self, device: Device, @@ -47348,6 +48268,7 @@ impl KhrExternalSemaphoreWin32Fn { }, } } + #[doc = ""] pub unsafe fn import_semaphore_win32_handle_khr( &self, device: Device, @@ -47355,6 +48276,7 @@ impl KhrExternalSemaphoreWin32Fn { ) -> Result { (self.import_semaphore_win32_handle_khr)(device, p_import_semaphore_win32_handle_info) } + #[doc = ""] pub unsafe fn get_semaphore_win32_handle_khr( &self, device: Device, @@ -47462,6 +48384,7 @@ impl KhrExternalSemaphoreFdFn { }, } } + #[doc = ""] pub unsafe fn import_semaphore_fd_khr( &self, device: Device, @@ -47469,6 +48392,7 @@ impl KhrExternalSemaphoreFdFn { ) -> Result { (self.import_semaphore_fd_khr)(device, p_import_semaphore_fd_info) } + #[doc = ""] pub unsafe fn get_semaphore_fd_khr( &self, device: Device, @@ -47590,6 +48514,7 @@ impl KhrPushDescriptorFn { }, } } + #[doc = ""] pub unsafe fn cmd_push_descriptor_set_khr( &self, command_buffer: CommandBuffer, @@ -47608,6 +48533,7 @@ impl KhrPushDescriptorFn { p_descriptor_writes, ) } + #[doc = ""] pub unsafe fn cmd_push_descriptor_set_with_template_khr( &self, command_buffer: CommandBuffer, @@ -47710,6 +48636,7 @@ impl ExtConditionalRenderingFn { }, } } + #[doc = ""] pub unsafe fn cmd_begin_conditional_rendering_ext( &self, command_buffer: CommandBuffer, @@ -47717,6 +48644,7 @@ impl ExtConditionalRenderingFn { ) -> c_void { (self.cmd_begin_conditional_rendering_ext)(command_buffer, p_conditional_rendering_begin) } + #[doc = ""] pub unsafe fn cmd_end_conditional_rendering_ext( &self, command_buffer: CommandBuffer, @@ -47878,6 +48806,7 @@ impl KhrDescriptorUpdateTemplateFn { }, } } + #[doc = ""] pub unsafe fn cmd_push_descriptor_set_with_template_khr( &self, command_buffer: CommandBuffer, @@ -48217,6 +49146,7 @@ impl NvxDeviceGeneratedCommandsFn { }, } } + #[doc = ""] pub unsafe fn cmd_process_commands_nvx( &self, command_buffer: CommandBuffer, @@ -48224,6 +49154,7 @@ impl NvxDeviceGeneratedCommandsFn { ) -> c_void { (self.cmd_process_commands_nvx)(command_buffer, p_process_commands_info) } + #[doc = ""] pub unsafe fn cmd_reserve_space_for_commands_nvx( &self, command_buffer: CommandBuffer, @@ -48231,6 +49162,7 @@ impl NvxDeviceGeneratedCommandsFn { ) -> c_void { (self.cmd_reserve_space_for_commands_nvx)(command_buffer, p_reserve_space_info) } + #[doc = ""] pub unsafe fn create_indirect_commands_layout_nvx( &self, device: Device, @@ -48245,6 +49177,7 @@ impl NvxDeviceGeneratedCommandsFn { p_indirect_commands_layout, ) } + #[doc = ""] pub unsafe fn destroy_indirect_commands_layout_nvx( &self, device: Device, @@ -48253,6 +49186,7 @@ impl NvxDeviceGeneratedCommandsFn { ) -> c_void { (self.destroy_indirect_commands_layout_nvx)(device, indirect_commands_layout, p_allocator) } + #[doc = ""] pub unsafe fn create_object_table_nvx( &self, device: Device, @@ -48262,6 +49196,7 @@ impl NvxDeviceGeneratedCommandsFn { ) -> Result { (self.create_object_table_nvx)(device, p_create_info, p_allocator, p_object_table) } + #[doc = ""] pub unsafe fn destroy_object_table_nvx( &self, device: Device, @@ -48270,6 +49205,7 @@ impl NvxDeviceGeneratedCommandsFn { ) -> c_void { (self.destroy_object_table_nvx)(device, object_table, p_allocator) } + #[doc = ""] pub unsafe fn register_objects_nvx( &self, device: Device, @@ -48286,6 +49222,7 @@ impl NvxDeviceGeneratedCommandsFn { p_object_indices, ) } + #[doc = ""] pub unsafe fn unregister_objects_nvx( &self, device: Device, @@ -48302,6 +49239,7 @@ impl NvxDeviceGeneratedCommandsFn { p_object_indices, ) } + #[doc = ""] pub unsafe fn get_physical_device_generated_commands_properties_nvx( &self, physical_device: PhysicalDevice, @@ -48418,6 +49356,7 @@ impl NvClipSpaceWScalingFn { }, } } + #[doc = ""] pub unsafe fn cmd_set_viewport_w_scaling_nv( &self, command_buffer: CommandBuffer, @@ -48487,6 +49426,7 @@ impl ExtDirectModeDisplayFn { }, } } + #[doc = ""] pub unsafe fn release_display_ext( &self, physical_device: PhysicalDevice, @@ -48586,6 +49526,7 @@ impl ExtAcquireXlibDisplayFn { }, } } + #[doc = ""] pub unsafe fn acquire_xlib_display_ext( &self, physical_device: PhysicalDevice, @@ -48594,6 +49535,7 @@ impl ExtAcquireXlibDisplayFn { ) -> Result { (self.acquire_xlib_display_ext)(physical_device, dpy, display) } + #[doc = ""] pub unsafe fn get_rand_r_output_display_ext( &self, physical_device: PhysicalDevice, @@ -48661,6 +49603,7 @@ impl ExtDisplaySurfaceCounterFn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_surface_capabilities2_ext( &self, physical_device: PhysicalDevice, @@ -48842,6 +49785,7 @@ impl ExtDisplayControlFn { }, } } + #[doc = ""] pub unsafe fn display_power_control_ext( &self, device: Device, @@ -48850,6 +49794,7 @@ impl ExtDisplayControlFn { ) -> Result { (self.display_power_control_ext)(device, display, p_display_power_info) } + #[doc = ""] pub unsafe fn register_device_event_ext( &self, device: Device, @@ -48859,6 +49804,7 @@ impl ExtDisplayControlFn { ) -> Result { (self.register_device_event_ext)(device, p_device_event_info, p_allocator, p_fence) } + #[doc = ""] pub unsafe fn register_display_event_ext( &self, device: Device, @@ -48875,6 +49821,7 @@ impl ExtDisplayControlFn { p_fence, ) } + #[doc = ""] pub unsafe fn get_swapchain_counter_ext( &self, device: Device, @@ -48992,6 +49939,7 @@ impl GoogleDisplayTimingFn { }, } } + #[doc = ""] pub unsafe fn get_refresh_cycle_duration_google( &self, device: Device, @@ -49000,6 +49948,7 @@ impl GoogleDisplayTimingFn { ) -> Result { (self.get_refresh_cycle_duration_google)(device, swapchain, p_display_timing_properties) } + #[doc = ""] pub unsafe fn get_past_presentation_timing_google( &self, device: Device, @@ -49205,6 +50154,7 @@ impl ExtDiscardRectanglesFn { }, } } + #[doc = ""] pub unsafe fn cmd_set_discard_rectangle_ext( &self, command_buffer: CommandBuffer, @@ -49464,6 +50414,7 @@ impl ExtHdrMetadataFn { }, } } + #[doc = ""] pub unsafe fn set_hdr_metadata_ext( &self, device: Device, @@ -49696,6 +50647,7 @@ impl KhrCreateRenderpass2Fn { }, } } + #[doc = ""] pub unsafe fn create_render_pass2_khr( &self, device: Device, @@ -49705,6 +50657,7 @@ impl KhrCreateRenderpass2Fn { ) -> Result { (self.create_render_pass2_khr)(device, p_create_info, p_allocator, p_render_pass) } + #[doc = ""] pub unsafe fn cmd_begin_render_pass2_khr( &self, command_buffer: CommandBuffer, @@ -49713,6 +50666,7 @@ impl KhrCreateRenderpass2Fn { ) -> c_void { (self.cmd_begin_render_pass2_khr)(command_buffer, p_render_pass_begin, p_subpass_begin_info) } + #[doc = ""] pub unsafe fn cmd_next_subpass2_khr( &self, command_buffer: CommandBuffer, @@ -49721,6 +50675,7 @@ impl KhrCreateRenderpass2Fn { ) -> c_void { (self.cmd_next_subpass2_khr)(command_buffer, p_subpass_begin_info, p_subpass_end_info) } + #[doc = ""] pub unsafe fn cmd_end_render_pass2_khr( &self, command_buffer: CommandBuffer, @@ -49828,6 +50783,7 @@ impl KhrSharedPresentableImageFn { }, } } + #[doc = ""] pub unsafe fn get_swapchain_status_khr( &self, device: Device, @@ -49981,6 +50937,7 @@ impl KhrExternalFenceWin32Fn { }, } } + #[doc = ""] pub unsafe fn import_fence_win32_handle_khr( &self, device: Device, @@ -49988,6 +50945,7 @@ impl KhrExternalFenceWin32Fn { ) -> Result { (self.import_fence_win32_handle_khr)(device, p_import_fence_win32_handle_info) } + #[doc = ""] pub unsafe fn get_fence_win32_handle_khr( &self, device: Device, @@ -50088,6 +51046,7 @@ impl KhrExternalFenceFdFn { }, } } + #[doc = ""] pub unsafe fn import_fence_fd_khr( &self, device: Device, @@ -50095,6 +51054,7 @@ impl KhrExternalFenceFdFn { ) -> Result { (self.import_fence_fd_khr)(device, p_import_fence_fd_info) } + #[doc = ""] pub unsafe fn get_fence_fd_khr( &self, device: Device, @@ -50270,6 +51230,7 @@ impl KhrGetSurfaceCapabilities2Fn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_surface_capabilities2_khr( &self, physical_device: PhysicalDevice, @@ -50282,6 +51243,7 @@ impl KhrGetSurfaceCapabilities2Fn { p_surface_capabilities, ) } + #[doc = ""] pub unsafe fn get_physical_device_surface_formats2_khr( &self, physical_device: PhysicalDevice, @@ -50488,6 +51450,7 @@ impl KhrGetDisplayProperties2Fn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_display_properties2_khr( &self, physical_device: PhysicalDevice, @@ -50500,6 +51463,7 @@ impl KhrGetDisplayProperties2Fn { p_properties, ) } + #[doc = ""] pub unsafe fn get_physical_device_display_plane_properties2_khr( &self, physical_device: PhysicalDevice, @@ -50512,6 +51476,7 @@ impl KhrGetDisplayProperties2Fn { p_properties, ) } + #[doc = ""] pub unsafe fn get_display_mode_properties2_khr( &self, physical_device: PhysicalDevice, @@ -50526,6 +51491,7 @@ impl KhrGetDisplayProperties2Fn { p_properties, ) } + #[doc = ""] pub unsafe fn get_display_plane_capabilities2_khr( &self, physical_device: PhysicalDevice, @@ -50618,6 +51584,7 @@ impl MvkIosSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_ios_surface_mvk( &self, instance: Instance, @@ -50691,6 +51658,7 @@ impl MvkMacosSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_mac_os_surface_mvk( &self, instance: Instance, @@ -51126,6 +52094,7 @@ impl ExtDebugUtilsFn { }, } } + #[doc = ""] pub unsafe fn set_debug_utils_object_name_ext( &self, device: Device, @@ -51133,6 +52102,7 @@ impl ExtDebugUtilsFn { ) -> Result { (self.set_debug_utils_object_name_ext)(device, p_name_info) } + #[doc = ""] pub unsafe fn set_debug_utils_object_tag_ext( &self, device: Device, @@ -51140,6 +52110,7 @@ impl ExtDebugUtilsFn { ) -> Result { (self.set_debug_utils_object_tag_ext)(device, p_tag_info) } + #[doc = ""] pub unsafe fn queue_begin_debug_utils_label_ext( &self, queue: Queue, @@ -51147,9 +52118,11 @@ impl ExtDebugUtilsFn { ) -> c_void { (self.queue_begin_debug_utils_label_ext)(queue, p_label_info) } + #[doc = ""] pub unsafe fn queue_end_debug_utils_label_ext(&self, queue: Queue) -> c_void { (self.queue_end_debug_utils_label_ext)(queue) } + #[doc = ""] pub unsafe fn queue_insert_debug_utils_label_ext( &self, queue: Queue, @@ -51157,6 +52130,7 @@ impl ExtDebugUtilsFn { ) -> c_void { (self.queue_insert_debug_utils_label_ext)(queue, p_label_info) } + #[doc = ""] pub unsafe fn cmd_begin_debug_utils_label_ext( &self, command_buffer: CommandBuffer, @@ -51164,9 +52138,11 @@ impl ExtDebugUtilsFn { ) -> c_void { (self.cmd_begin_debug_utils_label_ext)(command_buffer, p_label_info) } + #[doc = ""] pub unsafe fn cmd_end_debug_utils_label_ext(&self, command_buffer: CommandBuffer) -> c_void { (self.cmd_end_debug_utils_label_ext)(command_buffer) } + #[doc = ""] pub unsafe fn cmd_insert_debug_utils_label_ext( &self, command_buffer: CommandBuffer, @@ -51174,6 +52150,7 @@ impl ExtDebugUtilsFn { ) -> c_void { (self.cmd_insert_debug_utils_label_ext)(command_buffer, p_label_info) } + #[doc = ""] pub unsafe fn create_debug_utils_messenger_ext( &self, instance: Instance, @@ -51183,6 +52160,7 @@ impl ExtDebugUtilsFn { ) -> Result { (self.create_debug_utils_messenger_ext)(instance, p_create_info, p_allocator, p_messenger) } + #[doc = ""] pub unsafe fn destroy_debug_utils_messenger_ext( &self, instance: Instance, @@ -51191,6 +52169,7 @@ impl ExtDebugUtilsFn { ) -> c_void { (self.destroy_debug_utils_messenger_ext)(instance, messenger, p_allocator) } + #[doc = ""] pub unsafe fn submit_debug_utils_message_ext( &self, instance: Instance, @@ -51322,6 +52301,7 @@ impl AndroidExternalMemoryAndroidHardwareBufferFn { }, } } + #[doc = ""] pub unsafe fn get_android_hardware_buffer_properties_android( &self, device: Device, @@ -51330,6 +52310,7 @@ impl AndroidExternalMemoryAndroidHardwareBufferFn { ) -> Result { (self.get_android_hardware_buffer_properties_android)(device, buffer, p_properties) } + #[doc = ""] pub unsafe fn get_memory_android_hardware_buffer_android( &self, device: Device, @@ -51774,6 +52755,7 @@ impl ExtSampleLocationsFn { }, } } + #[doc = ""] pub unsafe fn cmd_set_sample_locations_ext( &self, command_buffer: CommandBuffer, @@ -51781,6 +52763,7 @@ impl ExtSampleLocationsFn { ) -> c_void { (self.cmd_set_sample_locations_ext)(command_buffer, p_sample_locations_info) } + #[doc = ""] pub unsafe fn get_physical_device_multisample_properties_ext( &self, physical_device: PhysicalDevice, @@ -52383,6 +53366,7 @@ impl ExtImageDrmFormatModifierFn { }, } } + #[doc = ""] pub unsafe fn get_image_drm_format_modifier_properties_ext( &self, device: Device, @@ -52623,6 +53607,7 @@ impl ExtValidationCacheFn { }, } } + #[doc = ""] pub unsafe fn create_validation_cache_ext( &self, device: Device, @@ -52632,6 +53617,7 @@ impl ExtValidationCacheFn { ) -> Result { (self.create_validation_cache_ext)(device, p_create_info, p_allocator, p_validation_cache) } + #[doc = ""] pub unsafe fn destroy_validation_cache_ext( &self, device: Device, @@ -52640,6 +53626,7 @@ impl ExtValidationCacheFn { ) -> c_void { (self.destroy_validation_cache_ext)(device, validation_cache, p_allocator) } + #[doc = ""] pub unsafe fn merge_validation_caches_ext( &self, device: Device, @@ -52649,6 +53636,7 @@ impl ExtValidationCacheFn { ) -> Result { (self.merge_validation_caches_ext)(device, dst_cache, src_cache_count, p_src_caches) } + #[doc = ""] pub unsafe fn get_validation_cache_data_ext( &self, device: Device, @@ -52897,6 +53885,7 @@ impl NvShadingRateImageFn { }, } } + #[doc = ""] pub unsafe fn cmd_bind_shading_rate_image_nv( &self, command_buffer: CommandBuffer, @@ -52905,6 +53894,7 @@ impl NvShadingRateImageFn { ) -> c_void { (self.cmd_bind_shading_rate_image_nv)(command_buffer, image_view, image_layout) } + #[doc = ""] pub unsafe fn cmd_set_viewport_shading_rate_palette_nv( &self, command_buffer: CommandBuffer, @@ -52919,6 +53909,7 @@ impl NvShadingRateImageFn { p_shading_rate_palettes, ) } + #[doc = ""] pub unsafe fn cmd_set_coarse_sample_order_nv( &self, command_buffer: CommandBuffer, @@ -53464,6 +54455,7 @@ impl NvRayTracingFn { }, } } + #[doc = ""] pub unsafe fn create_acceleration_structure_nv( &self, device: Device, @@ -53478,6 +54470,7 @@ impl NvRayTracingFn { p_acceleration_structure, ) } + #[doc = ""] pub unsafe fn destroy_acceleration_structure_nv( &self, device: Device, @@ -53486,6 +54479,7 @@ impl NvRayTracingFn { ) -> c_void { (self.destroy_acceleration_structure_nv)(device, acceleration_structure, p_allocator) } + #[doc = ""] pub unsafe fn get_acceleration_structure_memory_requirements_nv( &self, device: Device, @@ -53498,6 +54492,7 @@ impl NvRayTracingFn { p_memory_requirements, ) } + #[doc = ""] pub unsafe fn bind_acceleration_structure_memory_nv( &self, device: Device, @@ -53506,6 +54501,7 @@ impl NvRayTracingFn { ) -> Result { (self.bind_acceleration_structure_memory_nv)(device, bind_info_count, p_bind_infos) } + #[doc = ""] pub unsafe fn cmd_build_acceleration_structure_nv( &self, command_buffer: CommandBuffer, @@ -53530,6 +54526,7 @@ impl NvRayTracingFn { scratch_offset, ) } + #[doc = ""] pub unsafe fn cmd_copy_acceleration_structure_nv( &self, command_buffer: CommandBuffer, @@ -53539,6 +54536,7 @@ impl NvRayTracingFn { ) -> c_void { (self.cmd_copy_acceleration_structure_nv)(command_buffer, dst, src, mode) } + #[doc = ""] pub unsafe fn cmd_trace_rays_nv( &self, command_buffer: CommandBuffer, @@ -53575,6 +54573,7 @@ impl NvRayTracingFn { depth, ) } + #[doc = ""] pub unsafe fn create_ray_tracing_pipelines_nv( &self, device: Device, @@ -53593,6 +54592,7 @@ impl NvRayTracingFn { p_pipelines, ) } + #[doc = ""] pub unsafe fn get_ray_tracing_shader_group_handles_nv( &self, device: Device, @@ -53611,6 +54611,7 @@ impl NvRayTracingFn { p_data, ) } + #[doc = ""] pub unsafe fn get_acceleration_structure_handle_nv( &self, device: Device, @@ -53625,6 +54626,7 @@ impl NvRayTracingFn { p_data, ) } + #[doc = ""] pub unsafe fn cmd_write_acceleration_structures_properties_nv( &self, command_buffer: CommandBuffer, @@ -53643,6 +54645,7 @@ impl NvRayTracingFn { first_query, ) } + #[doc = ""] pub unsafe fn compile_deferred_nv( &self, device: Device, @@ -53957,6 +54960,7 @@ impl KhrDrawIndirectCountFn { }, } } + #[doc = ""] pub unsafe fn cmd_draw_indirect_count_khr( &self, command_buffer: CommandBuffer, @@ -53977,6 +54981,7 @@ impl KhrDrawIndirectCountFn { stride, ) } + #[doc = ""] pub unsafe fn cmd_draw_indexed_indirect_count_khr( &self, command_buffer: CommandBuffer, @@ -54245,6 +55250,7 @@ impl ExtExternalMemoryHostFn { }, } } + #[doc = ""] pub unsafe fn get_memory_host_pointer_properties_ext( &self, device: Device, @@ -54344,6 +55350,7 @@ impl AmdBufferMarkerFn { }, } } + #[doc = ""] pub unsafe fn cmd_write_buffer_marker_amd( &self, command_buffer: CommandBuffer, @@ -54548,6 +55555,7 @@ impl ExtCalibratedTimestampsFn { }, } } + #[doc = ""] pub unsafe fn get_physical_device_calibrateable_time_domains_ext( &self, physical_device: PhysicalDevice, @@ -54560,6 +55568,7 @@ impl ExtCalibratedTimestampsFn { p_time_domains, ) } + #[doc = ""] pub unsafe fn get_calibrated_timestamps_ext( &self, device: Device, @@ -55142,6 +56151,7 @@ impl NvMeshShaderFn { }, } } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks_nv( &self, command_buffer: CommandBuffer, @@ -55150,6 +56160,7 @@ impl NvMeshShaderFn { ) -> c_void { (self.cmd_draw_mesh_tasks_nv)(command_buffer, task_count, first_task) } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks_indirect_nv( &self, command_buffer: CommandBuffer, @@ -55160,6 +56171,7 @@ impl NvMeshShaderFn { ) -> c_void { (self.cmd_draw_mesh_tasks_indirect_nv)(command_buffer, buffer, offset, draw_count, stride) } + #[doc = ""] pub unsafe fn cmd_draw_mesh_tasks_indirect_count_nv( &self, command_buffer: CommandBuffer, @@ -55317,6 +56329,7 @@ impl NvScissorExclusiveFn { }, } } + #[doc = ""] pub unsafe fn cmd_set_exclusive_scissor_nv( &self, command_buffer: CommandBuffer, @@ -55428,6 +56441,7 @@ impl NvDeviceDiagnosticCheckpointsFn { }, } } + #[doc = ""] pub unsafe fn cmd_set_checkpoint_nv( &self, command_buffer: CommandBuffer, @@ -55435,6 +56449,7 @@ impl NvDeviceDiagnosticCheckpointsFn { ) -> c_void { (self.cmd_set_checkpoint_nv)(command_buffer, p_checkpoint_marker) } + #[doc = ""] pub unsafe fn get_queue_checkpoint_data_nv( &self, queue: Queue, @@ -55673,6 +56688,7 @@ impl FuchsiaImagepipeSurfaceFn { }, } } + #[doc = ""] pub unsafe fn create_image_pipe_surface_fuchsia( &self, instance: Instance, @@ -56444,6 +57460,7 @@ impl ExtBufferDeviceAddressFn { }, } } + #[doc = ""] pub unsafe fn get_buffer_device_address_ext( &self, device: Device, diff --git a/generator/src/lib.rs b/generator/src/lib.rs index 63d6c7a..d080051 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -12,11 +12,13 @@ pub extern crate vkxml; use heck::{CamelCase, ShoutySnakeCase, SnakeCase}; use itertools::Itertools; -use proc_macro2::Term; +use proc_macro2::{Literal, Term}; use quote::Tokens; use std::collections::{BTreeMap, HashMap, HashSet}; +use std::fmt::Display; use std::path::Path; use syn::Ident; + pub trait ExtensionExt {} #[derive(Copy, Clone, Debug)] pub enum CType { @@ -85,13 +87,24 @@ named!(cfloat<&str, f32>, terminated!(nom::float_s, char!('f')) ); +fn khronos_link(name: &S) -> Literal { + Literal::string(&format!( + "", + name = name + )) +} + pub fn define_handle_macro() -> Tokens { quote! { #[macro_export] macro_rules! define_handle{ ($name: ident, $ty: ident) => { + define_handle!($name, $ty, doc = ""); + }; + ($name: ident, $ty: ident, $doc_link: meta) => { #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash)] + #[$doc_link] pub struct $name(*mut u8); impl Default for $name { fn default() -> $name { @@ -135,8 +148,12 @@ pub fn handle_nondispatchable_macro() -> Tokens { #[macro_export] macro_rules! handle_nondispatchable { ($name: ident, $ty: ident) => { + handle_nondispatchable!($name, $ty, doc = ""); + }; + ($name: ident, $ty: ident, $doc_link: meta) => { #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Default)] + #[$doc_link] pub struct $name(u64); impl Handle for $name { @@ -168,6 +185,7 @@ pub fn handle_nondispatchable_macro() -> Tokens { } pub fn vk_version_macros() -> Tokens { quote! { + #[doc = ""] #[macro_export] macro_rules! vk_make_version { ($major:expr, $minor:expr, $patch:expr) => { @@ -175,6 +193,7 @@ pub fn vk_version_macros() -> Tokens { }; } + #[doc = ""] #[macro_export] macro_rules! vk_version_major { ($major:expr) => { @@ -182,6 +201,7 @@ pub fn vk_version_macros() -> Tokens { }; } + #[doc = ""] #[macro_export] macro_rules! vk_version_minor { ($minor:expr) => { @@ -189,6 +209,7 @@ pub fn vk_version_macros() -> Tokens { }; } + #[doc = ""] #[macro_export] macro_rules! vk_version_patch { ($minor:expr) => { @@ -700,6 +721,7 @@ fn generate_function_pointers<'a>( let raw_names_ref = &raw_names; let names_left = &names; let names_right = &names; + let khronos_links: Vec<_> = raw_names.iter().map(|name| khronos_link(name)).collect(); let pfn_commands: Vec<_> = commands .iter() @@ -847,6 +869,7 @@ fn generate_function_pointers<'a>( } } #( + #[doc = #khronos_links] pub unsafe fn #names_ref(&self, #expanded_params_ref) -> #return_types_ref { (self.#names_left)(#(#param_names_ref,)*) } @@ -1005,7 +1028,9 @@ pub fn generate_extension<'a>( pub fn generate_typedef(typedef: &vkxml::Typedef) -> Tokens { let typedef_name = to_type_tokens(&typedef.name, None); let typedef_ty = to_type_tokens(&typedef.basetype, None); + let khronos_link = khronos_link(&typedef.name); quote! { + #[doc = #khronos_link] pub type #typedef_name = #typedef_ty; } } @@ -1028,9 +1053,11 @@ pub fn generate_bitmask( return None; }; bitflags_cache.insert(ident.clone()); + let khronos_link = khronos_link(&bitmask.name); Some(quote! { #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] + #[doc = #khronos_link] pub struct #ident(Flags); vk_bitflags_wrapped!(#ident, 0b0, Flags); }) @@ -1134,6 +1161,8 @@ pub fn generate_enum<'a>( values.push(constant.variant_ident(&_enum.name)); } + let khronos_link = khronos_link(&_enum.name); + if name.contains("Bit") { let ident = Ident::from(_name.as_str()); let all_bits = constants @@ -1150,6 +1179,7 @@ pub fn generate_enum<'a>( let q = quote! { #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] + #[doc = #khronos_link] pub struct #ident(pub(crate) Flags); vk_bitflags_wrapped!(#ident, #all_bits_term, Flags); #impl_bitflags @@ -1161,6 +1191,7 @@ pub fn generate_enum<'a>( let enum_quote = quote! { #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[repr(transparent)] + #[doc = #khronos_link] pub struct #ident(pub(crate) i32); impl #ident { pub fn from_raw(x: i32) -> Self { #ident(x) } @@ -1745,9 +1776,11 @@ pub fn generate_struct( } else { quote!() }; + let khronos_link = khronos_link(&_struct.name); quote! { #[repr(C)] #[derive(Copy, Clone, #default_str #dbg_str #manual_derive_tokens)] + #[doc = #khronos_link] pub struct #name { #(#params,)* } @@ -1761,13 +1794,14 @@ pub fn generate_handle(handle: &vkxml::Handle) -> Option { if handle.name == "" { return None; } + let khronos_link = khronos_link(&handle.name); let tokens = match handle.ty { vkxml::HandleType::Dispatch => { let name = &handle.name[2..]; let ty = Ident::from(name.to_shouty_snake_case()); let name = Ident::from(name); quote! { - define_handle!(#name, #ty); + define_handle!(#name, #ty, doc = #khronos_link); } } vkxml::HandleType::NoDispatch => { @@ -1775,7 +1809,7 @@ pub fn generate_handle(handle: &vkxml::Handle) -> Option { let ty = Ident::from(name.to_shouty_snake_case()); let name = Ident::from(name); quote! { - handle_nondispatchable!(#name, #ty); + handle_nondispatchable!(#name, #ty, doc = #khronos_link); } } }; @@ -1791,8 +1825,10 @@ fn generate_funcptr(fnptr: &vkxml::FunctionPointer) -> Tokens { #ident: #type_tokens } }); + let khronos_link = khronos_link(&fnptr.name); quote! { #[allow(non_camel_case_types)] + #[doc = #khronos_link] pub type #name = Option #ret_ty_tokens>; } } @@ -1806,9 +1842,11 @@ fn generate_union(union: &vkxml::Union) -> Tokens { pub #name: #ty } }); + let khronos_link = khronos_link(&union.name); quote! { #[repr(C)] #[derive(Copy, Clone)] + #[doc = #khronos_link] pub union #name { #(#fields),* }