vk · Structs · C6
16 public declarations with native signatures and source-owned contracts.
Stvk::CopyCommandTransformInfoQCOM
Contract
Native structure VkCopyCommandTransformInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
transform
transform: SurfaceTransformFlagBitsKHRNative field transform.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_transform
Set native field transform without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyDescriptorSet
Contract
Native structure VkCopyDescriptorSet.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_set
src_set: DescriptorSetNative field srcSet.
src_binding
src_binding: u32Native field srcBinding.
src_array_element
src_array_element: u32Native field srcArrayElement.
dst_set
dst_set: DescriptorSetNative field dstSet.
dst_binding
dst_binding: u32Native field dstBinding.
dst_array_element
dst_array_element: u32Native field dstArrayElement.
descriptor_count
descriptor_count: u32Native field descriptorCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_set
Set native field srcSet without native effects.
set_src_binding
Set native field srcBinding without native effects.
set_src_array_element
Set native field srcArrayElement without native effects.
set_dst_set
Set native field dstSet without native effects.
set_dst_binding
Set native field dstBinding without native effects.
set_dst_array_element
Set native field dstArrayElement without native effects.
set_descriptor_count
Set native field descriptorCount without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyDeviceMemoryImageInfoKHR
Contract
Native structure VkCopyDeviceMemoryImageInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const DeviceMemoryImageCopyKHR<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyDeviceMemoryInfoKHR
Contract
Native structure VkCopyDeviceMemoryInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const DeviceMemoryCopyKHR<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyImageInfo2
Contract
Native structure VkCopyImageInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_image
src_image: ImageNative field srcImage.
src_image_layout
src_image_layout: ImageLayoutNative field srcImageLayout.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const ImageCopy2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_image
Set native field srcImage without native effects.
set_src_image_layout
Set native field srcImageLayout without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyImageToBufferInfo2
Contract
Native structure VkCopyImageToBufferInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_image
src_image: ImageNative field srcImage.
src_image_layout
src_image_layout: ImageLayoutNative field srcImageLayout.
dst_buffer
dst_buffer: BufferNative field dstBuffer.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const BufferImageCopy2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_image
Set native field srcImage without native effects.
set_src_image_layout
Set native field srcImageLayout without native effects.
set_dst_buffer
Set native field dstBuffer without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyImageToImageInfo
pub struct CopyImageToImageInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: HostImageCopyFlags,
pub src_image: Image,
pub src_image_layout: ImageLayout,
pub dst_image: Image,
pub dst_image_layout: ImageLayout,
pub region_count: u32,
pub p_regions: *const ImageCopy2<'a>,
/* private fields */
}Contract
Native structure VkCopyImageToImageInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: HostImageCopyFlagsNative field flags.
src_image
src_image: ImageNative field srcImage.
src_image_layout
src_image_layout: ImageLayoutNative field srcImageLayout.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const ImageCopy2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_src_image
Set native field srcImage without native effects.
set_src_image_layout
Set native field srcImageLayout without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyImageToMemoryInfo
Contract
Native structure VkCopyImageToMemoryInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: HostImageCopyFlagsNative field flags.
src_image
src_image: ImageNative field srcImage.
src_image_layout
src_image_layout: ImageLayoutNative field srcImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const ImageToMemoryCopy<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_src_image
Set native field srcImage without native effects.
set_src_image_layout
Set native field srcImageLayout without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMemoryIndirectCommandKHR
Contract
Native structure VkCopyMemoryIndirectCommandKHR.
Fields
src_address
src_address: DeviceAddressNative field srcAddress.
dst_address
dst_address: DeviceAddressNative field dstAddress.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its default native state.
set_src_address
Set native field srcAddress without native effects.
set_dst_address
Set native field dstAddress without native effects.
set_size
Set native field size without native effects.
clone
default
Stvk::CopyMemoryIndirectInfoKHR
Contract
Native structure VkCopyMemoryIndirectInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_copy_flags
src_copy_flags: AddressCopyFlagsKHRNative field srcCopyFlags.
dst_copy_flags
dst_copy_flags: AddressCopyFlagsKHRNative field dstCopyFlags.
copy_count
copy_count: u32Native field copyCount.
copy_address_range
copy_address_range: StridedDeviceAddressRangeKHRNative field copyAddressRange.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_copy_flags
Set native field srcCopyFlags without native effects.
set_dst_copy_flags
Set native field dstCopyFlags without native effects.
set_copy_count
Set native field copyCount without native effects.
set_copy_address_range
Set native field copyAddressRange without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMemoryToAccelerationStructureInfoKHR
Contract
Native structure VkCopyMemoryToAccelerationStructureInfoKHR.
Khronos reference: VkCopyMemoryToAccelerationStructureInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: DeviceOrHostAddressConstKHRNative field src.
dst
dst: AccelerationStructureKHRNative field dst.
mode
mode: CopyAccelerationStructureModeKHRNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src
Set native field src without native effects.
set_dst
Set native field dst without native effects.
set_mode
Set native field mode without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMemoryToImageIndirectCommandKHR
Contract
Native structure VkCopyMemoryToImageIndirectCommandKHR.
Fields
src_address
src_address: DeviceAddressNative field srcAddress.
buffer_row_length
buffer_row_length: u32Native field bufferRowLength.
buffer_image_height
buffer_image_height: u32Native field bufferImageHeight.
image_subresource
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_offset
image_offset: Offset3DNative field imageOffset.
image_extent
image_extent: Extent3DNative field imageExtent.
Methods and associated items
new
Construct the record with its default native state.
set_src_address
Set native field srcAddress without native effects.
set_buffer_row_length
Set native field bufferRowLength without native effects.
set_buffer_image_height
Set native field bufferImageHeight without native effects.
set_image_subresource
Set native field imageSubresource without native effects.
set_image_offset
Set native field imageOffset without native effects.
set_image_extent
Set native field imageExtent without native effects.
clone
default
Stvk::CopyMemoryToImageIndirectInfoKHR
pub struct CopyMemoryToImageIndirectInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_copy_flags: AddressCopyFlagsKHR,
pub copy_count: u32,
pub copy_address_range: StridedDeviceAddressRangeKHR,
pub dst_image: Image,
pub dst_image_layout: ImageLayout,
pub p_image_subresources: *const ImageSubresourceLayers,
/* private fields */
}Contract
Native structure VkCopyMemoryToImageIndirectInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_copy_flags
src_copy_flags: AddressCopyFlagsKHRNative field srcCopyFlags.
copy_count
copy_count: u32Native field copyCount.
copy_address_range
copy_address_range: StridedDeviceAddressRangeKHRNative field copyAddressRange.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
p_image_subresources
p_image_subresources: *const ImageSubresourceLayersNative field pImageSubresources.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_copy_flags
Set native field srcCopyFlags without native effects.
set_copy_count
Set native count copyCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_copy_address_range
Set native field copyAddressRange without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_image_subresources
Borrow pImageSubresources and set checked native count copyCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMemoryToImageInfo
Contract
Native structure VkCopyMemoryToImageInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: HostImageCopyFlagsNative field flags.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const MemoryToImageCopy<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMemoryToMicromapInfoEXT
Contract
Native structure VkCopyMemoryToMicromapInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: DeviceOrHostAddressConstKHRNative field src.
dst
dst: MicromapEXTNative field dst.
mode
mode: CopyMicromapModeEXTNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src
Set native field src without native effects.
set_dst
Set native field dst without native effects.
set_mode
Set native field mode without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::CopyMicromapInfoEXT
Contract
Native structure VkCopyMicromapInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: MicromapEXTNative field src.
dst
dst: MicromapEXTNative field dst.
mode
mode: CopyMicromapModeEXTNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src
Set native field src without native effects.
set_dst
Set native field dst without native effects.
set_mode
Set native field mode without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.