Skip to main content

DeviceFnV1_3

Struct DeviceFnV1_3 

Source
pub struct DeviceFnV1_3 {
Show 36 fields pub create_private_data_slot: unsafe extern "system" fn(Device, *const PrivateDataSlotCreateInfo<'_>, *const AllocationCallbacks<'_>, *mut PrivateDataSlot) -> Result, pub destroy_private_data_slot: unsafe extern "system" fn(Device, PrivateDataSlot, *const AllocationCallbacks<'_>), pub set_private_data: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, u64) -> Result, pub get_private_data: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, *mut u64), pub cmd_set_event2: unsafe extern "system" fn(CommandBuffer, Event, *const DependencyInfo<'_>), pub cmd_reset_event2: unsafe extern "system" fn(CommandBuffer, Event, PipelineStageFlags2), pub cmd_wait_events2: unsafe extern "system" fn(CommandBuffer, u32, *const Event, *const DependencyInfo<'_>), pub cmd_pipeline_barrier2: unsafe extern "system" fn(CommandBuffer, *const DependencyInfo<'_>), pub cmd_write_timestamp2: unsafe extern "system" fn(CommandBuffer, PipelineStageFlags2, QueryPool, u32), pub queue_submit2: unsafe extern "system" fn(Queue, u32, *const SubmitInfo2<'_>, Fence) -> Result, pub cmd_copy_buffer2: unsafe extern "system" fn(CommandBuffer, *const CopyBufferInfo2<'_>), pub cmd_copy_image2: unsafe extern "system" fn(CommandBuffer, *const CopyImageInfo2<'_>), pub cmd_copy_buffer_to_image2: unsafe extern "system" fn(CommandBuffer, *const CopyBufferToImageInfo2<'_>), pub cmd_copy_image_to_buffer2: unsafe extern "system" fn(CommandBuffer, *const CopyImageToBufferInfo2<'_>), pub cmd_blit_image2: unsafe extern "system" fn(CommandBuffer, *const BlitImageInfo2<'_>), pub cmd_resolve_image2: unsafe extern "system" fn(CommandBuffer, *const ResolveImageInfo2<'_>), pub cmd_begin_rendering: unsafe extern "system" fn(CommandBuffer, *const RenderingInfo<'_>), pub cmd_end_rendering: unsafe extern "system" fn(CommandBuffer), pub cmd_set_cull_mode: unsafe extern "system" fn(CommandBuffer, CullModeFlags), pub cmd_set_front_face: unsafe extern "system" fn(CommandBuffer, FrontFace), pub cmd_set_primitive_topology: unsafe extern "system" fn(CommandBuffer, PrimitiveTopology), pub cmd_set_viewport_with_count: unsafe extern "system" fn(CommandBuffer, u32, *const Viewport), pub cmd_set_scissor_with_count: unsafe extern "system" fn(CommandBuffer, u32, *const Rect2D), pub cmd_bind_vertex_buffers2: unsafe extern "system" fn(CommandBuffer, u32, u32, *const Buffer, *const u64, *const u64, *const u64), pub cmd_set_depth_test_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_depth_write_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_depth_compare_op: unsafe extern "system" fn(CommandBuffer, CompareOp), pub cmd_set_depth_bounds_test_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_stencil_test_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_stencil_op: unsafe extern "system" fn(CommandBuffer, StencilFaceFlags, StencilOp, StencilOp, StencilOp, CompareOp), pub cmd_set_rasterizer_discard_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_depth_bias_enable: unsafe extern "system" fn(CommandBuffer, u32), pub cmd_set_primitive_restart_enable: unsafe extern "system" fn(CommandBuffer, u32), pub get_device_buffer_memory_requirements: unsafe extern "system" fn(Device, *const DeviceBufferMemoryRequirements<'_>, *mut MemoryRequirements2<'_>), pub get_device_image_memory_requirements: unsafe extern "system" fn(Device, *const DeviceImageMemoryRequirements<'_>, *mut MemoryRequirements2<'_>), pub get_device_image_sparse_memory_requirements: unsafe extern "system" fn(Device, *const DeviceImageMemoryRequirements<'_>, *mut u32, *mut SparseImageMemoryRequirements2<'_>),
}
Expand description

Raw Vulkan 1.3 device-level function pointers

Fields§

§create_private_data_slot: unsafe extern "system" fn(Device, *const PrivateDataSlotCreateInfo<'_>, *const AllocationCallbacks<'_>, *mut PrivateDataSlot) -> Result§destroy_private_data_slot: unsafe extern "system" fn(Device, PrivateDataSlot, *const AllocationCallbacks<'_>)§set_private_data: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, u64) -> Result§get_private_data: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, *mut u64)§cmd_set_event2: unsafe extern "system" fn(CommandBuffer, Event, *const DependencyInfo<'_>)§cmd_reset_event2: unsafe extern "system" fn(CommandBuffer, Event, PipelineStageFlags2)§cmd_wait_events2: unsafe extern "system" fn(CommandBuffer, u32, *const Event, *const DependencyInfo<'_>)§cmd_pipeline_barrier2: unsafe extern "system" fn(CommandBuffer, *const DependencyInfo<'_>)§cmd_write_timestamp2: unsafe extern "system" fn(CommandBuffer, PipelineStageFlags2, QueryPool, u32)§queue_submit2: unsafe extern "system" fn(Queue, u32, *const SubmitInfo2<'_>, Fence) -> Result§cmd_copy_buffer2: unsafe extern "system" fn(CommandBuffer, *const CopyBufferInfo2<'_>)§cmd_copy_image2: unsafe extern "system" fn(CommandBuffer, *const CopyImageInfo2<'_>)§cmd_copy_buffer_to_image2: unsafe extern "system" fn(CommandBuffer, *const CopyBufferToImageInfo2<'_>)§cmd_copy_image_to_buffer2: unsafe extern "system" fn(CommandBuffer, *const CopyImageToBufferInfo2<'_>)§cmd_blit_image2: unsafe extern "system" fn(CommandBuffer, *const BlitImageInfo2<'_>)§cmd_resolve_image2: unsafe extern "system" fn(CommandBuffer, *const ResolveImageInfo2<'_>)§cmd_begin_rendering: unsafe extern "system" fn(CommandBuffer, *const RenderingInfo<'_>)§cmd_end_rendering: unsafe extern "system" fn(CommandBuffer)§cmd_set_cull_mode: unsafe extern "system" fn(CommandBuffer, CullModeFlags)§cmd_set_front_face: unsafe extern "system" fn(CommandBuffer, FrontFace)§cmd_set_primitive_topology: unsafe extern "system" fn(CommandBuffer, PrimitiveTopology)§cmd_set_viewport_with_count: unsafe extern "system" fn(CommandBuffer, u32, *const Viewport)§cmd_set_scissor_with_count: unsafe extern "system" fn(CommandBuffer, u32, *const Rect2D)§cmd_bind_vertex_buffers2: unsafe extern "system" fn(CommandBuffer, u32, u32, *const Buffer, *const u64, *const u64, *const u64)§cmd_set_depth_test_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_depth_write_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_depth_compare_op: unsafe extern "system" fn(CommandBuffer, CompareOp)§cmd_set_depth_bounds_test_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_stencil_test_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_stencil_op: unsafe extern "system" fn(CommandBuffer, StencilFaceFlags, StencilOp, StencilOp, StencilOp, CompareOp)§cmd_set_rasterizer_discard_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_depth_bias_enable: unsafe extern "system" fn(CommandBuffer, u32)§cmd_set_primitive_restart_enable: unsafe extern "system" fn(CommandBuffer, u32)§get_device_buffer_memory_requirements: unsafe extern "system" fn(Device, *const DeviceBufferMemoryRequirements<'_>, *mut MemoryRequirements2<'_>)§get_device_image_memory_requirements: unsafe extern "system" fn(Device, *const DeviceImageMemoryRequirements<'_>, *mut MemoryRequirements2<'_>)§get_device_image_sparse_memory_requirements: unsafe extern "system" fn(Device, *const DeviceImageMemoryRequirements<'_>, *mut u32, *mut SparseImageMemoryRequirements2<'_>)

Implementations§

Trait Implementations§

Source§

impl Clone for DeviceFnV1_3

Source§

fn clone(&self) -> DeviceFnV1_3

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Send for DeviceFnV1_3

Source§

impl Sync for DeviceFnV1_3

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.