Struct vulkanalia::Device [−][src]
pub struct Device { /* fields omitted */ }
Expand description
A Vulkan device.
Implementations
Gets the loaded extensions for this Vulkan device.
Gets the loaded layers for this Vulkan device.
Trait Implementations
unsafe fn cmd_write_buffer_marker_amd(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32
)
unsafe fn cmd_write_buffer_marker_amd(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32
)
unsafe fn cmd_draw_indexed_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indexed_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn get_shader_info_amd(
&self,
pipeline: Pipeline,
shader_stage: ShaderStageFlags,
info_type: ShaderInfoTypeAMD
) -> VkResult<Vec<u8>>
unsafe fn get_shader_info_amd(
&self,
pipeline: Pipeline,
shader_stage: ShaderStageFlags,
info_type: ShaderInfoTypeAMD
) -> VkResult<Vec<u8>>
unsafe fn get_android_hardware_buffer_properties_android(
&self,
buffer: &AHardwareBuffer,
properties: &mut AndroidHardwareBufferPropertiesANDROID
) -> VkResult<()>
unsafe fn get_android_hardware_buffer_properties_android(
&self,
buffer: &AHardwareBuffer,
properties: &mut AndroidHardwareBufferPropertiesANDROID
) -> VkResult<()>
unsafe fn allocate_command_buffers(
&self,
allocate_info: &CommandBufferAllocateInfo
) -> VkResult<Vec<CommandBuffer>>
unsafe fn allocate_command_buffers(
&self,
allocate_info: &CommandBufferAllocateInfo
) -> VkResult<Vec<CommandBuffer>>
unsafe fn allocate_descriptor_sets(
&self,
allocate_info: &DescriptorSetAllocateInfo
) -> VkResult<Vec<DescriptorSet>>
unsafe fn allocate_descriptor_sets(
&self,
allocate_info: &DescriptorSetAllocateInfo
) -> VkResult<Vec<DescriptorSet>>
unsafe fn allocate_memory(
&self,
allocate_info: &MemoryAllocateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DeviceMemory>
unsafe fn allocate_memory(
&self,
allocate_info: &MemoryAllocateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DeviceMemory>
unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
begin_info: &CommandBufferBeginInfo
) -> VkResult<()>
unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
begin_info: &CommandBufferBeginInfo
) -> VkResult<()>
unsafe fn bind_buffer_memory(
&self,
buffer: Buffer,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> VkResult<()>
unsafe fn bind_buffer_memory(
&self,
buffer: Buffer,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> VkResult<()>
unsafe fn bind_image_memory(
&self,
image: Image,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> VkResult<()>
unsafe fn bind_image_memory(
&self,
image: Image,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> VkResult<()>
unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
contents: SubpassContents
)
unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
contents: SubpassContents
)
unsafe fn cmd_bind_descriptor_sets(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
unsafe fn cmd_bind_descriptor_sets(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize]
)
unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize]
)
unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageBlit>],
filter: Filter
)
unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageBlit>],
filter: Filter
)
unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachments: &[impl Cast<Target = ClearAttachment>],
rects: &[impl Cast<Target = ClearRect>]
)
unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachments: &[impl Cast<Target = ClearAttachment>],
rects: &[impl Cast<Target = ClearRect>]
)
unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
color: &ClearColorValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>]
)
unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
color: &ClearColorValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>]
)
unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
depth_stencil: &ClearDepthStencilValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>]
)
unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
depth_stencil: &ClearDepthStencilValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>]
)
unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferCopy>]
)
unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferCopy>]
)
unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = BufferImageCopy>]
)
unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = BufferImageCopy>]
)
unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageCopy>]
)
unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageCopy>]
)
unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferImageCopy>]
)
unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferImageCopy>]
)
unsafe fn cmd_copy_query_pool_results(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
dst_buffer: Buffer,
dst_offset: DeviceSize,
stride: DeviceSize,
flags: QueryResultFlags
)
unsafe fn cmd_copy_query_pool_results(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
dst_buffer: Buffer,
dst_offset: DeviceSize,
stride: DeviceSize,
flags: QueryResultFlags
)
unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32
)
unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32
)
unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffers: &[CommandBuffer]
)
unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffers: &[CommandBuffer]
)
unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
)
unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
)
unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>]
)
unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>]
)
unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
values: &[u8]
)
unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
values: &[u8]
)
unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageResolve>]
)
unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageResolve>]
)
unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: [f32; 4]
)
unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: [f32; 4]
)
unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32
)
unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32
)
unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[impl Cast<Target = Viewport>]
)
unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[impl Cast<Target = Viewport>]
)
unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
data: &[u8]
)
unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
data: &[u8]
)
unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>]
)
unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>]
)
unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
unsafe fn create_buffer(
&self,
create_info: &BufferCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Buffer>
unsafe fn create_buffer(
&self,
create_info: &BufferCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Buffer>
unsafe fn create_buffer_view(
&self,
create_info: &BufferViewCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<BufferView>
unsafe fn create_buffer_view(
&self,
create_info: &BufferViewCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<BufferView>
unsafe fn create_command_pool(
&self,
create_info: &CommandPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CommandPool>
unsafe fn create_command_pool(
&self,
create_info: &CommandPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CommandPool>
unsafe fn create_compute_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = ComputePipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_compute_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = ComputePipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorPool>
unsafe fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorPool>
unsafe fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorSetLayout>
unsafe fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorSetLayout>
unsafe fn create_event(
&self,
create_info: &EventCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Event>
unsafe fn create_event(
&self,
create_info: &EventCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Event>
unsafe fn create_fence(
&self,
create_info: &FenceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn create_fence(
&self,
create_info: &FenceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn create_framebuffer(
&self,
create_info: &FramebufferCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Framebuffer>
unsafe fn create_framebuffer(
&self,
create_info: &FramebufferCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Framebuffer>
unsafe fn create_graphics_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = GraphicsPipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_graphics_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = GraphicsPipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_image(
&self,
create_info: &ImageCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Image>
unsafe fn create_image(
&self,
create_info: &ImageCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Image>
unsafe fn create_image_view(
&self,
create_info: &ImageViewCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ImageView>
unsafe fn create_image_view(
&self,
create_info: &ImageViewCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ImageView>
unsafe fn create_pipeline_cache(
&self,
create_info: &PipelineCacheCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PipelineCache>
unsafe fn create_pipeline_cache(
&self,
create_info: &PipelineCacheCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PipelineCache>
unsafe fn create_pipeline_layout(
&self,
create_info: &PipelineLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PipelineLayout>
unsafe fn create_pipeline_layout(
&self,
create_info: &PipelineLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PipelineLayout>
unsafe fn create_query_pool(
&self,
create_info: &QueryPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<QueryPool>
unsafe fn create_query_pool(
&self,
create_info: &QueryPoolCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<QueryPool>
unsafe fn create_render_pass(
&self,
create_info: &RenderPassCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn create_render_pass(
&self,
create_info: &RenderPassCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn create_sampler(
&self,
create_info: &SamplerCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Sampler>
unsafe fn create_sampler(
&self,
create_info: &SamplerCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Sampler>
unsafe fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Semaphore>
unsafe fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Semaphore>
unsafe fn create_shader_module(
&self,
create_info: &ShaderModuleCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ShaderModule>
unsafe fn create_shader_module(
&self,
create_info: &ShaderModuleCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ShaderModule>
unsafe fn destroy_buffer_view(
&self,
buffer_view: BufferView,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_buffer_view(
&self,
buffer_view: BufferView,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_command_pool(
&self,
command_pool: CommandPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_command_pool(
&self,
command_pool: CommandPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_set_layout(
&self,
descriptor_set_layout: DescriptorSetLayout,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_set_layout(
&self,
descriptor_set_layout: DescriptorSetLayout,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_framebuffer(
&self,
framebuffer: Framebuffer,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_framebuffer(
&self,
framebuffer: Framebuffer,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_image_view(
&self,
image_view: ImageView,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_image_view(
&self,
image_view: ImageView,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline(
&self,
pipeline: Pipeline,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline(
&self,
pipeline: Pipeline,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_cache(
&self,
pipeline_cache: PipelineCache,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_cache(
&self,
pipeline_cache: PipelineCache,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_layout(
&self,
pipeline_layout: PipelineLayout,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_layout(
&self,
pipeline_layout: PipelineLayout,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_query_pool(
&self,
query_pool: QueryPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_query_pool(
&self,
query_pool: QueryPool,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_render_pass(
&self,
render_pass: RenderPass,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_render_pass(
&self,
render_pass: RenderPass,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_semaphore(
&self,
semaphore: Semaphore,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_semaphore(
&self,
semaphore: Semaphore,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_shader_module(
&self,
shader_module: ShaderModule,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_shader_module(
&self,
shader_module: ShaderModule,
allocator: Option<&AllocationCallbacks>
)
unsafe fn flush_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>]
) -> VkResult<()>
unsafe fn flush_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>]
) -> VkResult<()>
unsafe fn free_command_buffers(
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer]
)
unsafe fn free_command_buffers(
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer]
)
unsafe fn free_descriptor_sets(
&self,
descriptor_pool: DescriptorPool,
descriptor_sets: &[DescriptorSet]
) -> VkResult<()>
unsafe fn free_descriptor_sets(
&self,
descriptor_pool: DescriptorPool,
descriptor_sets: &[DescriptorSet]
) -> VkResult<()>
unsafe fn get_image_sparse_memory_requirements(
&self,
image: Image
) -> Vec<SparseImageMemoryRequirements>
unsafe fn get_image_sparse_memory_requirements(
&self,
image: Image
) -> Vec<SparseImageMemoryRequirements>
unsafe fn get_image_subresource_layout(
&self,
image: Image,
subresource: &ImageSubresource
) -> SubresourceLayout
unsafe fn get_image_subresource_layout(
&self,
image: Image,
subresource: &ImageSubresource
) -> SubresourceLayout
unsafe fn get_query_pool_results(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data: &mut [u8],
stride: DeviceSize,
flags: QueryResultFlags
) -> VkResult<SuccessCode>
unsafe fn get_query_pool_results(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data: &mut [u8],
stride: DeviceSize,
flags: QueryResultFlags
) -> VkResult<SuccessCode>
unsafe fn invalidate_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>]
) -> VkResult<()>
unsafe fn invalidate_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>]
) -> VkResult<()>
unsafe fn map_memory(
&self,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags
) -> VkResult<*mut c_void>
unsafe fn map_memory(
&self,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags
) -> VkResult<*mut c_void>
unsafe fn merge_pipeline_caches(
&self,
dst_cache: PipelineCache,
src_caches: &[PipelineCache]
) -> VkResult<()>
unsafe fn merge_pipeline_caches(
&self,
dst_cache: PipelineCache,
src_caches: &[PipelineCache]
) -> VkResult<()>
unsafe fn queue_bind_sparse(
&self,
queue: Queue,
bind_info: &[impl Cast<Target = BindSparseInfo>],
fence: Fence
) -> VkResult<()>
unsafe fn queue_bind_sparse(
&self,
queue: Queue,
bind_info: &[impl Cast<Target = BindSparseInfo>],
fence: Fence
) -> VkResult<()>
unsafe fn queue_submit(
&self,
queue: Queue,
submits: &[impl Cast<Target = SubmitInfo>],
fence: Fence
) -> VkResult<()>
unsafe fn queue_submit(
&self,
queue: Queue,
submits: &[impl Cast<Target = SubmitInfo>],
fence: Fence
) -> VkResult<()>
unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> VkResult<()>
unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> VkResult<()>
unsafe fn reset_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> VkResult<()>
unsafe fn reset_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> VkResult<()>
unsafe fn reset_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> VkResult<()>
unsafe fn reset_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> VkResult<()>
unsafe fn update_descriptor_sets(
&self,
descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>],
descriptor_copies: &[impl Cast<Target = CopyDescriptorSet>]
)
unsafe fn update_descriptor_sets(
&self,
descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>],
descriptor_copies: &[impl Cast<Target = CopyDescriptorSet>]
)
unsafe fn wait_for_fences(
&self,
fences: &[Fence],
wait_all: bool,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn wait_for_fences(
&self,
fences: &[Fence],
wait_all: bool,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn bind_buffer_memory2(
&self,
bind_infos: &[impl Cast<Target = BindBufferMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_buffer_memory2(
&self,
bind_infos: &[impl Cast<Target = BindBufferMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_image_memory2(
&self,
bind_infos: &[impl Cast<Target = BindImageMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_image_memory2(
&self,
bind_infos: &[impl Cast<Target = BindImageMemoryInfo>]
) -> VkResult<()>
unsafe fn cmd_dispatch_base(
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn cmd_dispatch_base(
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn create_descriptor_update_template(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
unsafe fn create_descriptor_update_template(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
unsafe fn create_sampler_ycbcr_conversion(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn create_sampler_ycbcr_conversion(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn destroy_descriptor_update_template(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_update_template(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_sampler_ycbcr_conversion(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_sampler_ycbcr_conversion(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_buffer_memory_requirements2(
&self,
info: &BufferMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_buffer_memory_requirements2(
&self,
info: &BufferMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_descriptor_set_layout_support(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
support: &mut DescriptorSetLayoutSupport
)
unsafe fn get_descriptor_set_layout_support(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
support: &mut DescriptorSetLayoutSupport
)
unsafe fn get_device_group_peer_memory_features(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
unsafe fn get_device_group_peer_memory_features(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
unsafe fn get_image_memory_requirements2(
&self,
info: &ImageMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_image_memory_requirements2(
&self,
info: &ImageMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_image_sparse_memory_requirements2(
&self,
info: &ImageSparseMemoryRequirementsInfo2
) -> Vec<SparseImageMemoryRequirements2>
unsafe fn get_image_sparse_memory_requirements2(
&self,
info: &ImageSparseMemoryRequirementsInfo2
) -> Vec<SparseImageMemoryRequirements2>
unsafe fn update_descriptor_set_with_template(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: &c_void
)
unsafe fn update_descriptor_set_with_template(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: &c_void
)
unsafe fn cmd_begin_render_pass2(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
unsafe fn cmd_begin_render_pass2(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
unsafe fn cmd_draw_indexed_indirect_count(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indexed_indirect_count(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_end_render_pass2(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_end_render_pass2(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_next_subpass2(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_next_subpass2(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
unsafe fn create_render_pass2(
&self,
create_info: &RenderPassCreateInfo2,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn create_render_pass2(
&self,
create_info: &RenderPassCreateInfo2,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn get_device_memory_opaque_capture_address(
&self,
info: &DeviceMemoryOpaqueCaptureAddressInfo
)
unsafe fn get_device_memory_opaque_capture_address(
&self,
info: &DeviceMemoryOpaqueCaptureAddressInfo
)
unsafe fn wait_semaphores(
&self,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn wait_semaphores(
&self,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<SuccessCode>
👎 Deprecated:
deprecated in favor of VK_KHR_buffer_device_address
The metadata for this extension.
👎 Deprecated:
deprecated in favor of VK_KHR_buffer_device_address
unsafe fn cmd_set_color_write_enable_ext(
&self,
command_buffer: CommandBuffer,
color_write_enables: &[Bool32]
)
unsafe fn cmd_set_color_write_enable_ext(
&self,
command_buffer: CommandBuffer,
color_write_enables: &[Bool32]
)
unsafe fn cmd_begin_conditional_rendering_ext(
&self,
command_buffer: CommandBuffer,
conditional_rendering_begin: &ConditionalRenderingBeginInfoEXT
)
unsafe fn cmd_begin_conditional_rendering_ext(
&self,
command_buffer: CommandBuffer,
conditional_rendering_begin: &ConditionalRenderingBeginInfoEXT
)
unsafe fn cmd_debug_marker_begin_ext(
&self,
command_buffer: CommandBuffer,
marker_info: &DebugMarkerMarkerInfoEXT
)
unsafe fn cmd_debug_marker_begin_ext(
&self,
command_buffer: CommandBuffer,
marker_info: &DebugMarkerMarkerInfoEXT
)
unsafe fn cmd_debug_marker_insert_ext(
&self,
command_buffer: CommandBuffer,
marker_info: &DebugMarkerMarkerInfoEXT
)
unsafe fn cmd_debug_marker_insert_ext(
&self,
command_buffer: CommandBuffer,
marker_info: &DebugMarkerMarkerInfoEXT
)
unsafe fn debug_marker_set_object_name_ext(
&self,
name_info: &DebugMarkerObjectNameInfoEXT
) -> VkResult<()>
unsafe fn debug_marker_set_object_name_ext(
&self,
name_info: &DebugMarkerObjectNameInfoEXT
) -> VkResult<()>
unsafe fn cmd_set_discard_rectangle_ext(
&self,
command_buffer: CommandBuffer,
first_discard_rectangle: u32,
discard_rectangles: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_discard_rectangle_ext(
&self,
command_buffer: CommandBuffer,
first_discard_rectangle: u32,
discard_rectangles: &[impl Cast<Target = Rect2D>]
)
unsafe fn display_power_control_ext(
&self,
display: DisplayKHR,
display_power_info: &DisplayPowerInfoEXT
) -> VkResult<()>
unsafe fn display_power_control_ext(
&self,
display: DisplayKHR,
display_power_info: &DisplayPowerInfoEXT
) -> VkResult<()>
unsafe fn get_swapchain_counter_ext(
&self,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT
) -> VkResult<u64>
unsafe fn get_swapchain_counter_ext(
&self,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT
) -> VkResult<u64>
unsafe fn register_device_event_ext(
&self,
device_event_info: &DeviceEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn register_device_event_ext(
&self,
device_event_info: &DeviceEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn register_display_event_ext(
&self,
display: DisplayKHR,
display_event_info: &DisplayEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn register_display_event_ext(
&self,
display: DisplayKHR,
display_event_info: &DisplayEventInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn cmd_set_depth_bias_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bias_enable: bool
)
unsafe fn cmd_set_depth_bias_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bias_enable: bool
)
unsafe fn cmd_set_patch_control_points_ext(
&self,
command_buffer: CommandBuffer,
patch_control_points: u32
)
unsafe fn cmd_set_patch_control_points_ext(
&self,
command_buffer: CommandBuffer,
patch_control_points: u32
)
unsafe fn cmd_set_primitive_restart_enable_ext(
&self,
command_buffer: CommandBuffer,
primitive_restart_enable: bool
)
unsafe fn cmd_set_primitive_restart_enable_ext(
&self,
command_buffer: CommandBuffer,
primitive_restart_enable: bool
)
unsafe fn cmd_set_rasterizer_discard_enable_ext(
&self,
command_buffer: CommandBuffer,
rasterizer_discard_enable: bool
)
unsafe fn cmd_set_rasterizer_discard_enable_ext(
&self,
command_buffer: CommandBuffer,
rasterizer_discard_enable: bool
)
unsafe fn cmd_bind_vertex_buffers2_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
sizes: &[DeviceSize],
strides: &[DeviceSize]
)
unsafe fn cmd_bind_vertex_buffers2_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
sizes: &[DeviceSize],
strides: &[DeviceSize]
)
unsafe fn cmd_set_cull_mode_ext(
&self,
command_buffer: CommandBuffer,
cull_mode: CullModeFlags
)
unsafe fn cmd_set_cull_mode_ext(
&self,
command_buffer: CommandBuffer,
cull_mode: CullModeFlags
)
unsafe fn cmd_set_depth_bounds_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bounds_test_enable: bool
)
unsafe fn cmd_set_depth_bounds_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_bounds_test_enable: bool
)
unsafe fn cmd_set_depth_compare_op_ext(
&self,
command_buffer: CommandBuffer,
depth_compare_op: CompareOp
)
unsafe fn cmd_set_depth_compare_op_ext(
&self,
command_buffer: CommandBuffer,
depth_compare_op: CompareOp
)
unsafe fn cmd_set_depth_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_test_enable: bool
)
unsafe fn cmd_set_depth_test_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_test_enable: bool
)
unsafe fn cmd_set_depth_write_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_write_enable: bool
)
unsafe fn cmd_set_depth_write_enable_ext(
&self,
command_buffer: CommandBuffer,
depth_write_enable: bool
)
unsafe fn cmd_set_primitive_topology_ext(
&self,
command_buffer: CommandBuffer,
primitive_topology: PrimitiveTopology
)
unsafe fn cmd_set_primitive_topology_ext(
&self,
command_buffer: CommandBuffer,
primitive_topology: PrimitiveTopology
)
unsafe fn cmd_set_scissor_with_count_ext(
&self,
command_buffer: CommandBuffer,
scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_scissor_with_count_ext(
&self,
command_buffer: CommandBuffer,
scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_stencil_op_ext(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
fail_op: StencilOp,
pass_op: StencilOp,
depth_fail_op: StencilOp,
compare_op: CompareOp
)
unsafe fn cmd_set_stencil_op_ext(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
fail_op: StencilOp,
pass_op: StencilOp,
depth_fail_op: StencilOp,
compare_op: CompareOp
)
unsafe fn cmd_set_stencil_test_enable_ext(
&self,
command_buffer: CommandBuffer,
stencil_test_enable: bool
)
unsafe fn cmd_set_stencil_test_enable_ext(
&self,
command_buffer: CommandBuffer,
stencil_test_enable: bool
)
unsafe fn cmd_set_viewport_with_count_ext(
&self,
command_buffer: CommandBuffer,
viewports: &[impl Cast<Target = Viewport>]
)
unsafe fn cmd_set_viewport_with_count_ext(
&self,
command_buffer: CommandBuffer,
viewports: &[impl Cast<Target = Viewport>]
)
unsafe fn acquire_full_screen_exclusive_mode_ext(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
unsafe fn acquire_full_screen_exclusive_mode_ext(
&self,
swapchain: SwapchainKHR
) -> VkResult<()>
unsafe fn get_device_group_surface_present_modes2_ext(
&self,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_device_group_surface_present_modes2_ext(
&self,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_physical_device_surface_present_modes2_ext(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<PresentModeKHR>>
unsafe fn get_physical_device_surface_present_modes2_ext(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<PresentModeKHR>>
unsafe fn set_hdr_metadata_ext(
&self,
swapchains: &[SwapchainKHR],
metadata: &[impl Cast<Target = HdrMetadataEXT>]
)
unsafe fn set_hdr_metadata_ext(
&self,
swapchains: &[SwapchainKHR],
metadata: &[impl Cast<Target = HdrMetadataEXT>]
)
unsafe fn reset_query_pool_ext(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn reset_query_pool_ext(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn cmd_set_line_stipple_ext(
&self,
command_buffer: CommandBuffer,
line_stipple_factor: u32,
line_stipple_pattern: u16
)
unsafe fn cmd_set_line_stipple_ext(
&self,
command_buffer: CommandBuffer,
line_stipple_factor: u32,
line_stipple_pattern: u16
)
unsafe fn cmd_draw_multi_ext(
&self,
command_buffer: CommandBuffer,
vertex_info: &[impl Cast<Target = MultiDrawInfoEXT>],
instance_count: u32,
first_instance: u32,
stride: u32
)
unsafe fn cmd_draw_multi_ext(
&self,
command_buffer: CommandBuffer,
vertex_info: &[impl Cast<Target = MultiDrawInfoEXT>],
instance_count: u32,
first_instance: u32,
stride: u32
)
unsafe fn cmd_draw_multi_indexed_ext(
&self,
command_buffer: CommandBuffer,
index_info: &[impl Cast<Target = MultiDrawIndexedInfoEXT>],
instance_count: u32,
first_instance: u32,
stride: u32,
vertex_offset: Option<&i32>
)
unsafe fn cmd_draw_multi_indexed_ext(
&self,
command_buffer: CommandBuffer,
index_info: &[impl Cast<Target = MultiDrawIndexedInfoEXT>],
instance_count: u32,
first_instance: u32,
stride: u32,
vertex_offset: Option<&i32>
)
unsafe fn create_private_data_slot_ext(
&self,
create_info: &PrivateDataSlotCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PrivateDataSlotEXT>
unsafe fn create_private_data_slot_ext(
&self,
create_info: &PrivateDataSlotCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PrivateDataSlotEXT>
unsafe fn destroy_private_data_slot_ext(
&self,
private_data_slot: PrivateDataSlotEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_private_data_slot_ext(
&self,
private_data_slot: PrivateDataSlotEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlotEXT
) -> u64
unsafe fn get_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlotEXT
) -> u64
unsafe fn set_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlotEXT,
data: u64
) -> VkResult<()>
unsafe fn set_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlotEXT,
data: u64
) -> VkResult<()>
unsafe fn cmd_set_sample_locations_ext(
&self,
command_buffer: CommandBuffer,
sample_locations_info: &SampleLocationsInfoEXT
)
unsafe fn cmd_set_sample_locations_ext(
&self,
command_buffer: CommandBuffer,
sample_locations_info: &SampleLocationsInfoEXT
)
unsafe fn cmd_begin_query_indexed_ext(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags,
index: u32
)
unsafe fn cmd_begin_query_indexed_ext(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags,
index: u32
)
unsafe fn cmd_begin_transform_feedback_ext(
&self,
command_buffer: CommandBuffer,
first_counter_buffer: u32,
counter_buffers: &[Buffer],
counter_buffer_offsets: &[DeviceSize]
)
unsafe fn cmd_begin_transform_feedback_ext(
&self,
command_buffer: CommandBuffer,
first_counter_buffer: u32,
counter_buffers: &[Buffer],
counter_buffer_offsets: &[DeviceSize]
)
unsafe fn cmd_bind_transform_feedback_buffers_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
sizes: &[DeviceSize]
)
unsafe fn cmd_bind_transform_feedback_buffers_ext(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
sizes: &[DeviceSize]
)
unsafe fn cmd_draw_indirect_byte_count_ext(
&self,
command_buffer: CommandBuffer,
instance_count: u32,
first_instance: u32,
counter_buffer: Buffer,
counter_buffer_offset: DeviceSize,
counter_offset: u32,
vertex_stride: u32
)
unsafe fn cmd_draw_indirect_byte_count_ext(
&self,
command_buffer: CommandBuffer,
instance_count: u32,
first_instance: u32,
counter_buffer: Buffer,
counter_buffer_offset: DeviceSize,
counter_offset: u32,
vertex_stride: u32
)
unsafe fn cmd_end_query_indexed_ext(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
index: u32
)
unsafe fn cmd_end_query_indexed_ext(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
index: u32
)
unsafe fn cmd_end_transform_feedback_ext(
&self,
command_buffer: CommandBuffer,
first_counter_buffer: u32,
counter_buffers: &[Buffer],
counter_buffer_offsets: &[DeviceSize]
)
unsafe fn cmd_end_transform_feedback_ext(
&self,
command_buffer: CommandBuffer,
first_counter_buffer: u32,
counter_buffers: &[Buffer],
counter_buffer_offsets: &[DeviceSize]
)
unsafe fn create_validation_cache_ext(
&self,
create_info: &ValidationCacheCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ValidationCacheEXT>
unsafe fn create_validation_cache_ext(
&self,
create_info: &ValidationCacheCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<ValidationCacheEXT>
unsafe fn destroy_validation_cache_ext(
&self,
validation_cache: ValidationCacheEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_validation_cache_ext(
&self,
validation_cache: ValidationCacheEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_validation_cache_data_ext(
&self,
validation_cache: ValidationCacheEXT
) -> VkResult<Vec<u8>>
unsafe fn get_validation_cache_data_ext(
&self,
validation_cache: ValidationCacheEXT
) -> VkResult<Vec<u8>>
unsafe fn merge_validation_caches_ext(
&self,
dst_cache: ValidationCacheEXT,
src_caches: &[ValidationCacheEXT]
) -> VkResult<()>
unsafe fn merge_validation_caches_ext(
&self,
dst_cache: ValidationCacheEXT,
src_caches: &[ValidationCacheEXT]
) -> VkResult<()>
unsafe fn cmd_set_vertex_input_ext(
&self,
command_buffer: CommandBuffer,
vertex_binding_descriptions: &[impl Cast<Target = VertexInputBindingDescription2EXT>],
vertex_attribute_descriptions: &[impl Cast<Target = VertexInputAttributeDescription2EXT>]
)
unsafe fn cmd_set_vertex_input_ext(
&self,
command_buffer: CommandBuffer,
vertex_binding_descriptions: &[impl Cast<Target = VertexInputBindingDescription2EXT>],
vertex_attribute_descriptions: &[impl Cast<Target = VertexInputAttributeDescription2EXT>]
)
unsafe fn create_buffer_collection_fuchsia(
&self,
create_info: &BufferCollectionCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<BufferCollectionFUCHSIA>
unsafe fn create_buffer_collection_fuchsia(
&self,
create_info: &BufferCollectionCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<BufferCollectionFUCHSIA>
unsafe fn destroy_buffer_collection_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_buffer_collection_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_buffer_collection_properties_fuchsia(
&self,
collection: BufferCollectionFUCHSIA
) -> VkResult<BufferCollectionPropertiesFUCHSIA>
unsafe fn get_buffer_collection_properties_fuchsia(
&self,
collection: BufferCollectionFUCHSIA
) -> VkResult<BufferCollectionPropertiesFUCHSIA>
unsafe fn set_buffer_collection_buffer_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
buffer_constraints_info: &BufferConstraintsInfoFUCHSIA
) -> VkResult<()>
unsafe fn set_buffer_collection_buffer_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
buffer_constraints_info: &BufferConstraintsInfoFUCHSIA
) -> VkResult<()>
unsafe fn set_buffer_collection_image_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
image_constraints_info: &ImageConstraintsInfoFUCHSIA
) -> VkResult<()>
unsafe fn set_buffer_collection_image_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
image_constraints_info: &ImageConstraintsInfoFUCHSIA
) -> VkResult<()>
unsafe fn get_memory_zircon_handle_fuchsia(
&self,
get_zircon_handle_info: &MemoryGetZirconHandleInfoFUCHSIA
) -> VkResult<zx_handle_t>
unsafe fn get_memory_zircon_handle_fuchsia(
&self,
get_zircon_handle_info: &MemoryGetZirconHandleInfoFUCHSIA
) -> VkResult<zx_handle_t>
unsafe fn get_memory_zircon_handle_properties_fuchsia(
&self,
handle_type: ExternalMemoryHandleTypeFlags,
zircon_handle: zx_handle_t
) -> VkResult<MemoryZirconHandlePropertiesFUCHSIA>
unsafe fn get_memory_zircon_handle_properties_fuchsia(
&self,
handle_type: ExternalMemoryHandleTypeFlags,
zircon_handle: zx_handle_t
) -> VkResult<MemoryZirconHandlePropertiesFUCHSIA>
unsafe fn get_semaphore_zircon_handle_fuchsia(
&self,
get_zircon_handle_info: &SemaphoreGetZirconHandleInfoFUCHSIA
) -> VkResult<zx_handle_t>
unsafe fn get_semaphore_zircon_handle_fuchsia(
&self,
get_zircon_handle_info: &SemaphoreGetZirconHandleInfoFUCHSIA
) -> VkResult<zx_handle_t>
unsafe fn import_semaphore_zircon_handle_fuchsia(
&self,
import_semaphore_zircon_handle_info: &ImportSemaphoreZirconHandleInfoFUCHSIA
) -> VkResult<()>
unsafe fn import_semaphore_zircon_handle_fuchsia(
&self,
import_semaphore_zircon_handle_info: &ImportSemaphoreZirconHandleInfoFUCHSIA
) -> VkResult<()>
unsafe fn get_past_presentation_timing_google(
&self,
swapchain: SwapchainKHR
) -> VkResult<Vec<PastPresentationTimingGOOGLE>>
unsafe fn get_past_presentation_timing_google(
&self,
swapchain: SwapchainKHR
) -> VkResult<Vec<PastPresentationTimingGOOGLE>>
unsafe fn cmd_bind_invocation_mask_huawei(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
)
unsafe fn cmd_bind_invocation_mask_huawei(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
)
unsafe fn acquire_performance_configuration_intel(
&self,
acquire_info: &PerformanceConfigurationAcquireInfoINTEL
) -> VkResult<PerformanceConfigurationINTEL>
unsafe fn acquire_performance_configuration_intel(
&self,
acquire_info: &PerformanceConfigurationAcquireInfoINTEL
) -> VkResult<PerformanceConfigurationINTEL>
unsafe fn cmd_set_performance_marker_intel(
&self,
command_buffer: CommandBuffer,
marker_info: &PerformanceMarkerInfoINTEL
) -> VkResult<()>
unsafe fn cmd_set_performance_marker_intel(
&self,
command_buffer: CommandBuffer,
marker_info: &PerformanceMarkerInfoINTEL
) -> VkResult<()>
unsafe fn cmd_set_performance_override_intel(
&self,
command_buffer: CommandBuffer,
override_info: &PerformanceOverrideInfoINTEL
) -> VkResult<()>
unsafe fn cmd_set_performance_override_intel(
&self,
command_buffer: CommandBuffer,
override_info: &PerformanceOverrideInfoINTEL
) -> VkResult<()>
unsafe fn cmd_set_performance_stream_marker_intel(
&self,
command_buffer: CommandBuffer,
marker_info: &PerformanceStreamMarkerInfoINTEL
) -> VkResult<()>
unsafe fn cmd_set_performance_stream_marker_intel(
&self,
command_buffer: CommandBuffer,
marker_info: &PerformanceStreamMarkerInfoINTEL
) -> VkResult<()>
unsafe fn get_performance_parameter_intel(
&self,
parameter: PerformanceParameterTypeINTEL
) -> VkResult<PerformanceValueINTEL>
unsafe fn get_performance_parameter_intel(
&self,
parameter: PerformanceParameterTypeINTEL
) -> VkResult<PerformanceValueINTEL>
unsafe fn initialize_performance_api_intel(
&self,
initialize_info: &InitializePerformanceApiInfoINTEL
) -> VkResult<()>
unsafe fn initialize_performance_api_intel(
&self,
initialize_info: &InitializePerformanceApiInfoINTEL
) -> VkResult<()>
unsafe fn queue_set_performance_configuration_intel(
&self,
queue: Queue,
configuration: PerformanceConfigurationINTEL
) -> VkResult<()>
unsafe fn queue_set_performance_configuration_intel(
&self,
queue: Queue,
configuration: PerformanceConfigurationINTEL
) -> VkResult<()>
unsafe fn release_performance_configuration_intel(
&self,
configuration: PerformanceConfigurationINTEL
) -> VkResult<()>
unsafe fn release_performance_configuration_intel(
&self,
configuration: PerformanceConfigurationINTEL
) -> VkResult<()>
unsafe fn build_acceleration_structures_khr(
&self,
deferred_operation: DeferredOperationKHR,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
build_range_infos: &[&AccelerationStructureBuildRangeInfoKHR]
) -> VkResult<SuccessCode>
unsafe fn build_acceleration_structures_khr(
&self,
deferred_operation: DeferredOperationKHR,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
build_range_infos: &[&AccelerationStructureBuildRangeInfoKHR]
) -> VkResult<SuccessCode>
unsafe fn cmd_build_acceleration_structures_indirect_khr(
&self,
command_buffer: CommandBuffer,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
indirect_device_addresses: &[DeviceAddress],
indirect_strides: &[u32],
max_primitive_counts: &[&u32]
)
unsafe fn cmd_build_acceleration_structures_indirect_khr(
&self,
command_buffer: CommandBuffer,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
indirect_device_addresses: &[DeviceAddress],
indirect_strides: &[u32],
max_primitive_counts: &[&u32]
)
unsafe fn cmd_build_acceleration_structures_khr(
&self,
command_buffer: CommandBuffer,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
build_range_infos: &[&AccelerationStructureBuildRangeInfoKHR]
)
unsafe fn cmd_build_acceleration_structures_khr(
&self,
command_buffer: CommandBuffer,
infos: &[impl Cast<Target = AccelerationStructureBuildGeometryInfoKHR>],
build_range_infos: &[&AccelerationStructureBuildRangeInfoKHR]
)
unsafe fn cmd_copy_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyAccelerationStructureInfoKHR
)
unsafe fn cmd_copy_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyAccelerationStructureInfoKHR
)
unsafe fn cmd_copy_acceleration_structure_to_memory_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyAccelerationStructureToMemoryInfoKHR
)
unsafe fn cmd_copy_acceleration_structure_to_memory_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyAccelerationStructureToMemoryInfoKHR
)
unsafe fn cmd_copy_memory_to_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyMemoryToAccelerationStructureInfoKHR
)
unsafe fn cmd_copy_memory_to_acceleration_structure_khr(
&self,
command_buffer: CommandBuffer,
info: &CopyMemoryToAccelerationStructureInfoKHR
)
unsafe fn cmd_write_acceleration_structures_properties_khr(
&self,
command_buffer: CommandBuffer,
acceleration_structures: &[AccelerationStructureKHR],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
unsafe fn cmd_write_acceleration_structures_properties_khr(
&self,
command_buffer: CommandBuffer,
acceleration_structures: &[AccelerationStructureKHR],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
unsafe fn copy_acceleration_structure_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyAccelerationStructureInfoKHR
) -> VkResult<SuccessCode>
unsafe fn copy_acceleration_structure_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyAccelerationStructureInfoKHR
) -> VkResult<SuccessCode>
unsafe fn copy_acceleration_structure_to_memory_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyAccelerationStructureToMemoryInfoKHR
) -> VkResult<SuccessCode>
unsafe fn copy_acceleration_structure_to_memory_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyAccelerationStructureToMemoryInfoKHR
) -> VkResult<SuccessCode>
unsafe fn copy_memory_to_acceleration_structure_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyMemoryToAccelerationStructureInfoKHR
) -> VkResult<SuccessCode>
unsafe fn copy_memory_to_acceleration_structure_khr(
&self,
deferred_operation: DeferredOperationKHR,
info: &CopyMemoryToAccelerationStructureInfoKHR
) -> VkResult<SuccessCode>
unsafe fn create_acceleration_structure_khr(
&self,
create_info: &AccelerationStructureCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<AccelerationStructureKHR>
unsafe fn create_acceleration_structure_khr(
&self,
create_info: &AccelerationStructureCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<AccelerationStructureKHR>
unsafe fn destroy_acceleration_structure_khr(
&self,
acceleration_structure: AccelerationStructureKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_acceleration_structure_khr(
&self,
acceleration_structure: AccelerationStructureKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_acceleration_structure_build_sizes_khr(
&self,
build_type: AccelerationStructureBuildTypeKHR,
build_info: &AccelerationStructureBuildGeometryInfoKHR
) -> (Vec<u32>, AccelerationStructureBuildSizesInfoKHR)
unsafe fn get_acceleration_structure_build_sizes_khr(
&self,
build_type: AccelerationStructureBuildTypeKHR,
build_info: &AccelerationStructureBuildGeometryInfoKHR
) -> (Vec<u32>, AccelerationStructureBuildSizesInfoKHR)
unsafe fn get_acceleration_structure_device_address_khr(
&self,
info: &AccelerationStructureDeviceAddressInfoKHR
)
unsafe fn get_acceleration_structure_device_address_khr(
&self,
info: &AccelerationStructureDeviceAddressInfoKHR
)
unsafe fn get_device_acceleration_structure_compatibility_khr(
&self,
version_info: &AccelerationStructureVersionInfoKHR
) -> AccelerationStructureCompatibilityKHR
unsafe fn get_device_acceleration_structure_compatibility_khr(
&self,
version_info: &AccelerationStructureVersionInfoKHR
) -> AccelerationStructureCompatibilityKHR
unsafe fn bind_buffer_memory2_khr(
&self,
bind_infos: &[impl Cast<Target = BindBufferMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_buffer_memory2_khr(
&self,
bind_infos: &[impl Cast<Target = BindBufferMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_image_memory2_khr(
&self,
bind_infos: &[impl Cast<Target = BindImageMemoryInfo>]
) -> VkResult<()>
unsafe fn bind_image_memory2_khr(
&self,
bind_infos: &[impl Cast<Target = BindImageMemoryInfo>]
) -> VkResult<()>
unsafe fn cmd_blit_image2_khr(
&self,
command_buffer: CommandBuffer,
blit_image_info: &BlitImageInfo2KHR
)
unsafe fn cmd_blit_image2_khr(
&self,
command_buffer: CommandBuffer,
blit_image_info: &BlitImageInfo2KHR
)
unsafe fn cmd_copy_buffer2_khr(
&self,
command_buffer: CommandBuffer,
copy_buffer_info: &CopyBufferInfo2KHR
)
unsafe fn cmd_copy_buffer2_khr(
&self,
command_buffer: CommandBuffer,
copy_buffer_info: &CopyBufferInfo2KHR
)
unsafe fn cmd_copy_buffer_to_image2_khr(
&self,
command_buffer: CommandBuffer,
copy_buffer_to_image_info: &CopyBufferToImageInfo2KHR
)
unsafe fn cmd_copy_buffer_to_image2_khr(
&self,
command_buffer: CommandBuffer,
copy_buffer_to_image_info: &CopyBufferToImageInfo2KHR
)
unsafe fn cmd_copy_image2_khr(
&self,
command_buffer: CommandBuffer,
copy_image_info: &CopyImageInfo2KHR
)
unsafe fn cmd_copy_image2_khr(
&self,
command_buffer: CommandBuffer,
copy_image_info: &CopyImageInfo2KHR
)
unsafe fn cmd_copy_image_to_buffer2_khr(
&self,
command_buffer: CommandBuffer,
copy_image_to_buffer_info: &CopyImageToBufferInfo2KHR
)
unsafe fn cmd_copy_image_to_buffer2_khr(
&self,
command_buffer: CommandBuffer,
copy_image_to_buffer_info: &CopyImageToBufferInfo2KHR
)
unsafe fn cmd_resolve_image2_khr(
&self,
command_buffer: CommandBuffer,
resolve_image_info: &ResolveImageInfo2KHR
)
unsafe fn cmd_resolve_image2_khr(
&self,
command_buffer: CommandBuffer,
resolve_image_info: &ResolveImageInfo2KHR
)
unsafe fn cmd_begin_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
unsafe fn cmd_begin_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
unsafe fn cmd_end_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_end_render_pass2_khr(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_next_subpass2_khr(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_next_subpass2_khr(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
unsafe fn create_render_pass2_khr(
&self,
create_info: &RenderPassCreateInfo2,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn create_render_pass2_khr(
&self,
create_info: &RenderPassCreateInfo2,
allocator: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn create_deferred_operation_khr(
&self,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DeferredOperationKHR>
unsafe fn create_deferred_operation_khr(
&self,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DeferredOperationKHR>
unsafe fn deferred_operation_join_khr(
&self,
operation: DeferredOperationKHR
) -> VkResult<SuccessCode>
unsafe fn deferred_operation_join_khr(
&self,
operation: DeferredOperationKHR
) -> VkResult<SuccessCode>
unsafe fn destroy_deferred_operation_khr(
&self,
operation: DeferredOperationKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_deferred_operation_khr(
&self,
operation: DeferredOperationKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn cmd_push_descriptor_set_with_template_khr(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
data: &c_void
)
unsafe fn cmd_push_descriptor_set_with_template_khr(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
data: &c_void
)
unsafe fn create_descriptor_update_template_khr(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
unsafe fn create_descriptor_update_template_khr(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
unsafe fn destroy_descriptor_update_template_khr(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_update_template_khr(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocator: Option<&AllocationCallbacks>
)
unsafe fn update_descriptor_set_with_template_khr(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: &c_void
)
unsafe fn update_descriptor_set_with_template_khr(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: &c_void
)
unsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
unsafe fn cmd_dispatch_base_khr(
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn cmd_dispatch_base_khr(
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn get_device_group_peer_memory_features_khr(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
unsafe fn get_device_group_peer_memory_features_khr(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
unsafe fn get_device_group_present_capabilities_khr(
&self
) -> VkResult<DeviceGroupPresentCapabilitiesKHR>
unsafe fn get_device_group_present_capabilities_khr(
&self
) -> VkResult<DeviceGroupPresentCapabilitiesKHR>
unsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
unsafe fn cmd_draw_indexed_indirect_count_khr(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indexed_indirect_count_khr(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count_khr(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_indirect_count_khr(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn import_fence_fd_khr(
&self,
import_fence_fd_info: &ImportFenceFdInfoKHR
) -> VkResult<()>
unsafe fn import_fence_fd_khr(
&self,
import_fence_fd_info: &ImportFenceFdInfoKHR
) -> VkResult<()>
unsafe fn get_fence_win32_handle_khr(
&self,
get_win32_handle_info: &FenceGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn get_fence_win32_handle_khr(
&self,
get_win32_handle_info: &FenceGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn import_fence_win32_handle_khr(
&self,
import_fence_win32_handle_info: &ImportFenceWin32HandleInfoKHR
) -> VkResult<()>
unsafe fn import_fence_win32_handle_khr(
&self,
import_fence_win32_handle_info: &ImportFenceWin32HandleInfoKHR
) -> VkResult<()>
unsafe fn get_memory_win32_handle_khr(
&self,
get_win32_handle_info: &MemoryGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn get_memory_win32_handle_khr(
&self,
get_win32_handle_info: &MemoryGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn import_semaphore_fd_khr(
&self,
import_semaphore_fd_info: &ImportSemaphoreFdInfoKHR
) -> VkResult<()>
unsafe fn import_semaphore_fd_khr(
&self,
import_semaphore_fd_info: &ImportSemaphoreFdInfoKHR
) -> VkResult<()>
unsafe fn get_semaphore_win32_handle_khr(
&self,
get_win32_handle_info: &SemaphoreGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn get_semaphore_win32_handle_khr(
&self,
get_win32_handle_info: &SemaphoreGetWin32HandleInfoKHR
) -> VkResult<HANDLE>
unsafe fn import_semaphore_win32_handle_khr(
&self,
import_semaphore_win32_handle_info: &ImportSemaphoreWin32HandleInfoKHR
) -> VkResult<()>
unsafe fn import_semaphore_win32_handle_khr(
&self,
import_semaphore_win32_handle_info: &ImportSemaphoreWin32HandleInfoKHR
) -> VkResult<()>
unsafe fn cmd_set_fragment_shading_rate_khr(
&self,
command_buffer: CommandBuffer,
fragment_size: &Extent2D,
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]
)
unsafe fn cmd_set_fragment_shading_rate_khr(
&self,
command_buffer: CommandBuffer,
fragment_size: &Extent2D,
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]
)
unsafe fn get_buffer_memory_requirements2_khr(
&self,
info: &BufferMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_buffer_memory_requirements2_khr(
&self,
info: &BufferMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_image_memory_requirements2_khr(
&self,
info: &ImageMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_image_memory_requirements2_khr(
&self,
info: &ImageMemoryRequirementsInfo2,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn trim_command_pool_khr(
&self,
command_pool: CommandPool,
flags: CommandPoolTrimFlags
)
unsafe fn trim_command_pool_khr(
&self,
command_pool: CommandPool,
flags: CommandPoolTrimFlags
)
unsafe fn get_device_buffer_memory_requirements_khr(
&self,
info: &DeviceBufferMemoryRequirementsKHR,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_device_buffer_memory_requirements_khr(
&self,
info: &DeviceBufferMemoryRequirementsKHR,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_device_image_memory_requirements_khr(
&self,
info: &DeviceImageMemoryRequirementsKHR,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn get_device_image_memory_requirements_khr(
&self,
info: &DeviceImageMemoryRequirementsKHR,
memory_requirements: &mut MemoryRequirements2
)
unsafe fn acquire_profiling_lock_khr(
&self,
info: &AcquireProfilingLockInfoKHR
) -> VkResult<()>
unsafe fn acquire_profiling_lock_khr(
&self,
info: &AcquireProfilingLockInfoKHR
) -> VkResult<()>
unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> VkResult<(Vec<PerformanceCounterKHR>, Vec<PerformanceCounterDescriptionKHR>)>
unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> VkResult<(Vec<PerformanceCounterKHR>, Vec<PerformanceCounterDescriptionKHR>)>
unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR
) -> u32
unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR
) -> u32
unsafe fn get_pipeline_executable_internal_representations_khr(
&self,
executable_info: &PipelineExecutableInfoKHR
) -> VkResult<Vec<PipelineExecutableInternalRepresentationKHR>>
unsafe fn get_pipeline_executable_internal_representations_khr(
&self,
executable_info: &PipelineExecutableInfoKHR
) -> VkResult<Vec<PipelineExecutableInternalRepresentationKHR>>
unsafe fn get_pipeline_executable_properties_khr(
&self,
pipeline_info: &PipelineInfoKHR
) -> VkResult<Vec<PipelineExecutablePropertiesKHR>>
unsafe fn get_pipeline_executable_properties_khr(
&self,
pipeline_info: &PipelineInfoKHR
) -> VkResult<Vec<PipelineExecutablePropertiesKHR>>
unsafe fn wait_for_present_khr(
&self,
swapchain: SwapchainKHR,
present_id: u64,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn wait_for_present_khr(
&self,
swapchain: SwapchainKHR,
present_id: u64,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn cmd_push_descriptor_set_khr(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
set: u32,
descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>]
)
unsafe fn cmd_push_descriptor_set_khr(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
set: u32,
descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>]
)
unsafe fn cmd_push_descriptor_set_with_template_khr(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
data: &c_void
)
unsafe fn cmd_push_descriptor_set_with_template_khr(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
data: &c_void
)
unsafe fn cmd_set_ray_tracing_pipeline_stack_size_khr(
&self,
command_buffer: CommandBuffer,
pipeline_stack_size: u32
)
unsafe fn cmd_set_ray_tracing_pipeline_stack_size_khr(
&self,
command_buffer: CommandBuffer,
pipeline_stack_size: u32
)
unsafe fn cmd_trace_rays_indirect_khr(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table: &StridedDeviceAddressRegionKHR,
miss_shader_binding_table: &StridedDeviceAddressRegionKHR,
hit_shader_binding_table: &StridedDeviceAddressRegionKHR,
callable_shader_binding_table: &StridedDeviceAddressRegionKHR,
indirect_device_address: DeviceAddress
)
unsafe fn cmd_trace_rays_indirect_khr(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table: &StridedDeviceAddressRegionKHR,
miss_shader_binding_table: &StridedDeviceAddressRegionKHR,
hit_shader_binding_table: &StridedDeviceAddressRegionKHR,
callable_shader_binding_table: &StridedDeviceAddressRegionKHR,
indirect_device_address: DeviceAddress
)
unsafe fn cmd_trace_rays_khr(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table: &StridedDeviceAddressRegionKHR,
miss_shader_binding_table: &StridedDeviceAddressRegionKHR,
hit_shader_binding_table: &StridedDeviceAddressRegionKHR,
callable_shader_binding_table: &StridedDeviceAddressRegionKHR,
width: u32,
height: u32,
depth: u32
)
unsafe fn cmd_trace_rays_khr(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table: &StridedDeviceAddressRegionKHR,
miss_shader_binding_table: &StridedDeviceAddressRegionKHR,
hit_shader_binding_table: &StridedDeviceAddressRegionKHR,
callable_shader_binding_table: &StridedDeviceAddressRegionKHR,
width: u32,
height: u32,
depth: u32
)
unsafe fn create_ray_tracing_pipelines_khr(
&self,
deferred_operation: DeferredOperationKHR,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = RayTracingPipelineCreateInfoKHR>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_ray_tracing_pipelines_khr(
&self,
deferred_operation: DeferredOperationKHR,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = RayTracingPipelineCreateInfoKHR>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn get_ray_tracing_shader_group_stack_size_khr(
&self,
pipeline: Pipeline,
group: u32,
group_shader: ShaderGroupShaderKHR
)
unsafe fn get_ray_tracing_shader_group_stack_size_khr(
&self,
pipeline: Pipeline,
group: u32,
group_shader: ShaderGroupShaderKHR
)
unsafe fn create_sampler_ycbcr_conversion_khr(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn create_sampler_ycbcr_conversion_khr(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn destroy_sampler_ycbcr_conversion_khr(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_sampler_ycbcr_conversion_khr(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocator: Option<&AllocationCallbacks>
)
unsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image_khr(
&self,
swapchain: SwapchainKHR,
timeout: u64,
semaphore: Semaphore,
fence: Fence
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image_khr(
&self,
swapchain: SwapchainKHR,
timeout: u64,
semaphore: Semaphore,
fence: Fence
) -> VkSuccessResult<u32>
unsafe fn create_swapchain_khr(
&self,
create_info: &SwapchainCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SwapchainKHR>
unsafe fn create_swapchain_khr(
&self,
create_info: &SwapchainCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SwapchainKHR>
unsafe fn destroy_swapchain_khr(
&self,
swapchain: SwapchainKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_swapchain_khr(
&self,
swapchain: SwapchainKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_device_group_present_capabilities_khr(
&self
) -> VkResult<DeviceGroupPresentCapabilitiesKHR>
unsafe fn get_device_group_present_capabilities_khr(
&self
) -> VkResult<DeviceGroupPresentCapabilitiesKHR>
unsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
unsafe fn queue_present_khr(
&self,
queue: Queue,
present_info: &PresentInfoKHR
) -> VkResult<SuccessCode>
unsafe fn queue_present_khr(
&self,
queue: Queue,
present_info: &PresentInfoKHR
) -> VkResult<SuccessCode>
unsafe fn cmd_pipeline_barrier2_khr(
&self,
command_buffer: CommandBuffer,
dependency_info: &DependencyInfoKHR
)
unsafe fn cmd_pipeline_barrier2_khr(
&self,
command_buffer: CommandBuffer,
dependency_info: &DependencyInfoKHR
)
unsafe fn cmd_reset_event2_khr(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags2KHR
)
unsafe fn cmd_reset_event2_khr(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags2KHR
)
unsafe fn cmd_set_event2_khr(
&self,
command_buffer: CommandBuffer,
event: Event,
dependency_info: &DependencyInfoKHR
)
unsafe fn cmd_set_event2_khr(
&self,
command_buffer: CommandBuffer,
event: Event,
dependency_info: &DependencyInfoKHR
)
unsafe fn cmd_wait_events2_khr(
&self,
command_buffer: CommandBuffer,
events: &[Event],
dependency_infos: &[impl Cast<Target = DependencyInfoKHR>]
)
unsafe fn cmd_wait_events2_khr(
&self,
command_buffer: CommandBuffer,
events: &[Event],
dependency_infos: &[impl Cast<Target = DependencyInfoKHR>]
)
unsafe fn cmd_write_buffer_marker2_amd(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2KHR,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32
)
unsafe fn cmd_write_buffer_marker2_amd(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2KHR,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32
)
unsafe fn cmd_write_timestamp2_khr(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2KHR,
query_pool: QueryPool,
query: u32
)
unsafe fn cmd_write_timestamp2_khr(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2KHR,
query_pool: QueryPool,
query: u32
)
unsafe fn queue_submit2_khr(
&self,
queue: Queue,
submits: &[impl Cast<Target = SubmitInfo2KHR>],
fence: Fence
) -> VkResult<()>
unsafe fn queue_submit2_khr(
&self,
queue: Queue,
submits: &[impl Cast<Target = SubmitInfo2KHR>],
fence: Fence
) -> VkResult<()>
unsafe fn wait_semaphores_khr(
&self,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn wait_semaphores_khr(
&self,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<SuccessCode>
unsafe fn acquire_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
unsafe fn acquire_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
unsafe fn get_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
device_relative_id: u32
) -> VkResult<DisplayKHR>
unsafe fn get_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
device_relative_id: u32
) -> VkResult<DisplayKHR>
unsafe fn cmd_set_viewport_w_scaling_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_w_scalings: &[impl Cast<Target = ViewportWScalingNV>]
)
unsafe fn cmd_set_viewport_w_scaling_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_w_scalings: &[impl Cast<Target = ViewportWScalingNV>]
)
unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<FramebufferMixedSamplesCombinationNV>>
unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<FramebufferMixedSamplesCombinationNV>>
unsafe fn cmd_set_checkpoint_nv(
&self,
command_buffer: CommandBuffer,
checkpoint_marker: &c_void
)
unsafe fn cmd_set_checkpoint_nv(
&self,
command_buffer: CommandBuffer,
checkpoint_marker: &c_void
)
unsafe fn cmd_bind_pipeline_shader_group_nv(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline,
group_index: u32
)
unsafe fn cmd_bind_pipeline_shader_group_nv(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline,
group_index: u32
)
unsafe fn cmd_execute_generated_commands_nv(
&self,
command_buffer: CommandBuffer,
is_preprocessed: bool,
generated_commands_info: &GeneratedCommandsInfoNV
)
unsafe fn cmd_execute_generated_commands_nv(
&self,
command_buffer: CommandBuffer,
is_preprocessed: bool,
generated_commands_info: &GeneratedCommandsInfoNV
)
unsafe fn cmd_preprocess_generated_commands_nv(
&self,
command_buffer: CommandBuffer,
generated_commands_info: &GeneratedCommandsInfoNV
)
unsafe fn cmd_preprocess_generated_commands_nv(
&self,
command_buffer: CommandBuffer,
generated_commands_info: &GeneratedCommandsInfoNV
)
unsafe fn create_indirect_commands_layout_nv(
&self,
create_info: &IndirectCommandsLayoutCreateInfoNV,
allocator: Option<&AllocationCallbacks>
) -> VkResult<IndirectCommandsLayoutNV>
unsafe fn create_indirect_commands_layout_nv(
&self,
create_info: &IndirectCommandsLayoutCreateInfoNV,
allocator: Option<&AllocationCallbacks>
) -> VkResult<IndirectCommandsLayoutNV>
unsafe fn destroy_indirect_commands_layout_nv(
&self,
indirect_commands_layout: IndirectCommandsLayoutNV,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_indirect_commands_layout_nv(
&self,
indirect_commands_layout: IndirectCommandsLayoutNV,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_memory_remote_address_nv(
&self,
memory_get_remote_address_info: &MemoryGetRemoteAddressInfoNV
) -> VkResult<RemoteAddressNV>
unsafe fn get_memory_remote_address_nv(
&self,
memory_get_remote_address_info: &MemoryGetRemoteAddressInfoNV
) -> VkResult<RemoteAddressNV>
👎 Deprecated:
deprecated in favor of VK_KHR_external_memory_win32
The metadata for this extension.
unsafe fn get_memory_win32_handle_nv(
&self,
memory: DeviceMemory,
handle_type: ExternalMemoryHandleTypeFlagsNV
) -> VkResult<HANDLE>
unsafe fn get_memory_win32_handle_nv(
&self,
memory: DeviceMemory,
handle_type: ExternalMemoryHandleTypeFlagsNV
) -> VkResult<HANDLE>
👎 Deprecated:
deprecated in favor of VK_KHR_external_memory_win32
unsafe fn cmd_set_fragment_shading_rate_enum_nv(
&self,
command_buffer: CommandBuffer,
shading_rate: FragmentShadingRateNV,
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]
)
unsafe fn cmd_set_fragment_shading_rate_enum_nv(
&self,
command_buffer: CommandBuffer,
shading_rate: FragmentShadingRateNV,
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]
)
unsafe fn cmd_draw_mesh_tasks_indirect_count_nv(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_mesh_tasks_indirect_count_nv(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_mesh_tasks_indirect_nv(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_mesh_tasks_indirect_nv(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_draw_mesh_tasks_nv(
&self,
command_buffer: CommandBuffer,
task_count: u32,
first_task: u32
)
unsafe fn cmd_draw_mesh_tasks_nv(
&self,
command_buffer: CommandBuffer,
task_count: u32,
first_task: u32
)
unsafe fn bind_acceleration_structure_memory_nv(
&self,
bind_infos: &[impl Cast<Target = BindAccelerationStructureMemoryInfoNV>]
) -> VkResult<()>
unsafe fn bind_acceleration_structure_memory_nv(
&self,
bind_infos: &[impl Cast<Target = BindAccelerationStructureMemoryInfoNV>]
) -> VkResult<()>
unsafe fn cmd_build_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
info: &AccelerationStructureInfoNV,
instance_data: Buffer,
instance_offset: DeviceSize,
update: bool,
dst: AccelerationStructureNV,
src: AccelerationStructureNV,
scratch: Buffer,
scratch_offset: DeviceSize
)
unsafe fn cmd_build_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
info: &AccelerationStructureInfoNV,
instance_data: Buffer,
instance_offset: DeviceSize,
update: bool,
dst: AccelerationStructureNV,
src: AccelerationStructureNV,
scratch: Buffer,
scratch_offset: DeviceSize
)
unsafe fn cmd_copy_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
dst: AccelerationStructureNV,
src: AccelerationStructureNV,
mode: CopyAccelerationStructureModeKHR
)
unsafe fn cmd_copy_acceleration_structure_nv(
&self,
command_buffer: CommandBuffer,
dst: AccelerationStructureNV,
src: AccelerationStructureNV,
mode: CopyAccelerationStructureModeKHR
)
unsafe fn cmd_trace_rays_nv(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table_buffer: Buffer,
raygen_shader_binding_offset: DeviceSize,
miss_shader_binding_table_buffer: Buffer,
miss_shader_binding_offset: DeviceSize,
miss_shader_binding_stride: DeviceSize,
hit_shader_binding_table_buffer: Buffer,
hit_shader_binding_offset: DeviceSize,
hit_shader_binding_stride: DeviceSize,
callable_shader_binding_table_buffer: Buffer,
callable_shader_binding_offset: DeviceSize,
callable_shader_binding_stride: DeviceSize,
width: u32,
height: u32,
depth: u32
)
unsafe fn cmd_trace_rays_nv(
&self,
command_buffer: CommandBuffer,
raygen_shader_binding_table_buffer: Buffer,
raygen_shader_binding_offset: DeviceSize,
miss_shader_binding_table_buffer: Buffer,
miss_shader_binding_offset: DeviceSize,
miss_shader_binding_stride: DeviceSize,
hit_shader_binding_table_buffer: Buffer,
hit_shader_binding_offset: DeviceSize,
hit_shader_binding_stride: DeviceSize,
callable_shader_binding_table_buffer: Buffer,
callable_shader_binding_offset: DeviceSize,
callable_shader_binding_stride: DeviceSize,
width: u32,
height: u32,
depth: u32
)
unsafe fn cmd_write_acceleration_structures_properties_nv(
&self,
command_buffer: CommandBuffer,
acceleration_structures: &[AccelerationStructureNV],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
unsafe fn cmd_write_acceleration_structures_properties_nv(
&self,
command_buffer: CommandBuffer,
acceleration_structures: &[AccelerationStructureNV],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
unsafe fn create_acceleration_structure_nv(
&self,
create_info: &AccelerationStructureCreateInfoNV,
allocator: Option<&AllocationCallbacks>
) -> VkResult<AccelerationStructureNV>
unsafe fn create_acceleration_structure_nv(
&self,
create_info: &AccelerationStructureCreateInfoNV,
allocator: Option<&AllocationCallbacks>
) -> VkResult<AccelerationStructureNV>
unsafe fn create_ray_tracing_pipelines_nv(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = RayTracingPipelineCreateInfoNV>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn create_ray_tracing_pipelines_nv(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = RayTracingPipelineCreateInfoNV>],
allocator: Option<&AllocationCallbacks>
) -> VkSuccessResult<Pipeline>
unsafe fn destroy_acceleration_structure_nv(
&self,
acceleration_structure: AccelerationStructureNV,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_acceleration_structure_nv(
&self,
acceleration_structure: AccelerationStructureNV,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_acceleration_structure_handle_nv(
&self,
acceleration_structure: AccelerationStructureNV,
data: &mut [u8]
) -> VkResult<()>
unsafe fn get_acceleration_structure_handle_nv(
&self,
acceleration_structure: AccelerationStructureNV,
data: &mut [u8]
) -> VkResult<()>
unsafe fn get_acceleration_structure_memory_requirements_nv(
&self,
info: &AccelerationStructureMemoryRequirementsInfoNV
) -> MemoryRequirements2KHR
unsafe fn get_acceleration_structure_memory_requirements_nv(
&self,
info: &AccelerationStructureMemoryRequirementsInfoNV
) -> MemoryRequirements2KHR
unsafe fn cmd_set_exclusive_scissor_nv(
&self,
command_buffer: CommandBuffer,
first_exclusive_scissor: u32,
exclusive_scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_set_exclusive_scissor_nv(
&self,
command_buffer: CommandBuffer,
first_exclusive_scissor: u32,
exclusive_scissors: &[impl Cast<Target = Rect2D>]
)
unsafe fn cmd_bind_shading_rate_image_nv(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
)
unsafe fn cmd_bind_shading_rate_image_nv(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
)
unsafe fn cmd_set_coarse_sample_order_nv(
&self,
command_buffer: CommandBuffer,
sample_order_type: CoarseSampleOrderTypeNV,
custom_sample_orders: &[impl Cast<Target = CoarseSampleOrderCustomNV>]
)
unsafe fn cmd_set_coarse_sample_order_nv(
&self,
command_buffer: CommandBuffer,
sample_order_type: CoarseSampleOrderTypeNV,
custom_sample_orders: &[impl Cast<Target = CoarseSampleOrderCustomNV>]
)
unsafe fn cmd_set_viewport_shading_rate_palette_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
shading_rate_palettes: &[impl Cast<Target = ShadingRatePaletteNV>]
)
unsafe fn cmd_set_viewport_shading_rate_palette_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
shading_rate_palettes: &[impl Cast<Target = ShadingRatePaletteNV>]
)
unsafe fn cmd_cu_launch_kernel_nvx(
&self,
command_buffer: CommandBuffer,
launch_info: &CuLaunchInfoNVX
)
unsafe fn cmd_cu_launch_kernel_nvx(
&self,
command_buffer: CommandBuffer,
launch_info: &CuLaunchInfoNVX
)
unsafe fn create_cu_function_nvx(
&self,
create_info: &CuFunctionCreateInfoNVX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CuFunctionNVX>
unsafe fn create_cu_function_nvx(
&self,
create_info: &CuFunctionCreateInfoNVX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CuFunctionNVX>
unsafe fn create_cu_module_nvx(
&self,
create_info: &CuModuleCreateInfoNVX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CuModuleNVX>
unsafe fn create_cu_module_nvx(
&self,
create_info: &CuModuleCreateInfoNVX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<CuModuleNVX>
unsafe fn destroy_cu_function_nvx(
&self,
function: CuFunctionNVX,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_cu_function_nvx(
&self,
function: CuFunctionNVX,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_cu_module_nvx(
&self,
module: CuModuleNVX,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_cu_module_nvx(
&self,
module: CuModuleNVX,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_image_view_address_nvx(
&self,
image_view: ImageView
) -> VkResult<ImageViewAddressPropertiesNVX>
unsafe fn get_image_view_address_nvx(
&self,
image_view: ImageView
) -> VkResult<ImageViewAddressPropertiesNVX>
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more