vk · Structs · Q2
14 public declarations with native signatures and source-owned contracts.
Stvk::QueueFamilyCheckpointPropertiesNV
Contract
Native structure VkQueueFamilyCheckpointPropertiesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
checkpoint_execution_stage_mask
checkpoint_execution_stage_mask: PipelineStageFlagsNative field checkpointExecutionStageMask.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_checkpoint_execution_stage_mask
Set native field checkpointExecutionStageMask 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::QueueFamilyDataGraphOpticalFlowPropertiesARM
pub struct QueueFamilyDataGraphOpticalFlowPropertiesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supported_output_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM,
pub supported_hint_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM,
pub hint_supported: Bool32,
pub cost_supported: Bool32,
pub min_width: u32,
pub min_height: u32,
pub max_width: u32,
pub max_height: u32,
/* private fields */
}Contract
Native structure VkQueueFamilyDataGraphOpticalFlowPropertiesARM.
Khronos reference: VkQueueFamilyDataGraphOpticalFlowPropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
supported_output_grid_sizes
supported_output_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARMNative field supportedOutputGridSizes.
supported_hint_grid_sizes
supported_hint_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARMNative field supportedHintGridSizes.
hint_supported
hint_supported: Bool32Native field hintSupported.
cost_supported
cost_supported: Bool32Native field costSupported.
min_width
min_width: u32Native field minWidth.
min_height
min_height: u32Native field minHeight.
max_width
max_width: u32Native field maxWidth.
max_height
max_height: u32Native field maxHeight.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_supported_output_grid_sizes
Set native field supportedOutputGridSizes without native effects.
set_supported_hint_grid_sizes
Set native field supportedHintGridSizes without native effects.
set_hint_supported
Set native field hintSupported without native effects.
set_cost_supported
Set native field costSupported without native effects.
set_min_width
Set native field minWidth without native effects.
set_min_height
Set native field minHeight without native effects.
set_max_width
Set native field maxWidth without native effects.
set_max_height
Set native field maxHeight 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::QueueFamilyDataGraphProcessingEnginePropertiesARM
Contract
Native structure VkQueueFamilyDataGraphProcessingEnginePropertiesARM.
Khronos reference: VkQueueFamilyDataGraphProcessingEnginePropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
foreign_semaphore_handle_types
foreign_semaphore_handle_types: ExternalSemaphoreHandleTypeFlagsNative field foreignSemaphoreHandleTypes.
foreign_memory_handle_types
foreign_memory_handle_types: ExternalMemoryHandleTypeFlagsNative field foreignMemoryHandleTypes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_foreign_semaphore_handle_types
Set native field foreignSemaphoreHandleTypes without native effects.
set_foreign_memory_handle_types
Set native field foreignMemoryHandleTypes 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::QueueFamilyDataGraphPropertiesARM
Contract
Native structure VkQueueFamilyDataGraphPropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
engine
engine: PhysicalDeviceDataGraphProcessingEngineARMNative field engine.
operation
operation: PhysicalDeviceDataGraphOperationSupportARMNative field operation.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_engine
Set native field engine without native effects.
set_operation
Set native field operation 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::QueueFamilyDataGraphTOSAPropertiesARM
pub struct QueueFamilyDataGraphTOSAPropertiesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub profile_count: u32,
pub p_profiles: *const DataGraphTOSANameQualityARM,
pub extension_count: u32,
pub p_extensions: *const DataGraphTOSANameQualityARM,
pub level: DataGraphTOSALevelARM,
/* private fields */
}Contract
Native structure VkQueueFamilyDataGraphTOSAPropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
profile_count
profile_count: u32Native field profileCount.
p_profiles
p_profiles: *const DataGraphTOSANameQualityARMNative field pProfiles.
extension_count
extension_count: u32Native field extensionCount.
p_extensions
p_extensions: *const DataGraphTOSANameQualityARMNative field pExtensions.
level
level: DataGraphTOSALevelARMNative field level.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_profile_count
Set native count profileCount 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_profiles
Borrow pProfiles and set checked native count profileCount.
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_extension_count
Set native count extensionCount 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_extensions
Borrow pExtensions and set checked native count extensionCount.
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_level
Set native field level 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::QueueFamilyGlobalPriorityProperties
Contract
Native structure VkQueueFamilyGlobalPriorityProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
priority_count
priority_count: u32Native field priorityCount.
priorities
priorities: [QueueGlobalPriority; 16]Native field priorities.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_priority_count
Set native count priorityCount 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_priorities
Set native field priorities 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::QueueFamilyOptimalImageTransferGranularityPropertiesKHR
Contract
Native structure VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR.
Khronos reference: VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
optimal_image_transfer_granularity
optimal_image_transfer_granularity: Extent3DNative field optimalImageTransferGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_optimal_image_transfer_granularity
Set native field optimalImageTransferGranularity 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::QueueFamilyOwnershipTransferPropertiesKHR
Contract
Native structure VkQueueFamilyOwnershipTransferPropertiesKHR.
Khronos reference: VkQueueFamilyOwnershipTransferPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
optimal_image_transfer_to_queue_families
optimal_image_transfer_to_queue_families: u32Native field optimalImageTransferToQueueFamilies.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_optimal_image_transfer_to_queue_families
Set native field optimalImageTransferToQueueFamilies 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::QueueFamilyProperties
Contract
Native structure VkQueueFamilyProperties.
Fields
queue_flags
queue_flags: QueueFlagsNative field queueFlags.
queue_count
queue_count: u32Native field queueCount.
timestamp_valid_bits
timestamp_valid_bits: u32Native field timestampValidBits.
min_image_transfer_granularity
min_image_transfer_granularity: Extent3DNative field minImageTransferGranularity.
Methods and associated items
new
Construct the record with its default native state.
set_queue_flags
Set native field queueFlags without native effects.
set_queue_count
Set native field queueCount without native effects.
set_timestamp_valid_bits
Set native field timestampValidBits without native effects.
set_min_image_transfer_granularity
Set native field minImageTransferGranularity without native effects.
clone
default
Stvk::QueueFamilyProperties2
Contract
Native structure VkQueueFamilyProperties2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
queue_family_properties
queue_family_properties: QueueFamilyPropertiesNative field queueFamilyProperties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_queue_family_properties
Set native field queueFamilyProperties 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::QueueFamilyQueryResultStatusPropertiesKHR
Contract
Native structure VkQueueFamilyQueryResultStatusPropertiesKHR.
Khronos reference: VkQueueFamilyQueryResultStatusPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
query_result_status_support
query_result_status_support: Bool32Native field queryResultStatusSupport.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_query_result_status_support
Set native field queryResultStatusSupport 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::QueueFamilyVideoPropertiesKHR
Contract
Native structure VkQueueFamilyVideoPropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_codec_operations
video_codec_operations: VideoCodecOperationFlagsKHRNative field videoCodecOperations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_codec_operations
Set native field videoCodecOperations 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::QueueFlagBits
Contract
Open integer representation of VkQueueFlagBits.
Fields
0
0: u32Methods and associated items
GRAPHICS_BIT
Native value VK_QUEUE_GRAPHICS_BIT.
COMPUTE_BIT
Native value VK_QUEUE_COMPUTE_BIT.
TRANSFER_BIT
Native value VK_QUEUE_TRANSFER_BIT.
SPARSE_BINDING_BIT
Native value VK_QUEUE_SPARSE_BINDING_BIT.
PROTECTED_BIT
Native value VK_QUEUE_PROTECTED_BIT.
VIDEO_DECODE_BIT_KHR
Native value VK_QUEUE_VIDEO_DECODE_BIT_KHR.
VIDEO_ENCODE_BIT_KHR
Native value VK_QUEUE_VIDEO_ENCODE_BIT_KHR.
OPTICAL_FLOW_BIT_NV
Native value VK_QUEUE_OPTICAL_FLOW_BIT_NV.
DATA_GRAPH_BIT_ARM
Native value VK_QUEUE_DATA_GRAPH_BIT_ARM.
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::QueueGlobalPriority
Contract
Open integer representation of VkQueueGlobalPriority.
Fields
0
0: i32Methods and associated items
LOW
Native value VK_QUEUE_GLOBAL_PRIORITY_LOW.
MEDIUM
Native value VK_QUEUE_GLOBAL_PRIORITY_MEDIUM.
HIGH
Native value VK_QUEUE_GLOBAL_PRIORITY_HIGH.
REALTIME
Native value VK_QUEUE_GLOBAL_PRIORITY_REALTIME.
LOW_EXT
Native value VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT.
MEDIUM_EXT
Native value VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT.
HIGH_EXT
Native value VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT.
REALTIME_EXT
Native value VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT.
LOW_KHR
Native value VK_QUEUE_GLOBAL_PRIORITY_LOW_KHR.
MEDIUM_KHR
Native value VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_KHR.
HIGH_KHR
Native value VK_QUEUE_GLOBAL_PRIORITY_HIGH_KHR.
REALTIME_KHR
Native value VK_QUEUE_GLOBAL_PRIORITY_REALTIME_KHR.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.