Realm

vk · Type aliases · P54

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

TyRustExperimental

Tyvk::PFN_vkVoidFunction

Contract

Nullable native callback PFN_vkVoidFunction.

Khronos reference: PFN_vkVoidFunction

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn())

Some value of type T.

Tyvk::PFN_vkWaitForFences

pub type PFN_vkWaitForFences = Option<unsafe extern "system" fn(device: DeviceHandle, fence_count: u32, p_fences: *const Fence, wait_all: Bool32, timeout: u64) -> Result>;
Nullable function pointer for vkWaitForFences.

Contract

Nullable function pointer for vkWaitForFences.

Khronos reference: vkWaitForFences

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const Fence, u32, u64) -> Result)

Some value of type T.

Tyvk::PFN_vkWaitForPresent2KHR

pub type PFN_vkWaitForPresent2KHR = Option<unsafe extern "system" fn(device: DeviceHandle, swapchain: SwapchainKHR, p_present_wait2_info: *const PresentWait2InfoKHR<'_>) -> Result>;
Nullable function pointer for vkWaitForPresent2KHR.

Contract

Nullable function pointer for vkWaitForPresent2KHR.

Khronos reference: vkWaitForPresent2KHR

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PFN_vkWaitForPresentKHR

pub type PFN_vkWaitForPresentKHR = Option<unsafe extern "system" fn(device: DeviceHandle, swapchain: SwapchainKHR, present_id: u64, timeout: u64) -> Result>;
Nullable function pointer for vkWaitForPresentKHR.

Contract

Nullable function pointer for vkWaitForPresentKHR.

Khronos reference: vkWaitForPresentKHR

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PFN_vkWaitSemaphores

pub type PFN_vkWaitSemaphores = Option<unsafe extern "system" fn(device: DeviceHandle, p_wait_info: *const SemaphoreWaitInfo<'_>, timeout: u64) -> Result>;
Nullable function pointer for vkWaitSemaphores.

Contract

Nullable function pointer for vkWaitSemaphores.

Khronos reference: vkWaitSemaphores

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PFN_vkWaitSemaphoresKHR

Contract

Nullable function pointer for vkWaitSemaphoresKHR.

Khronos reference: vkWaitSemaphoresKHR

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PFN_vkWriteAccelerationStructuresPropertiesKHR

pub type PFN_vkWriteAccelerationStructuresPropertiesKHR = Option<unsafe extern "system" fn(device: DeviceHandle, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize) -> Result>;
Nullable function pointer for vkWriteAccelerationStructuresPropertiesKHR.

Contract

Nullable function pointer for vkWriteAccelerationStructuresPropertiesKHR.

Khronos reference: vkWriteAccelerationStructuresPropertiesKHR

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const AccelerationStructureKHR, QueryType, usize, *mut c_void, usize) -> Result)

Some value of type T.

Tyvk::PFN_vkWriteMicromapsPropertiesEXT

pub type PFN_vkWriteMicromapsPropertiesEXT = Option<unsafe extern "system" fn(device: DeviceHandle, micromap_count: u32, p_micromaps: *const MicromapEXT, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize) -> Result>;
Nullable function pointer for vkWriteMicromapsPropertiesEXT.

Contract

Nullable function pointer for vkWriteMicromapsPropertiesEXT.

Khronos reference: vkWriteMicromapsPropertiesEXT

Variants

None

Variant
None

No value.

Some

Variant
Some(unsafe extern "system" fn(DeviceHandle, u32, *const MicromapEXT, QueryType, usize, *mut c_void, usize) -> Result)

Some value of type T.

Tyvk::PFN_vkWriteResourceDescriptorsEXT

pub type PFN_vkWriteResourceDescriptorsEXT = Option<unsafe extern "system" fn(device: DeviceHandle, resource_count: u32, p_resources: *const ResourceDescriptorInfoEXT<'_>, p_descriptors: *const HostAddressRangeEXT<'_>) -> Result>;
Nullable function pointer for vkWriteResourceDescriptorsEXT.

Contract

Nullable function pointer for vkWriteResourceDescriptorsEXT.

Khronos reference: vkWriteResourceDescriptorsEXT

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PFN_vkWriteSamplerDescriptorsEXT

pub type PFN_vkWriteSamplerDescriptorsEXT = Option<unsafe extern "system" fn(device: DeviceHandle, sampler_count: u32, p_samplers: *const SamplerCreateInfo<'_>, p_descriptors: *const HostAddressRangeEXT<'_>) -> Result>;
Nullable function pointer for vkWriteSamplerDescriptorsEXT.

Contract

Nullable function pointer for vkWriteSamplerDescriptorsEXT.

Khronos reference: vkWriteSamplerDescriptorsEXT

Variants

None

Variant
None

No value.

Some

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

Some value of type T.

Tyvk::PhysicalDevice16BitStorageFeaturesKHR

Contract

Native type VkPhysicalDevice16BitStorageFeaturesKHR.

Khronos reference: VkPhysicalDevice16BitStorageFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

storage_buffer16_bit_access

Field
storage_buffer16_bit_access: u32

Native field storageBuffer16BitAccess.

uniform_and_storage_buffer16_bit_access

Field
uniform_and_storage_buffer16_bit_access: u32

Native field uniformAndStorageBuffer16BitAccess.

storage_push_constant16

Field
storage_push_constant16: u32

Native field storagePushConstant16.

storage_input_output16

Field
storage_input_output16: u32

Native field storageInputOutput16.

Tyvk::PhysicalDevice8BitStorageFeaturesKHR

Contract

Native type VkPhysicalDevice8BitStorageFeaturesKHR.

Khronos reference: VkPhysicalDevice8BitStorageFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

storage_buffer8_bit_access

Field
storage_buffer8_bit_access: u32

Native field storageBuffer8BitAccess.

uniform_and_storage_buffer8_bit_access

Field
uniform_and_storage_buffer8_bit_access: u32

Native field uniformAndStorageBuffer8BitAccess.

storage_push_constant8

Field
storage_push_constant8: u32

Native field storagePushConstant8.

Tyvk::PhysicalDeviceBufferAddressFeaturesEXT

Contract

Native type VkPhysicalDeviceBufferAddressFeaturesEXT.

Khronos reference: VkPhysicalDeviceBufferAddressFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

buffer_device_address

Field
buffer_device_address: u32

Native field bufferDeviceAddress.

buffer_device_address_capture_replay

Field
buffer_device_address_capture_replay: u32

Native field bufferDeviceAddressCaptureReplay.

buffer_device_address_multi_device

Field
buffer_device_address_multi_device: u32

Native field bufferDeviceAddressMultiDevice.

Tyvk::PhysicalDeviceBufferDeviceAddressFeaturesKHR

Contract

Native type VkPhysicalDeviceBufferDeviceAddressFeaturesKHR.

Khronos reference: VkPhysicalDeviceBufferDeviceAddressFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

buffer_device_address

Field
buffer_device_address: u32

Native field bufferDeviceAddress.

buffer_device_address_capture_replay

Field
buffer_device_address_capture_replay: u32

Native field bufferDeviceAddressCaptureReplay.

buffer_device_address_multi_device

Field
buffer_device_address_multi_device: u32

Native field bufferDeviceAddressMultiDevice.

Tyvk::PhysicalDeviceComputeShaderDerivativesFeaturesNV

Contract

Native type VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.

Khronos reference: VkPhysicalDeviceComputeShaderDerivativesFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

compute_derivative_group_quads

Field
compute_derivative_group_quads: u32

Native field computeDerivativeGroupQuads.

compute_derivative_group_linear

Field
compute_derivative_group_linear: u32

Native field computeDerivativeGroupLinear.

Tyvk::PhysicalDeviceCopyMemoryIndirectPropertiesNV

Contract

Native type VkPhysicalDeviceCopyMemoryIndirectPropertiesNV.

Khronos reference: VkPhysicalDeviceCopyMemoryIndirectPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

supported_queues

Field
supported_queues: QueueFlagBits

Native field supportedQueues.