vk · Structs · D10
16 public declarations with native signatures and source-owned contracts.
Stvk::DeviceGroupPresentModeFlagBitsKHR
Contract
Open integer representation of VkDeviceGroupPresentModeFlagBitsKHR.
Fields
0
0: u32Methods and associated items
LOCAL_BIT_KHR
Native value VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR.
Khronos reference: VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR
REMOTE_BIT_KHR
Native value VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR.
Khronos reference: VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR
SUM_BIT_KHR
Native value VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR.
LOCAL_MULTI_DEVICE_BIT_KHR
Native value VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR.
Khronos reference: VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::DeviceGroupRenderPassBeginInfo
Contract
Native structure VkDeviceGroupRenderPassBeginInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_mask
device_mask: u32Native field deviceMask.
device_render_area_count
device_render_area_count: u32Native field deviceRenderAreaCount.
p_device_render_areas
p_device_render_areas: *const Rect2DNative field pDeviceRenderAreas.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_mask
Set native field deviceMask without native effects.
set_device_render_area_count
Set native count deviceRenderAreaCount 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_device_render_areas
Borrow pDeviceRenderAreas and set checked native count deviceRenderAreaCount.
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::DeviceGroupSubmitInfo
pub struct DeviceGroupSubmitInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub wait_semaphore_count: u32,
pub p_wait_semaphore_device_indices: *const u32,
pub command_buffer_count: u32,
pub p_command_buffer_device_masks: *const u32,
pub signal_semaphore_count: u32,
pub p_signal_semaphore_device_indices: *const u32,
/* private fields */
}Contract
Native structure VkDeviceGroupSubmitInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
wait_semaphore_count
wait_semaphore_count: u32Native field waitSemaphoreCount.
p_wait_semaphore_device_indices
p_wait_semaphore_device_indices: *const u32Native field pWaitSemaphoreDeviceIndices.
command_buffer_count
command_buffer_count: u32Native field commandBufferCount.
p_command_buffer_device_masks
p_command_buffer_device_masks: *const u32Native field pCommandBufferDeviceMasks.
signal_semaphore_count
signal_semaphore_count: u32Native field signalSemaphoreCount.
p_signal_semaphore_device_indices
p_signal_semaphore_device_indices: *const u32Native field pSignalSemaphoreDeviceIndices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_wait_semaphore_count
Set native count waitSemaphoreCount 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_wait_semaphore_device_indices
Borrow pWaitSemaphoreDeviceIndices and set checked native count waitSemaphoreCount.
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.
set_command_buffer_count
Set native count commandBufferCount 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_command_buffer_device_masks
Borrow pCommandBufferDeviceMasks and set checked native count commandBufferCount.
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.
set_signal_semaphore_count
Set native count signalSemaphoreCount 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_signal_semaphore_device_indices
Borrow pSignalSemaphoreDeviceIndices and set checked native count signalSemaphoreCount.
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::DeviceGroupSwapchainCreateInfoKHR
Contract
Native structure VkDeviceGroupSwapchainCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
modes
modes: DeviceGroupPresentModeFlagsKHRNative field modes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_modes
Set native field modes 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::DeviceHandle
Contract
Raw Vulkan handle VkDevice.
Khronos reference: VkDevice
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: *mut c_voidMethods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeviceImageMemoryRequirements
Contract
Native structure VkDeviceImageMemoryRequirements.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_create_info
p_create_info: *const ImageCreateInfo<'a>Native field pCreateInfo.
plane_aspect
plane_aspect: ImageAspectFlagBitsNative field planeAspect.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_create_info
Set native field pCreateInfo without native effects.
set_plane_aspect
Set native field planeAspect 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::DeviceImageSubresourceInfo
Contract
Native structure VkDeviceImageSubresourceInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_create_info
p_create_info: *const ImageCreateInfo<'a>Native field pCreateInfo.
p_subresource
p_subresource: *const ImageSubresource2<'a>Native field pSubresource.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_create_info
Set native field pCreateInfo without native effects.
set_subresource
Set native field pSubresource 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::DeviceMemory
Contract
Raw Vulkan handle VkDeviceMemory.
Khronos reference: VkDeviceMemory
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeviceMemoryCopyKHR
Contract
Native structure VkDeviceMemoryCopyKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_range
src_range: DeviceAddressRangeKHRNative field srcRange.
src_flags
src_flags: AddressCommandFlagsKHRNative field srcFlags.
dst_range
dst_range: DeviceAddressRangeKHRNative field dstRange.
dst_flags
dst_flags: AddressCommandFlagsKHRNative field dstFlags.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_range
Set native field srcRange without native effects.
set_src_flags
Set native field srcFlags without native effects.
set_dst_range
Set native field dstRange without native effects.
set_dst_flags
Set native field dstFlags 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::DeviceMemoryImageCopyKHR
pub struct DeviceMemoryImageCopyKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub address_range: DeviceAddressRangeKHR,
pub address_flags: AddressCommandFlagsKHR,
pub address_row_length: u32,
pub address_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_layout: ImageLayout,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
/* private fields */
}Contract
Native structure VkDeviceMemoryImageCopyKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
address_range
address_range: DeviceAddressRangeKHRNative field addressRange.
address_flags
address_flags: AddressCommandFlagsKHRNative field addressFlags.
address_row_length
address_row_length: u32Native field addressRowLength.
address_image_height
address_image_height: u32Native field addressImageHeight.
image_subresource
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_layout
image_layout: ImageLayoutNative field imageLayout.
image_offset
image_offset: Offset3DNative field imageOffset.
image_extent
image_extent: Extent3DNative field imageExtent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_address_range
Set native field addressRange without native effects.
set_address_flags
Set native field addressFlags without native effects.
set_address_row_length
Set native field addressRowLength without native effects.
set_address_image_height
Set native field addressImageHeight without native effects.
set_image_subresource
Set native field imageSubresource without native effects.
set_image_layout
Set native field imageLayout without native effects.
set_image_offset
Set native field imageOffset without native effects.
set_image_extent
Set native field imageExtent 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::DeviceMemoryOpaqueCaptureAddressInfo
Contract
Native structure VkDeviceMemoryOpaqueCaptureAddressInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
memory
memory: DeviceMemoryNative field memory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_memory
Set native field memory 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::DeviceMemoryOverallocationCreateInfoAMD
Contract
Native structure VkDeviceMemoryOverallocationCreateInfoAMD.
Khronos reference: VkDeviceMemoryOverallocationCreateInfoAMD
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
overallocation_behavior
overallocation_behavior: MemoryOverallocationBehaviorAMDNative field overallocationBehavior.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_overallocation_behavior
Set native field overallocationBehavior 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::DeviceMemoryReportCallbackDataEXT
pub struct DeviceMemoryReportCallbackDataEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: DeviceMemoryReportFlagsEXT,
pub type: DeviceMemoryReportEventTypeEXT,
pub memory_object_id: u64,
pub size: DeviceSize,
pub object_type: ObjectType,
pub object_handle: u64,
pub heap_index: u32,
/* private fields */
}Contract
Native structure VkDeviceMemoryReportCallbackDataEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: DeviceMemoryReportFlagsEXTNative field flags.
type
type: DeviceMemoryReportEventTypeEXTNative field type.
memory_object_id
memory_object_id: u64Native field memoryObjectId.
size
size: DeviceSizeNative field size.
object_type
object_type: ObjectTypeNative field objectType.
object_handle
object_handle: u64Native field objectHandle.
heap_index
heap_index: u32Native field heapIndex.
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_type
Set native field type without native effects.
set_memory_object_id
Set native field memoryObjectId without native effects.
set_size
Set native field size without native effects.
set_object_type
Set native field objectType without native effects.
set_object_handle
Set native field objectHandle without native effects.
set_heap_index
Set native field heapIndex 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::DeviceMemoryReportEventTypeEXT
Contract
Open integer representation of VkDeviceMemoryReportEventTypeEXT.
Fields
0
0: i32Methods and associated items
ALLOCATE_EXT
Native value VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT.
Khronos reference: VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT
FREE_EXT
Native value VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT.
Khronos reference: VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT
IMPORT_EXT
Native value VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT.
Khronos reference: VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT
UNIMPORT_EXT
Native value VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT.
Khronos reference: VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT
ALLOCATION_FAILED_EXT
Native value VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT.
Khronos reference: VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeviceMemoryReportFlagsEXT
Contract
Open integer representation of VkDeviceMemoryReportFlagsEXT.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::DevicePipelineBinaryInternalCacheControlKHR
Contract
Native structure VkDevicePipelineBinaryInternalCacheControlKHR.
Khronos reference: VkDevicePipelineBinaryInternalCacheControlKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
disable_internal_cache
disable_internal_cache: Bool32Native field disableInternalCache.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_disable_internal_cache
Set native field disableInternalCache 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.