pub struct Device {
pub(crate) handle: Device,
pub(crate) device_fn_1_0: DeviceFnV1_0,
pub(crate) device_fn_1_1: DeviceFnV1_1,
pub(crate) device_fn_1_2: DeviceFnV1_2,
pub(crate) device_fn_1_3: DeviceFnV1_3,
}
Fields§
§handle: Device
§device_fn_1_0: DeviceFnV1_0
§device_fn_1_1: DeviceFnV1_1
§device_fn_1_2: DeviceFnV1_2
§device_fn_1_3: DeviceFnV1_3
Implementations§
source§impl Device
impl Device
pub unsafe fn load(instance_fn: &InstanceFnV1_0, device: Device) -> Self
pub unsafe fn load_with( load_fn: impl FnMut(&CStr) -> *const c_void, device: Device, ) -> Self
pub fn from_parts_1_3( handle: Device, device_fn_1_0: DeviceFnV1_0, device_fn_1_1: DeviceFnV1_1, device_fn_1_2: DeviceFnV1_2, device_fn_1_3: DeviceFnV1_3, ) -> Self
pub fn handle(&self) -> Device
source§impl Device
impl Device
Vulkan core 1.3
pub fn fp_v1_3(&self) -> &DeviceFnV1_3
sourcepub unsafe fn create_private_data_slot(
&self,
create_info: &PrivateDataSlotCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<PrivateDataSlot>
pub unsafe fn create_private_data_slot( &self, create_info: &PrivateDataSlotCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<PrivateDataSlot>
sourcepub unsafe fn destroy_private_data_slot(
&self,
private_data_slot: PrivateDataSlot,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_private_data_slot( &self, private_data_slot: PrivateDataSlot, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn set_private_data<T: Handle>(
&self,
object: T,
private_data_slot: PrivateDataSlot,
data: u64,
) -> VkResult<()>
pub unsafe fn set_private_data<T: Handle>( &self, object: T, private_data_slot: PrivateDataSlot, data: u64, ) -> VkResult<()>
sourcepub unsafe fn get_private_data<T: Handle>(
&self,
object: T,
private_data_slot: PrivateDataSlot,
) -> u64
pub unsafe fn get_private_data<T: Handle>( &self, object: T, private_data_slot: PrivateDataSlot, ) -> u64
sourcepub unsafe fn cmd_pipeline_barrier2(
&self,
command_buffer: CommandBuffer,
dependency_info: &DependencyInfo<'_>,
)
pub unsafe fn cmd_pipeline_barrier2( &self, command_buffer: CommandBuffer, dependency_info: &DependencyInfo<'_>, )
sourcepub unsafe fn cmd_reset_event2(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags2,
)
pub unsafe fn cmd_reset_event2( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, )
sourcepub unsafe fn cmd_set_event2(
&self,
command_buffer: CommandBuffer,
event: Event,
dependency_info: &DependencyInfo<'_>,
)
pub unsafe fn cmd_set_event2( &self, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfo<'_>, )
sourcepub unsafe fn cmd_wait_events2(
&self,
command_buffer: CommandBuffer,
events: &[Event],
dependency_infos: &[DependencyInfo<'_>],
)
pub unsafe fn cmd_wait_events2( &self, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfo<'_>], )
sourcepub unsafe fn cmd_write_timestamp2(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2,
query_pool: QueryPool,
query: u32,
)
pub unsafe fn cmd_write_timestamp2( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2, query_pool: QueryPool, query: u32, )
sourcepub unsafe fn queue_submit2(
&self,
queue: Queue,
submits: &[SubmitInfo2<'_>],
fence: Fence,
) -> VkResult<()>
pub unsafe fn queue_submit2( &self, queue: Queue, submits: &[SubmitInfo2<'_>], fence: Fence, ) -> VkResult<()>
sourcepub unsafe fn cmd_copy_buffer2(
&self,
command_buffer: CommandBuffer,
copy_buffer_info: &CopyBufferInfo2<'_>,
)
pub unsafe fn cmd_copy_buffer2( &self, command_buffer: CommandBuffer, copy_buffer_info: &CopyBufferInfo2<'_>, )
sourcepub unsafe fn cmd_copy_image2(
&self,
command_buffer: CommandBuffer,
copy_image_info: &CopyImageInfo2<'_>,
)
pub unsafe fn cmd_copy_image2( &self, command_buffer: CommandBuffer, copy_image_info: &CopyImageInfo2<'_>, )
sourcepub unsafe fn cmd_copy_buffer_to_image2(
&self,
command_buffer: CommandBuffer,
copy_buffer_to_image_info: &CopyBufferToImageInfo2<'_>,
)
pub unsafe fn cmd_copy_buffer_to_image2( &self, command_buffer: CommandBuffer, copy_buffer_to_image_info: &CopyBufferToImageInfo2<'_>, )
sourcepub unsafe fn cmd_copy_image_to_buffer2(
&self,
command_buffer: CommandBuffer,
copy_image_to_buffer_info: &CopyImageToBufferInfo2<'_>,
)
pub unsafe fn cmd_copy_image_to_buffer2( &self, command_buffer: CommandBuffer, copy_image_to_buffer_info: &CopyImageToBufferInfo2<'_>, )
sourcepub unsafe fn cmd_blit_image2(
&self,
command_buffer: CommandBuffer,
blit_image_info: &BlitImageInfo2<'_>,
)
pub unsafe fn cmd_blit_image2( &self, command_buffer: CommandBuffer, blit_image_info: &BlitImageInfo2<'_>, )
sourcepub unsafe fn cmd_resolve_image2(
&self,
command_buffer: CommandBuffer,
resolve_image_info: &ResolveImageInfo2<'_>,
)
pub unsafe fn cmd_resolve_image2( &self, command_buffer: CommandBuffer, resolve_image_info: &ResolveImageInfo2<'_>, )
sourcepub unsafe fn cmd_begin_rendering(
&self,
command_buffer: CommandBuffer,
rendering_info: &RenderingInfo<'_>,
)
pub unsafe fn cmd_begin_rendering( &self, command_buffer: CommandBuffer, rendering_info: &RenderingInfo<'_>, )
sourcepub unsafe fn cmd_end_rendering(&self, command_buffer: CommandBuffer)
pub unsafe fn cmd_end_rendering(&self, command_buffer: CommandBuffer)
sourcepub unsafe fn cmd_set_cull_mode(
&self,
command_buffer: CommandBuffer,
cull_mode: CullModeFlags,
)
pub unsafe fn cmd_set_cull_mode( &self, command_buffer: CommandBuffer, cull_mode: CullModeFlags, )
sourcepub unsafe fn cmd_set_front_face(
&self,
command_buffer: CommandBuffer,
front_face: FrontFace,
)
pub unsafe fn cmd_set_front_face( &self, command_buffer: CommandBuffer, front_face: FrontFace, )
sourcepub unsafe fn cmd_set_primitive_topology(
&self,
command_buffer: CommandBuffer,
primitive_topology: PrimitiveTopology,
)
pub unsafe fn cmd_set_primitive_topology( &self, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology, )
sourcepub unsafe fn cmd_set_viewport_with_count(
&self,
command_buffer: CommandBuffer,
viewports: &[Viewport],
)
pub unsafe fn cmd_set_viewport_with_count( &self, command_buffer: CommandBuffer, viewports: &[Viewport], )
sourcepub unsafe fn cmd_set_scissor_with_count(
&self,
command_buffer: CommandBuffer,
scissors: &[Rect2D],
)
pub unsafe fn cmd_set_scissor_with_count( &self, command_buffer: CommandBuffer, scissors: &[Rect2D], )
sourcepub unsafe fn cmd_bind_vertex_buffers2(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
sizes: Option<&[DeviceSize]>,
strides: Option<&[DeviceSize]>,
)
pub unsafe fn cmd_bind_vertex_buffers2( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], sizes: Option<&[DeviceSize]>, strides: Option<&[DeviceSize]>, )
sourcepub unsafe fn cmd_set_depth_test_enable(
&self,
command_buffer: CommandBuffer,
depth_test_enable: bool,
)
pub unsafe fn cmd_set_depth_test_enable( &self, command_buffer: CommandBuffer, depth_test_enable: bool, )
sourcepub unsafe fn cmd_set_depth_write_enable(
&self,
command_buffer: CommandBuffer,
depth_write_enable: bool,
)
pub unsafe fn cmd_set_depth_write_enable( &self, command_buffer: CommandBuffer, depth_write_enable: bool, )
sourcepub unsafe fn cmd_set_depth_compare_op(
&self,
command_buffer: CommandBuffer,
depth_compare_op: CompareOp,
)
pub unsafe fn cmd_set_depth_compare_op( &self, command_buffer: CommandBuffer, depth_compare_op: CompareOp, )
sourcepub unsafe fn cmd_set_depth_bounds_test_enable(
&self,
command_buffer: CommandBuffer,
depth_bounds_test_enable: bool,
)
pub unsafe fn cmd_set_depth_bounds_test_enable( &self, command_buffer: CommandBuffer, depth_bounds_test_enable: bool, )
sourcepub unsafe fn cmd_set_stencil_test_enable(
&self,
command_buffer: CommandBuffer,
stencil_test_enable: bool,
)
pub unsafe fn cmd_set_stencil_test_enable( &self, command_buffer: CommandBuffer, stencil_test_enable: bool, )
sourcepub unsafe fn cmd_set_stencil_op(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
fail_op: StencilOp,
pass_op: StencilOp,
depth_fail_op: StencilOp,
compare_op: CompareOp,
)
pub unsafe fn cmd_set_stencil_op( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, fail_op: StencilOp, pass_op: StencilOp, depth_fail_op: StencilOp, compare_op: CompareOp, )
sourcepub unsafe fn cmd_set_rasterizer_discard_enable(
&self,
command_buffer: CommandBuffer,
rasterizer_discard_enable: bool,
)
pub unsafe fn cmd_set_rasterizer_discard_enable( &self, command_buffer: CommandBuffer, rasterizer_discard_enable: bool, )
sourcepub unsafe fn cmd_set_depth_bias_enable(
&self,
command_buffer: CommandBuffer,
depth_bias_enable: bool,
)
pub unsafe fn cmd_set_depth_bias_enable( &self, command_buffer: CommandBuffer, depth_bias_enable: bool, )
sourcepub unsafe fn cmd_set_primitive_restart_enable(
&self,
command_buffer: CommandBuffer,
primitive_restart_enable: bool,
)
pub unsafe fn cmd_set_primitive_restart_enable( &self, command_buffer: CommandBuffer, primitive_restart_enable: bool, )
sourcepub unsafe fn get_device_buffer_memory_requirements(
&self,
memory_requirements: &DeviceBufferMemoryRequirements<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_device_buffer_memory_requirements( &self, memory_requirements: &DeviceBufferMemoryRequirements<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_device_image_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirements<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_device_image_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirements<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_device_image_sparse_memory_requirements_len(
&self,
memory_requirements: &DeviceImageMemoryRequirements<'_>,
) -> usize
pub unsafe fn get_device_image_sparse_memory_requirements_len( &self, memory_requirements: &DeviceImageMemoryRequirements<'_>, ) -> usize
Retrieve the number of elements to pass to get_device_image_sparse_memory_requirements()
sourcepub unsafe fn get_device_image_sparse_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirements<'_>,
out: &mut [SparseImageMemoryRequirements2<'_>],
)
pub unsafe fn get_device_image_sparse_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirements<'_>, out: &mut [SparseImageMemoryRequirements2<'_>], )
Call get_device_image_sparse_memory_requirements_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
source§impl Device
impl Device
Vulkan core 1.2
pub fn fp_v1_2(&self) -> &DeviceFnV1_2
sourcepub 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,
)
pub 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, )
sourcepub 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,
)
pub 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, )
sourcepub unsafe fn create_render_pass2(
&self,
create_info: &RenderPassCreateInfo2<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<RenderPass>
pub unsafe fn create_render_pass2( &self, create_info: &RenderPassCreateInfo2<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<RenderPass>
sourcepub unsafe fn cmd_begin_render_pass2(
&self,
command_buffer: CommandBuffer,
render_pass_begin_info: &RenderPassBeginInfo<'_>,
subpass_begin_info: &SubpassBeginInfo<'_>,
)
pub unsafe fn cmd_begin_render_pass2( &self, command_buffer: CommandBuffer, render_pass_begin_info: &RenderPassBeginInfo<'_>, subpass_begin_info: &SubpassBeginInfo<'_>, )
sourcepub unsafe fn cmd_next_subpass2(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo<'_>,
subpass_end_info: &SubpassEndInfo<'_>,
)
pub unsafe fn cmd_next_subpass2( &self, command_buffer: CommandBuffer, subpass_begin_info: &SubpassBeginInfo<'_>, subpass_end_info: &SubpassEndInfo<'_>, )
sourcepub unsafe fn cmd_end_render_pass2(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo<'_>,
)
pub unsafe fn cmd_end_render_pass2( &self, command_buffer: CommandBuffer, subpass_end_info: &SubpassEndInfo<'_>, )
sourcepub unsafe fn reset_query_pool(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
)
pub unsafe fn reset_query_pool( &self, query_pool: QueryPool, first_query: u32, query_count: u32, )
sourcepub unsafe fn get_semaphore_counter_value(
&self,
semaphore: Semaphore,
) -> VkResult<u64>
pub unsafe fn get_semaphore_counter_value( &self, semaphore: Semaphore, ) -> VkResult<u64>
sourcepub unsafe fn wait_semaphores(
&self,
wait_info: &SemaphoreWaitInfo<'_>,
timeout: u64,
) -> VkResult<()>
pub unsafe fn wait_semaphores( &self, wait_info: &SemaphoreWaitInfo<'_>, timeout: u64, ) -> VkResult<()>
sourcepub unsafe fn signal_semaphore(
&self,
signal_info: &SemaphoreSignalInfo<'_>,
) -> VkResult<()>
pub unsafe fn signal_semaphore( &self, signal_info: &SemaphoreSignalInfo<'_>, ) -> VkResult<()>
sourcepub unsafe fn get_buffer_device_address(
&self,
info: &BufferDeviceAddressInfo<'_>,
) -> DeviceAddress
pub unsafe fn get_buffer_device_address( &self, info: &BufferDeviceAddressInfo<'_>, ) -> DeviceAddress
sourcepub unsafe fn get_buffer_opaque_capture_address(
&self,
info: &BufferDeviceAddressInfo<'_>,
) -> u64
pub unsafe fn get_buffer_opaque_capture_address( &self, info: &BufferDeviceAddressInfo<'_>, ) -> u64
source§impl Device
impl Device
Vulkan core 1.1
pub fn fp_v1_1(&self) -> &DeviceFnV1_1
sourcepub unsafe fn bind_buffer_memory2(
&self,
bind_infos: &[BindBufferMemoryInfo<'_>],
) -> VkResult<()>
pub unsafe fn bind_buffer_memory2( &self, bind_infos: &[BindBufferMemoryInfo<'_>], ) -> VkResult<()>
sourcepub unsafe fn bind_image_memory2(
&self,
bind_infos: &[BindImageMemoryInfo<'_>],
) -> VkResult<()>
pub unsafe fn bind_image_memory2( &self, bind_infos: &[BindImageMemoryInfo<'_>], ) -> VkResult<()>
sourcepub unsafe fn get_device_group_peer_memory_features(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32,
) -> PeerMemoryFeatureFlags
pub unsafe fn get_device_group_peer_memory_features( &self, heap_index: u32, local_device_index: u32, remote_device_index: u32, ) -> PeerMemoryFeatureFlags
sourcepub unsafe fn cmd_set_device_mask(
&self,
command_buffer: CommandBuffer,
device_mask: u32,
)
pub unsafe fn cmd_set_device_mask( &self, command_buffer: CommandBuffer, device_mask: u32, )
sourcepub 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,
)
pub 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, )
sourcepub unsafe fn get_image_memory_requirements2(
&self,
info: &ImageMemoryRequirementsInfo2<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_image_memory_requirements2( &self, info: &ImageMemoryRequirementsInfo2<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_buffer_memory_requirements2(
&self,
info: &BufferMemoryRequirementsInfo2<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_buffer_memory_requirements2( &self, info: &BufferMemoryRequirementsInfo2<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_image_sparse_memory_requirements2_len(
&self,
info: &ImageSparseMemoryRequirementsInfo2<'_>,
) -> usize
pub unsafe fn get_image_sparse_memory_requirements2_len( &self, info: &ImageSparseMemoryRequirementsInfo2<'_>, ) -> usize
Retrieve the number of elements to pass to get_image_sparse_memory_requirements2()
sourcepub unsafe fn get_image_sparse_memory_requirements2(
&self,
info: &ImageSparseMemoryRequirementsInfo2<'_>,
out: &mut [SparseImageMemoryRequirements2<'_>],
)
pub unsafe fn get_image_sparse_memory_requirements2( &self, info: &ImageSparseMemoryRequirementsInfo2<'_>, out: &mut [SparseImageMemoryRequirements2<'_>], )
Call get_image_sparse_memory_requirements2_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
sourcepub unsafe fn trim_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolTrimFlags,
)
pub unsafe fn trim_command_pool( &self, command_pool: CommandPool, flags: CommandPoolTrimFlags, )
sourcepub unsafe fn get_device_queue2(
&self,
queue_info: &DeviceQueueInfo2<'_>,
) -> Queue
pub unsafe fn get_device_queue2( &self, queue_info: &DeviceQueueInfo2<'_>, ) -> Queue
sourcepub unsafe fn create_sampler_ycbcr_conversion(
&self,
create_info: &SamplerYcbcrConversionCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<SamplerYcbcrConversion>
pub unsafe fn create_sampler_ycbcr_conversion( &self, create_info: &SamplerYcbcrConversionCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<SamplerYcbcrConversion>
sourcepub unsafe fn destroy_sampler_ycbcr_conversion(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_sampler_ycbcr_conversion( &self, ycbcr_conversion: SamplerYcbcrConversion, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn create_descriptor_update_template(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<DescriptorUpdateTemplate>
pub unsafe fn create_descriptor_update_template( &self, create_info: &DescriptorUpdateTemplateCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<DescriptorUpdateTemplate>
sourcepub unsafe fn destroy_descriptor_update_template(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_descriptor_update_template( &self, descriptor_update_template: DescriptorUpdateTemplate, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn update_descriptor_set_with_template(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: *const c_void,
)
pub unsafe fn update_descriptor_set_with_template( &self, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, data: *const c_void, )
sourcepub unsafe fn get_descriptor_set_layout_support(
&self,
create_info: &DescriptorSetLayoutCreateInfo<'_>,
out: &mut DescriptorSetLayoutSupport<'_>,
)
pub unsafe fn get_descriptor_set_layout_support( &self, create_info: &DescriptorSetLayoutCreateInfo<'_>, out: &mut DescriptorSetLayoutSupport<'_>, )
source§impl Device
impl Device
Vulkan core 1.0
pub fn fp_v1_0(&self) -> &DeviceFnV1_0
sourcepub unsafe fn destroy_device(
&self,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_device( &self, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_sampler(
&self,
sampler: Sampler,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_sampler( &self, sampler: Sampler, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn free_memory(
&self,
memory: DeviceMemory,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn free_memory( &self, memory: DeviceMemory, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn free_command_buffers(
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer],
)
pub unsafe fn free_command_buffers( &self, command_pool: CommandPool, command_buffers: &[CommandBuffer], )
sourcepub unsafe fn create_event(
&self,
create_info: &EventCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<Event>
pub unsafe fn create_event( &self, create_info: &EventCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<Event>
sourcepub unsafe fn get_event_status(&self, event: Event) -> VkResult<bool>
pub unsafe fn get_event_status(&self, event: Event) -> VkResult<bool>
Returns true
if the event was set, and false
if the event was reset, otherwise it will
return the error code.
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetEventStatus.html
sourcepub unsafe fn reset_event(&self, event: Event) -> VkResult<()>
pub unsafe fn reset_event(&self, event: Event) -> VkResult<()>
sourcepub unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags,
)
pub unsafe fn cmd_set_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, )
sourcepub unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags,
)
pub unsafe fn cmd_reset_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, )
sourcepub unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[MemoryBarrier<'_>],
buffer_memory_barriers: &[BufferMemoryBarrier<'_>],
image_memory_barriers: &[ImageMemoryBarrier<'_>],
)
pub unsafe fn cmd_wait_events( &self, command_buffer: CommandBuffer, events: &[Event], src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, memory_barriers: &[MemoryBarrier<'_>], buffer_memory_barriers: &[BufferMemoryBarrier<'_>], image_memory_barriers: &[ImageMemoryBarrier<'_>], )
sourcepub unsafe fn destroy_fence(
&self,
fence: Fence,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_fence( &self, fence: Fence, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_event(
&self,
event: Event,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_event( &self, event: Event, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_image(
&self,
image: Image,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_image( &self, image: Image, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_command_pool(
&self,
pool: CommandPool,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_command_pool( &self, pool: CommandPool, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_image_view(
&self,
image_view: ImageView,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_image_view( &self, image_view: ImageView, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_render_pass(
&self,
renderpass: RenderPass,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_render_pass( &self, renderpass: RenderPass, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_framebuffer(
&self,
framebuffer: Framebuffer,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_framebuffer( &self, framebuffer: Framebuffer, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_pipeline_layout(
&self,
pipeline_layout: PipelineLayout,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_pipeline_layout( &self, pipeline_layout: PipelineLayout, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_pipeline_cache(
&self,
pipeline_cache: PipelineCache,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_pipeline_cache( &self, pipeline_cache: PipelineCache, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_buffer(
&self,
buffer: Buffer,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_buffer( &self, buffer: Buffer, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_shader_module(
&self,
shader: ShaderModule,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_shader_module( &self, shader: ShaderModule, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_pipeline(
&self,
pipeline: Pipeline,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_pipeline( &self, pipeline: Pipeline, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_semaphore(
&self,
semaphore: Semaphore,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_semaphore( &self, semaphore: Semaphore, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_descriptor_pool(
&self,
pool: DescriptorPool,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_descriptor_pool( &self, pool: DescriptorPool, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_query_pool(
&self,
pool: QueryPool,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_query_pool( &self, pool: QueryPool, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_descriptor_set_layout(
&self,
layout: DescriptorSetLayout,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_descriptor_set_layout( &self, layout: DescriptorSetLayout, allocation_callbacks: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn free_descriptor_sets(
&self,
pool: DescriptorPool,
descriptor_sets: &[DescriptorSet],
) -> VkResult<()>
pub unsafe fn free_descriptor_sets( &self, pool: DescriptorPool, descriptor_sets: &[DescriptorSet], ) -> VkResult<()>
sourcepub unsafe fn update_descriptor_sets(
&self,
descriptor_writes: &[WriteDescriptorSet<'_>],
descriptor_copies: &[CopyDescriptorSet<'_>],
)
pub unsafe fn update_descriptor_sets( &self, descriptor_writes: &[WriteDescriptorSet<'_>], descriptor_copies: &[CopyDescriptorSet<'_>], )
sourcepub unsafe fn create_sampler(
&self,
create_info: &SamplerCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<Sampler>
pub unsafe fn create_sampler( &self, create_info: &SamplerCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<Sampler>
sourcepub unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageBlit],
filter: Filter,
)
pub unsafe fn cmd_blit_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageBlit], filter: Filter, )
sourcepub unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageResolve],
)
pub unsafe fn cmd_resolve_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageResolve], )
sourcepub unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
size: DeviceSize,
data: u32,
)
pub unsafe fn cmd_fill_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, data: u32, )
sourcepub unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
data: &[u8],
)
pub unsafe fn cmd_update_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, data: &[u8], )
sourcepub unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[BufferCopy],
)
pub unsafe fn cmd_copy_buffer( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_buffer: Buffer, regions: &[BufferCopy], )
sourcepub unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[BufferImageCopy],
)
pub unsafe fn cmd_copy_image_to_buffer( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, regions: &[BufferImageCopy], )
sourcepub unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[BufferImageCopy],
)
pub unsafe fn cmd_copy_buffer_to_image( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_image: Image, dst_image_layout: ImageLayout, regions: &[BufferImageCopy], )
sourcepub unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageCopy],
)
pub unsafe fn cmd_copy_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageCopy], )
sourcepub unsafe fn allocate_descriptor_sets(
&self,
allocate_info: &DescriptorSetAllocateInfo<'_>,
) -> VkResult<Vec<DescriptorSet>>
pub unsafe fn allocate_descriptor_sets( &self, allocate_info: &DescriptorSetAllocateInfo<'_>, ) -> VkResult<Vec<DescriptorSet>>
sourcepub unsafe fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<DescriptorSetLayout>
pub unsafe fn create_descriptor_set_layout( &self, create_info: &DescriptorSetLayoutCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<DescriptorSetLayout>
sourcepub unsafe fn device_wait_idle(&self) -> VkResult<()>
pub unsafe fn device_wait_idle(&self) -> VkResult<()>
sourcepub unsafe fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<DescriptorPool>
pub unsafe fn create_descriptor_pool( &self, create_info: &DescriptorPoolCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<DescriptorPool>
sourcepub unsafe fn reset_descriptor_pool(
&self,
pool: DescriptorPool,
flags: DescriptorPoolResetFlags,
) -> VkResult<()>
pub unsafe fn reset_descriptor_pool( &self, pool: DescriptorPool, flags: DescriptorPoolResetFlags, ) -> VkResult<()>
sourcepub unsafe fn reset_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags,
) -> VkResult<()>
pub unsafe fn reset_command_pool( &self, command_pool: CommandPool, flags: CommandPoolResetFlags, ) -> VkResult<()>
sourcepub unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags,
) -> VkResult<()>
pub unsafe fn reset_command_buffer( &self, command_buffer: CommandBuffer, flags: CommandBufferResetFlags, ) -> VkResult<()>
sourcepub unsafe fn reset_fences(&self, fences: &[Fence]) -> VkResult<()>
pub unsafe fn reset_fences(&self, fences: &[Fence]) -> VkResult<()>
sourcepub unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType,
)
pub unsafe fn cmd_bind_index_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType, )
sourcepub unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_color_value: &ClearColorValue,
ranges: &[ImageSubresourceRange],
)
pub unsafe fn cmd_clear_color_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, clear_color_value: &ClearColorValue, ranges: &[ImageSubresourceRange], )
sourcepub unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_depth_stencil_value: &ClearDepthStencilValue,
ranges: &[ImageSubresourceRange],
)
pub unsafe fn cmd_clear_depth_stencil_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, clear_depth_stencil_value: &ClearDepthStencilValue, ranges: &[ImageSubresourceRange], )
sourcepub unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachments: &[ClearAttachment],
rects: &[ClearRect],
)
pub unsafe fn cmd_clear_attachments( &self, command_buffer: CommandBuffer, attachments: &[ClearAttachment], rects: &[ClearRect], )
sourcepub unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32,
)
pub unsafe fn cmd_draw_indexed( &self, command_buffer: CommandBuffer, index_count: u32, instance_count: u32, first_index: u32, vertex_offset: i32, first_instance: u32, )
sourcepub unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32,
)
pub unsafe fn cmd_draw_indexed_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, )
sourcepub unsafe fn cmd_execute_commands(
&self,
primary_command_buffer: CommandBuffer,
secondary_command_buffers: &[CommandBuffer],
)
pub unsafe fn cmd_execute_commands( &self, primary_command_buffer: CommandBuffer, secondary_command_buffers: &[CommandBuffer], )
sourcepub 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],
)
pub 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], )
sourcepub 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,
)
pub 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, )
sourcepub unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8],
)
pub unsafe fn cmd_push_constants( &self, command_buffer: CommandBuffer, layout: PipelineLayout, stage_flags: ShaderStageFlags, offset: u32, constants: &[u8], )
sourcepub unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo<'_>,
contents: SubpassContents,
)
pub unsafe fn cmd_begin_render_pass( &self, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo<'_>, contents: SubpassContents, )
sourcepub unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents,
)
pub unsafe fn cmd_next_subpass( &self, command_buffer: CommandBuffer, contents: SubpassContents, )
sourcepub unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline,
)
pub unsafe fn cmd_bind_pipeline( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, )
sourcepub unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[Rect2D],
)
pub unsafe fn cmd_set_scissor( &self, command_buffer: CommandBuffer, first_scissor: u32, scissors: &[Rect2D], )
sourcepub unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32,
)
pub unsafe fn cmd_set_line_width( &self, command_buffer: CommandBuffer, line_width: f32, )
sourcepub unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
)
pub unsafe fn cmd_bind_vertex_buffers( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], )
sourcepub unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
pub unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
sourcepub unsafe fn cmd_draw(
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32,
)
pub unsafe fn cmd_draw( &self, command_buffer: CommandBuffer, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32, )
sourcepub unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32,
)
pub unsafe fn cmd_draw_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, )
sourcepub unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32,
)
pub unsafe fn cmd_dispatch( &self, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, )
sourcepub unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
)
pub unsafe fn cmd_dispatch_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, )
sourcepub unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[Viewport],
)
pub unsafe fn cmd_set_viewport( &self, command_buffer: CommandBuffer, first_viewport: u32, viewports: &[Viewport], )
sourcepub unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
constant_factor: f32,
clamp: f32,
slope_factor: f32,
)
pub unsafe fn cmd_set_depth_bias( &self, command_buffer: CommandBuffer, constant_factor: f32, clamp: f32, slope_factor: f32, )
sourcepub unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: &[f32; 4],
)
pub unsafe fn cmd_set_blend_constants( &self, command_buffer: CommandBuffer, blend_constants: &[f32; 4], )
sourcepub unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32,
)
pub unsafe fn cmd_set_depth_bounds( &self, command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32, )
sourcepub unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32,
)
pub unsafe fn cmd_set_stencil_compare_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32, )
sourcepub unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32,
)
pub unsafe fn cmd_set_stencil_write_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32, )
sourcepub unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32,
)
pub unsafe fn cmd_set_stencil_reference( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32, )
sourcepub unsafe fn get_query_pool_results<T>(
&self,
query_pool: QueryPool,
first_query: u32,
data: &mut [T],
flags: QueryResultFlags,
) -> VkResult<()>
pub unsafe fn get_query_pool_results<T>( &self, query_pool: QueryPool, first_query: u32, data: &mut [T], flags: QueryResultFlags, ) -> VkResult<()>
sourcepub unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags,
)
pub unsafe fn cmd_begin_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, )
sourcepub unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
)
pub unsafe fn cmd_end_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, )
sourcepub unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
pool: QueryPool,
first_query: u32,
query_count: u32,
)
pub unsafe fn cmd_reset_query_pool( &self, command_buffer: CommandBuffer, pool: QueryPool, first_query: u32, query_count: u32, )
sourcepub unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32,
)
pub unsafe fn cmd_write_timestamp( &self, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlags, query_pool: QueryPool, query: u32, )
sourcepub unsafe fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo<'_>,
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> VkResult<Semaphore>
pub unsafe fn create_semaphore( &self, create_info: &SemaphoreCreateInfo<'_>, allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> VkResult<Semaphore>
sourcepub unsafe fn create_graphics_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[GraphicsPipelineCreateInfo<'_>],
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
pub unsafe fn create_graphics_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[GraphicsPipelineCreateInfo<'_>], allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateGraphicsPipelines.html
Pipelines are created and returned as described for Multiple Pipeline Creation.
sourcepub unsafe fn create_compute_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[ComputePipelineCreateInfo<'_>],
allocation_callbacks: Option<&AllocationCallbacks<'_>>,
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
pub unsafe fn create_compute_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[ComputePipelineCreateInfo<'_>], allocation_callbacks: Option<&AllocationCallbacks<'_>>, ) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateComputePipelines.html
Pipelines are created and returned as described for Multiple Pipeline Creation.