vk · Unions · D1
5 public declarations with native signatures and source-owned contracts.
Unvk::DescriptorDataEXT
pub union DescriptorDataEXT<'a> {
pub p_sampler: *const Sampler,
pub p_combined_image_sampler: *const DescriptorImageInfo,
pub p_input_attachment_image: *const DescriptorImageInfo,
pub p_sampled_image: *const DescriptorImageInfo,
pub p_storage_image: *const DescriptorImageInfo,
pub p_uniform_texel_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_storage_texel_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_uniform_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_storage_buffer: *const DescriptorAddressInfoEXT<'a>,
pub acceleration_structure: DeviceAddress,
/* private fields */
}Contract
Native union VkDescriptorDataEXT.
Fields
p_sampler
p_sampler: *const SamplerNative field pSampler.
p_combined_image_sampler
p_combined_image_sampler: *const DescriptorImageInfoNative field pCombinedImageSampler.
p_input_attachment_image
p_input_attachment_image: *const DescriptorImageInfoNative field pInputAttachmentImage.
p_sampled_image
p_sampled_image: *const DescriptorImageInfoNative field pSampledImage.
p_storage_image
p_storage_image: *const DescriptorImageInfoNative field pStorageImage.
p_uniform_texel_buffer
p_uniform_texel_buffer: *const DescriptorAddressInfoEXT<'a>Native field pUniformTexelBuffer.
p_storage_texel_buffer
p_storage_texel_buffer: *const DescriptorAddressInfoEXT<'a>Native field pStorageTexelBuffer.
p_uniform_buffer
p_uniform_buffer: *const DescriptorAddressInfoEXT<'a>Native field pUniformBuffer.
p_storage_buffer
p_storage_buffer: *const DescriptorAddressInfoEXT<'a>Native field pStorageBuffer.
acceleration_structure
acceleration_structure: DeviceAddressNative field accelerationStructure.
Methods and associated items
new
Construct the record with its default native state.
set_sampler
Set native field pSampler without native effects.
set_combined_image_sampler
Set native field pCombinedImageSampler without native effects.
set_input_attachment_image
Set native field pInputAttachmentImage without native effects.
set_sampled_image
Set native field pSampledImage without native effects.
set_storage_image
Set native field pStorageImage without native effects.
set_uniform_texel_buffer
Set native field pUniformTexelBuffer without native effects.
set_storage_texel_buffer
Set native field pStorageTexelBuffer without native effects.
set_uniform_buffer
Set native field pUniformBuffer without native effects.
set_storage_buffer
Set native field pStorageBuffer without native effects.
set_acceleration_structure
Set native field accelerationStructure without native effects.
clone
default
Unvk::DescriptorMappingSourceDataEXT
pub union DescriptorMappingSourceDataEXT<'a> {
pub constant_offset: DescriptorMappingSourceConstantOffsetEXT<'a>,
pub push_index: DescriptorMappingSourcePushIndexEXT<'a>,
pub indirect_index: DescriptorMappingSourceIndirectIndexEXT<'a>,
pub indirect_index_array: DescriptorMappingSourceIndirectIndexArrayEXT<'a>,
pub heap_data: DescriptorMappingSourceHeapDataEXT,
pub push_data_offset: u32,
pub push_address_offset: u32,
pub indirect_address: DescriptorMappingSourceIndirectAddressEXT,
pub shader_record_index: DescriptorMappingSourceShaderRecordIndexEXT<'a>,
pub shader_record_data_offset: u32,
pub shader_record_address_offset: u32,
/* private fields */
}Contract
Native union VkDescriptorMappingSourceDataEXT.
Fields
constant_offset
constant_offset: DescriptorMappingSourceConstantOffsetEXT<'a>Native field constantOffset.
push_index
push_index: DescriptorMappingSourcePushIndexEXT<'a>Native field pushIndex.
indirect_index
indirect_index: DescriptorMappingSourceIndirectIndexEXT<'a>Native field indirectIndex.
indirect_index_array
indirect_index_array: DescriptorMappingSourceIndirectIndexArrayEXT<'a>Native field indirectIndexArray.
heap_data
heap_data: DescriptorMappingSourceHeapDataEXTNative field heapData.
push_data_offset
push_data_offset: u32Native field pushDataOffset.
push_address_offset
push_address_offset: u32Native field pushAddressOffset.
indirect_address
indirect_address: DescriptorMappingSourceIndirectAddressEXTNative field indirectAddress.
shader_record_index
shader_record_index: DescriptorMappingSourceShaderRecordIndexEXT<'a>Native field shaderRecordIndex.
shader_record_data_offset
shader_record_data_offset: u32Native field shaderRecordDataOffset.
shader_record_address_offset
shader_record_address_offset: u32Native field shaderRecordAddressOffset.
Methods and associated items
new
Construct the record with its default native state.
set_constant_offset
Set native field constantOffset without native effects.
set_push_index
Set native field pushIndex without native effects.
set_indirect_index
Set native field indirectIndex without native effects.
set_indirect_index_array
Set native field indirectIndexArray without native effects.
set_heap_data
Set native field heapData without native effects.
set_push_data_offset
Set native field pushDataOffset without native effects.
set_push_address_offset
Set native field pushAddressOffset without native effects.
set_indirect_address
Set native field indirectAddress without native effects.
set_shader_record_index
Set native field shaderRecordIndex without native effects.
set_shader_record_data_offset
Set native field shaderRecordDataOffset without native effects.
set_shader_record_address_offset
Set native field shaderRecordAddressOffset without native effects.
clone
default
Unvk::DeviceOrHostAddressConstAMDX
Contract
Native union VkDeviceOrHostAddressConstAMDX.
Fields
device_address
device_address: DeviceAddressNative field deviceAddress.
host_address
host_address: *const c_voidNative field hostAddress.
Methods and associated items
new
Construct the record with its default native state.
set_device_address
Set native field deviceAddress without native effects.
set_host_address
Set native pointer hostAddress explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
clone
default
Unvk::DeviceOrHostAddressConstKHR
Contract
Native union VkDeviceOrHostAddressConstKHR.
Fields
device_address
device_address: DeviceAddressNative field deviceAddress.
host_address
host_address: *const c_voidNative field hostAddress.
Methods and associated items
new
Construct the record with its default native state.
set_device_address
Set native field deviceAddress without native effects.
set_host_address
Set native pointer hostAddress explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
clone
default
Unvk::DeviceOrHostAddressKHR
Contract
Native union VkDeviceOrHostAddressKHR.
Fields
device_address
device_address: DeviceAddressNative field deviceAddress.
host_address
host_address: *mut c_voidNative field hostAddress.
Methods and associated items
new
Construct the record with its default native state.
set_device_address
Set native field deviceAddress without native effects.
set_host_address
Set native pointer hostAddress explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.