Realm

vk · Structs · C6

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

StRustExperimental

Stvk::CopyCommandTransformInfoQCOM

pub struct CopyCommandTransformInfoQCOM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub transform: SurfaceTransformFlagBitsKHR, /* private fields */ }
Native structure VkCopyCommandTransformInfoQCOM.

Contract

Native structure VkCopyCommandTransformInfoQCOM.

Khronos reference: VkCopyCommandTransformInfoQCOM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

transform

Field
transform: SurfaceTransformFlagBitsKHR

Native field transform.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_transform

Method
pub fn set_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self

Set native field transform without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyDescriptorSet

pub struct CopyDescriptorSet<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_set: DescriptorSet, pub src_binding: u32, pub src_array_element: u32, pub dst_set: DescriptorSet, pub dst_binding: u32, pub dst_array_element: u32, pub descriptor_count: u32, /* private fields */ }
Native structure VkCopyDescriptorSet.

Contract

Native structure VkCopyDescriptorSet.

Khronos reference: VkCopyDescriptorSet

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_set

Field
src_set: DescriptorSet

Native field srcSet.

src_binding

Field
src_binding: u32

Native field srcBinding.

src_array_element

Field
src_array_element: u32

Native field srcArrayElement.

dst_set

Field
dst_set: DescriptorSet

Native field dstSet.

dst_binding

Field
dst_binding: u32

Native field dstBinding.

dst_array_element

Field
dst_array_element: u32

Native field dstArrayElement.

descriptor_count

Field
descriptor_count: u32

Native field descriptorCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_set

Method
pub fn set_src_set(self, value: DescriptorSet) -> Self

Set native field srcSet without native effects.

set_src_binding

Method
pub fn set_src_binding(self, value: u32) -> Self

Set native field srcBinding without native effects.

set_src_array_element

Method
pub fn set_src_array_element(self, value: u32) -> Self

Set native field srcArrayElement without native effects.

set_dst_set

Method
pub fn set_dst_set(self, value: DescriptorSet) -> Self

Set native field dstSet without native effects.

set_dst_binding

Method
pub fn set_dst_binding(self, value: u32) -> Self

Set native field dstBinding without native effects.

set_dst_array_element

Method
pub fn set_dst_array_element(self, value: u32) -> Self

Set native field dstArrayElement without native effects.

set_descriptor_count

Method
pub fn set_descriptor_count(self, value: u32) -> Self

Set native field descriptorCount without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyDeviceMemoryImageInfoKHR

pub struct CopyDeviceMemoryImageInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub image: Image, pub region_count: u32, pub p_regions: *const DeviceMemoryImageCopyKHR<'a>, /* private fields */ }
Native structure VkCopyDeviceMemoryImageInfoKHR.

Contract

Native structure VkCopyDeviceMemoryImageInfoKHR.

Khronos reference: VkCopyDeviceMemoryImageInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

image

Field
image: Image

Native field image.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const DeviceMemoryImageCopyKHR<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_image

Method
pub fn set_image(self, value: Image) -> Self

Set native field image without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [DeviceMemoryImageCopyKHR<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyDeviceMemoryInfoKHR

pub struct CopyDeviceMemoryInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub region_count: u32, pub p_regions: *const DeviceMemoryCopyKHR<'a>, /* private fields */ }
Native structure VkCopyDeviceMemoryInfoKHR.

Contract

Native structure VkCopyDeviceMemoryInfoKHR.

Khronos reference: VkCopyDeviceMemoryInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const DeviceMemoryCopyKHR<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [DeviceMemoryCopyKHR<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyImageInfo2

pub struct CopyImageInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, 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 */ }
Native structure VkCopyImageInfo2.

Contract

Native structure VkCopyImageInfo2.

Khronos reference: VkCopyImageInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_image

Field
src_image: Image

Native field srcImage.

src_image_layout

Field
src_image_layout: ImageLayout

Native field srcImageLayout.

dst_image

Field
dst_image: Image

Native field dstImage.

dst_image_layout

Field
dst_image_layout: ImageLayout

Native field dstImageLayout.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const ImageCopy2<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_image

Method
pub fn set_src_image(self, value: Image) -> Self

Set native field srcImage without native effects.

set_src_image_layout

Method
pub fn set_src_image_layout(self, value: ImageLayout) -> Self

Set native field srcImageLayout without native effects.

set_dst_image

Method
pub fn set_dst_image(self, value: Image) -> Self

Set native field dstImage without native effects.

set_dst_image_layout

Method
pub fn set_dst_image_layout(self, value: ImageLayout) -> Self

Set native field dstImageLayout without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [ImageCopy2<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyImageToBufferInfo2

pub struct CopyImageToBufferInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_image: Image, pub src_image_layout: ImageLayout, pub dst_buffer: Buffer, pub region_count: u32, pub p_regions: *const BufferImageCopy2<'a>, /* private fields */ }
Native structure VkCopyImageToBufferInfo2.

Contract

Native structure VkCopyImageToBufferInfo2.

Khronos reference: VkCopyImageToBufferInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_image

Field
src_image: Image

Native field srcImage.

src_image_layout

Field
src_image_layout: ImageLayout

Native field srcImageLayout.

dst_buffer

Field
dst_buffer: Buffer

Native field dstBuffer.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const BufferImageCopy2<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_image

Method
pub fn set_src_image(self, value: Image) -> Self

Set native field srcImage without native effects.

set_src_image_layout

Method
pub fn set_src_image_layout(self, value: ImageLayout) -> Self

Set native field srcImageLayout without native effects.

set_dst_buffer

Method
pub fn set_dst_buffer(self, value: Buffer) -> Self

Set native field dstBuffer without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [BufferImageCopy2<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkCopyImageToImageInfo.

Contract

Native structure VkCopyImageToImageInfo.

Khronos reference: VkCopyImageToImageInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: HostImageCopyFlags

Native field flags.

src_image

Field
src_image: Image

Native field srcImage.

src_image_layout

Field
src_image_layout: ImageLayout

Native field srcImageLayout.

dst_image

Field
dst_image: Image

Native field dstImage.

dst_image_layout

Field
dst_image_layout: ImageLayout

Native field dstImageLayout.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const ImageCopy2<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: HostImageCopyFlags) -> Self

Set native field flags without native effects.

set_src_image

Method
pub fn set_src_image(self, value: Image) -> Self

Set native field srcImage without native effects.

set_src_image_layout

Method
pub fn set_src_image_layout(self, value: ImageLayout) -> Self

Set native field srcImageLayout without native effects.

set_dst_image

Method
pub fn set_dst_image(self, value: Image) -> Self

Set native field dstImage without native effects.

set_dst_image_layout

Method
pub fn set_dst_image_layout(self, value: ImageLayout) -> Self

Set native field dstImageLayout without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [ImageCopy2<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyImageToMemoryInfo

pub struct CopyImageToMemoryInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: HostImageCopyFlags, pub src_image: Image, pub src_image_layout: ImageLayout, pub region_count: u32, pub p_regions: *const ImageToMemoryCopy<'a>, /* private fields */ }
Native structure VkCopyImageToMemoryInfo.

Contract

Native structure VkCopyImageToMemoryInfo.

Khronos reference: VkCopyImageToMemoryInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: HostImageCopyFlags

Native field flags.

src_image

Field
src_image: Image

Native field srcImage.

src_image_layout

Field
src_image_layout: ImageLayout

Native field srcImageLayout.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const ImageToMemoryCopy<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: HostImageCopyFlags) -> Self

Set native field flags without native effects.

set_src_image

Method
pub fn set_src_image(self, value: Image) -> Self

Set native field srcImage without native effects.

set_src_image_layout

Method
pub fn set_src_image_layout(self, value: ImageLayout) -> Self

Set native field srcImageLayout without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [ImageToMemoryCopy<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMemoryIndirectCommandKHR

#[repr(C)]pub struct CopyMemoryIndirectCommandKHR { pub src_address: DeviceAddress, pub dst_address: DeviceAddress, pub size: DeviceSize, }
Native structure VkCopyMemoryIndirectCommandKHR.

Contract

Native structure VkCopyMemoryIndirectCommandKHR.

Khronos reference: VkCopyMemoryIndirectCommandKHR

Fields

src_address

Field
src_address: DeviceAddress

Native field srcAddress.

dst_address

Field
dst_address: DeviceAddress

Native field dstAddress.

size

Field
size: DeviceSize

Native field size.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_src_address

Method
pub fn set_src_address(self, value: DeviceAddress) -> Self

Set native field srcAddress without native effects.

set_dst_address

Method
pub fn set_dst_address(self, value: DeviceAddress) -> Self

Set native field dstAddress without native effects.

set_size

Method
pub fn set_size(self, value: DeviceSize) -> Self

Set native field size without native effects.

clone

Method
fn clone(&self) -> CopyMemoryIndirectCommandKHR
Returns a duplicate of the value. Read more

Stvk::CopyMemoryIndirectInfoKHR

pub struct CopyMemoryIndirectInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_copy_flags: AddressCopyFlagsKHR, pub dst_copy_flags: AddressCopyFlagsKHR, pub copy_count: u32, pub copy_address_range: StridedDeviceAddressRangeKHR, /* private fields */ }
Native structure VkCopyMemoryIndirectInfoKHR.

Contract

Native structure VkCopyMemoryIndirectInfoKHR.

Khronos reference: VkCopyMemoryIndirectInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_copy_flags

Field
src_copy_flags: AddressCopyFlagsKHR

Native field srcCopyFlags.

dst_copy_flags

Field
dst_copy_flags: AddressCopyFlagsKHR

Native field dstCopyFlags.

copy_count

Field
copy_count: u32

Native field copyCount.

copy_address_range

Field
copy_address_range: StridedDeviceAddressRangeKHR

Native field copyAddressRange.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_copy_flags

Method
pub fn set_src_copy_flags(self, value: AddressCopyFlagsKHR) -> Self

Set native field srcCopyFlags without native effects.

set_dst_copy_flags

Method
pub fn set_dst_copy_flags(self, value: AddressCopyFlagsKHR) -> Self

Set native field dstCopyFlags without native effects.

set_copy_count

Method
pub fn set_copy_count(self, value: u32) -> Self

Set native field copyCount without native effects.

set_copy_address_range

Method
pub fn set_copy_address_range(self, value: StridedDeviceAddressRangeKHR) -> Self

Set native field copyAddressRange without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMemoryToAccelerationStructureInfoKHR

pub struct CopyMemoryToAccelerationStructureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: DeviceOrHostAddressConstKHR, pub dst: AccelerationStructureKHR, pub mode: CopyAccelerationStructureModeKHR, /* private fields */ }
Native structure VkCopyMemoryToAccelerationStructureInfoKHR.

Contract

Native structure VkCopyMemoryToAccelerationStructureInfoKHR.

Khronos reference: VkCopyMemoryToAccelerationStructureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: DeviceOrHostAddressConstKHR

Native field src.

dst

Field
dst: AccelerationStructureKHR

Native field dst.

mode

Field
mode: CopyAccelerationStructureModeKHR

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src

Method
pub fn set_src(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field src without native effects.

set_dst

Method
pub fn set_dst(self, value: AccelerationStructureKHR) -> Self

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyAccelerationStructureModeKHR) -> Self

Set native field mode without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMemoryToImageIndirectCommandKHR

#[repr(C)]pub struct CopyMemoryToImageIndirectCommandKHR { pub src_address: DeviceAddress, pub buffer_row_length: u32, pub buffer_image_height: u32, pub image_subresource: ImageSubresourceLayers, pub image_offset: Offset3D, pub image_extent: Extent3D, }
Native structure VkCopyMemoryToImageIndirectCommandKHR.

Contract

Native structure VkCopyMemoryToImageIndirectCommandKHR.

Khronos reference: VkCopyMemoryToImageIndirectCommandKHR

Fields

src_address

Field
src_address: DeviceAddress

Native field srcAddress.

buffer_row_length

Field
buffer_row_length: u32

Native field bufferRowLength.

buffer_image_height

Field
buffer_image_height: u32

Native field bufferImageHeight.

image_subresource

Field
image_subresource: ImageSubresourceLayers

Native field imageSubresource.

image_offset

Field
image_offset: Offset3D

Native field imageOffset.

image_extent

Field
image_extent: Extent3D

Native field imageExtent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_src_address

Method
pub fn set_src_address(self, value: DeviceAddress) -> Self

Set native field srcAddress without native effects.

set_buffer_row_length

Method
pub fn set_buffer_row_length(self, value: u32) -> Self

Set native field bufferRowLength without native effects.

set_buffer_image_height

Method
pub fn set_buffer_image_height(self, value: u32) -> Self

Set native field bufferImageHeight without native effects.

set_image_subresource

Method
pub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self

Set native field imageSubresource without native effects.

set_image_offset

Method
pub fn set_image_offset(self, value: Offset3D) -> Self

Set native field imageOffset without native effects.

set_image_extent

Method
pub fn set_image_extent(self, value: Extent3D) -> Self

Set native field imageExtent without native effects.

clone

Method
fn clone(&self) -> CopyMemoryToImageIndirectCommandKHR
Returns a duplicate of the value. Read more

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 */ }
Native structure VkCopyMemoryToImageIndirectInfoKHR.

Contract

Native structure VkCopyMemoryToImageIndirectInfoKHR.

Khronos reference: VkCopyMemoryToImageIndirectInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_copy_flags

Field
src_copy_flags: AddressCopyFlagsKHR

Native field srcCopyFlags.

copy_count

Field
copy_count: u32

Native field copyCount.

copy_address_range

Field
copy_address_range: StridedDeviceAddressRangeKHR

Native field copyAddressRange.

dst_image

Field
dst_image: Image

Native field dstImage.

dst_image_layout

Field
dst_image_layout: ImageLayout

Native field dstImageLayout.

p_image_subresources

Field
p_image_subresources: *const ImageSubresourceLayers

Native field pImageSubresources.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_copy_flags

Method
pub fn set_src_copy_flags(self, value: AddressCopyFlagsKHR) -> Self

Set native field srcCopyFlags without native effects.

set_copy_count

Method
pub fn set_copy_count(self, value: u32) -> Self

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

Method
pub fn set_copy_address_range(self, value: StridedDeviceAddressRangeKHR) -> Self

Set native field copyAddressRange without native effects.

set_dst_image

Method
pub fn set_dst_image(self, value: Image) -> Self

Set native field dstImage without native effects.

set_dst_image_layout

Method
pub fn set_dst_image_layout(self, value: ImageLayout) -> Self

Set native field dstImageLayout without native effects.

set_image_subresources

Method
pub fn set_image_subresources( self, value: &'a [ImageSubresourceLayers], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMemoryToImageInfo

pub struct CopyMemoryToImageInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: HostImageCopyFlags, pub dst_image: Image, pub dst_image_layout: ImageLayout, pub region_count: u32, pub p_regions: *const MemoryToImageCopy<'a>, /* private fields */ }
Native structure VkCopyMemoryToImageInfo.

Contract

Native structure VkCopyMemoryToImageInfo.

Khronos reference: VkCopyMemoryToImageInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: HostImageCopyFlags

Native field flags.

dst_image

Field
dst_image: Image

Native field dstImage.

dst_image_layout

Field
dst_image_layout: ImageLayout

Native field dstImageLayout.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const MemoryToImageCopy<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: HostImageCopyFlags) -> Self

Set native field flags without native effects.

set_dst_image

Method
pub fn set_dst_image(self, value: Image) -> Self

Set native field dstImage without native effects.

set_dst_image_layout

Method
pub fn set_dst_image_layout(self, value: ImageLayout) -> Self

Set native field dstImageLayout without native effects.

set_region_count

Method
pub fn set_region_count(self, value: u32) -> Self

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

Method
pub fn set_regions( self, value: &'a [MemoryToImageCopy<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMemoryToMicromapInfoEXT

pub struct CopyMemoryToMicromapInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: DeviceOrHostAddressConstKHR, pub dst: MicromapEXT, pub mode: CopyMicromapModeEXT, /* private fields */ }
Native structure VkCopyMemoryToMicromapInfoEXT.

Contract

Native structure VkCopyMemoryToMicromapInfoEXT.

Khronos reference: VkCopyMemoryToMicromapInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: DeviceOrHostAddressConstKHR

Native field src.

dst

Field
dst: MicromapEXT

Native field dst.

mode

Field
mode: CopyMicromapModeEXT

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src

Method
pub fn set_src(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field src without native effects.

set_dst

Method
pub fn set_dst(self, value: MicromapEXT) -> Self

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyMicromapModeEXT) -> Self

Set native field mode without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::CopyMicromapInfoEXT

pub struct CopyMicromapInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: MicromapEXT, pub dst: MicromapEXT, pub mode: CopyMicromapModeEXT, /* private fields */ }
Native structure VkCopyMicromapInfoEXT.

Contract

Native structure VkCopyMicromapInfoEXT.

Khronos reference: VkCopyMicromapInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: MicromapEXT

Native field src.

dst

Field
dst: MicromapEXT

Native field dst.

mode

Field
mode: CopyMicromapModeEXT

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src

Method
pub fn set_src(self, value: MicromapEXT) -> Self

Set native field src without native effects.

set_dst

Method
pub fn set_dst(self, value: MicromapEXT) -> Self

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyMicromapModeEXT) -> Self

Set native field mode without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.