Realm

vk · Type aliases · P2

16 public declarations with native signatures and source-owned contracts.

TyRustExperimental

Tyvk::PFN_vkAllocateMemory

pub type PFN_vkAllocateMemory = Option<unsafe extern "system" fn(device: DeviceHandle, p_allocate_info: *const MemoryAllocateInfo<'_>, p_allocator: *const AllocationCallbacks, p_memory: *mut DeviceMemory) -> Result>;
Nullable function pointer for vkAllocateMemory.

Contract

Nullable function pointer for vkAllocateMemory.

Khronos reference: vkAllocateMemory

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, *const MemoryAllocateInfo<'_>, *const AllocationCallbacks, *mut DeviceMemory) -> Result)

Some value of type T.

Tyvk::PFN_vkAllocationFunction

pub type PFN_vkAllocationFunction = Option<unsafe extern "system" fn(p_user_data: *mut c_void, size: usize, alignment: usize, allocation_scope: SystemAllocationScope) -> *mut c_void>;
Nullable native callback PFN_vkAllocationFunction.

Contract

Nullable native callback PFN_vkAllocationFunction.

Khronos reference: PFN_vkAllocationFunction

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(*mut c_void, usize, usize, SystemAllocationScope) -> *mut c_void)

Some value of type T.

Tyvk::PFN_vkAntiLagUpdateAMD

Contract

Nullable function pointer for vkAntiLagUpdateAMD.

Khronos reference: vkAntiLagUpdateAMD

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, *const AntiLagDataAMD<'_>))

Some value of type T.

Tyvk::PFN_vkBeginCommandBuffer

pub type PFN_vkBeginCommandBuffer = Option<unsafe extern "system" fn(command_buffer: CommandBuffer, p_begin_info: *const CommandBufferBeginInfo<'_>) -> Result>;
Nullable function pointer for vkBeginCommandBuffer.

Contract

Nullable function pointer for vkBeginCommandBuffer.

Khronos reference: vkBeginCommandBuffer

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(CommandBuffer, *const CommandBufferBeginInfo<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindAccelerationStructureMemoryNV

pub type PFN_vkBindAccelerationStructureMemoryNV = Option<unsafe extern "system" fn(device: DeviceHandle, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoNV<'_>) -> Result>;
Nullable function pointer for vkBindAccelerationStructureMemoryNV.

Contract

Nullable function pointer for vkBindAccelerationStructureMemoryNV.

Khronos reference: vkBindAccelerationStructureMemoryNV

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindAccelerationStructureMemoryInfoNV<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindBufferMemory

pub type PFN_vkBindBufferMemory = Option<unsafe extern "system" fn(device: DeviceHandle, buffer: Buffer, memory: DeviceMemory, memory_offset: DeviceSize) -> Result>;
Nullable function pointer for vkBindBufferMemory.

Contract

Nullable function pointer for vkBindBufferMemory.

Khronos reference: vkBindBufferMemory

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, Buffer, DeviceMemory, u64) -> Result)

Some value of type T.

Tyvk::PFN_vkBindBufferMemory2

pub type PFN_vkBindBufferMemory2 = Option<unsafe extern "system" fn(device: DeviceHandle, bind_info_count: u32, p_bind_infos: *const BindBufferMemoryInfo<'_>) -> Result>;
Nullable function pointer for vkBindBufferMemory2.

Contract

Nullable function pointer for vkBindBufferMemory2.

Khronos reference: vkBindBufferMemory2

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindBufferMemoryInfo<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindBufferMemory2KHR

Contract

Nullable function pointer for vkBindBufferMemory2KHR.

Khronos reference: vkBindBufferMemory2KHR

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindBufferMemoryInfo<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindDataGraphPipelineSessionMemoryARM

pub type PFN_vkBindDataGraphPipelineSessionMemoryARM = Option<unsafe extern "system" fn(device: DeviceHandle, bind_info_count: u32, p_bind_infos: *const BindDataGraphPipelineSessionMemoryInfoARM<'_>) -> Result>;
Nullable function pointer for vkBindDataGraphPipelineSessionMemoryARM.

Contract

Nullable function pointer for vkBindDataGraphPipelineSessionMemoryARM.

Khronos reference: vkBindDataGraphPipelineSessionMemoryARM

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindDataGraphPipelineSessionMemoryInfoARM<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindImageMemory

pub type PFN_vkBindImageMemory = Option<unsafe extern "system" fn(device: DeviceHandle, image: Image, memory: DeviceMemory, memory_offset: DeviceSize) -> Result>;
Nullable function pointer for vkBindImageMemory.

Contract

Nullable function pointer for vkBindImageMemory.

Khronos reference: vkBindImageMemory

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, Image, DeviceMemory, u64) -> Result)

Some value of type T.

Tyvk::PFN_vkBindImageMemory2

pub type PFN_vkBindImageMemory2 = Option<unsafe extern "system" fn(device: DeviceHandle, bind_info_count: u32, p_bind_infos: *const BindImageMemoryInfo<'_>) -> Result>;
Nullable function pointer for vkBindImageMemory2.

Contract

Nullable function pointer for vkBindImageMemory2.

Khronos reference: vkBindImageMemory2

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindImageMemoryInfo<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindImageMemory2KHR

Contract

Nullable function pointer for vkBindImageMemory2KHR.

Khronos reference: vkBindImageMemory2KHR

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindImageMemoryInfo<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindOpticalFlowSessionImageNV

pub type PFN_vkBindOpticalFlowSessionImageNV = Option<unsafe extern "system" fn(device: DeviceHandle, session: OpticalFlowSessionNV, binding_point: OpticalFlowSessionBindingPointNV, view: ImageView, layout: ImageLayout) -> Result>;
Nullable function pointer for vkBindOpticalFlowSessionImageNV.

Contract

Nullable function pointer for vkBindOpticalFlowSessionImageNV.

Khronos reference: vkBindOpticalFlowSessionImageNV

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, OpticalFlowSessionNV, OpticalFlowSessionBindingPointNV, ImageView, ImageLayout) -> Result)

Some value of type T.

Tyvk::PFN_vkBindTensorMemoryARM

pub type PFN_vkBindTensorMemoryARM = Option<unsafe extern "system" fn(device: DeviceHandle, bind_info_count: u32, p_bind_infos: *const BindTensorMemoryInfoARM<'_>) -> Result>;
Nullable function pointer for vkBindTensorMemoryARM.

Contract

Nullable function pointer for vkBindTensorMemoryARM.

Khronos reference: vkBindTensorMemoryARM

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const BindTensorMemoryInfoARM<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBindVideoSessionMemoryKHR

pub type PFN_vkBindVideoSessionMemoryKHR = Option<unsafe extern "system" fn(device: DeviceHandle, video_session: VideoSessionKHR, bind_session_memory_info_count: u32, p_bind_session_memory_infos: *const BindVideoSessionMemoryInfoKHR<'_>) -> Result>;
Nullable function pointer for vkBindVideoSessionMemoryKHR.

Contract

Nullable function pointer for vkBindVideoSessionMemoryKHR.

Khronos reference: vkBindVideoSessionMemoryKHR

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, VideoSessionKHR, u32, *const BindVideoSessionMemoryInfoKHR<'_>) -> Result)

Some value of type T.

Tyvk::PFN_vkBuildAccelerationStructuresKHR

pub type PFN_vkBuildAccelerationStructuresKHR = Option<unsafe extern "system" fn(device: DeviceHandle, deferred_operation: DeferredOperationKHR, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR<'_>, pp_build_range_infos: *const *const AccelerationStructureBuildRangeInfoKHR) -> Result>;
Nullable function pointer for vkBuildAccelerationStructuresKHR.

Contract

Nullable function pointer for vkBuildAccelerationStructuresKHR.

Khronos reference: vkBuildAccelerationStructuresKHR

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, DeferredOperationKHR, u32, *const AccelerationStructureBuildGeometryInfoKHR<'_>, *const *const AccelerationStructureBuildRangeInfoKHR) -> Result)

Some value of type T.