vk · Structs · Q1
16 public declarations with native signatures and source-owned contracts.
Stvk::QueryControlFlagBits
Contract
Open integer representation of VkQueryControlFlagBits.
Fields
0
0: u32Methods and associated items
PRECISE_BIT
Native value VK_QUERY_CONTROL_PRECISE_BIT.
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::QueryLowLatencySupportNV
Contract
Native structure VkQueryLowLatencySupportNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_queried_low_latency_data
p_queried_low_latency_data: *mut c_voidNative field pQueriedLowLatencyData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_queried_low_latency_data
Set native pointer pQueriedLowLatencyData explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
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::QueryPipelineStatisticFlagBits
Contract
Open integer representation of VkQueryPipelineStatisticFlagBits.
Fields
0
0: u32Methods and associated items
INPUT_ASSEMBLY_VERTICES_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT
INPUT_ASSEMBLY_PRIMITIVES_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT
VERTEX_SHADER_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT
GEOMETRY_SHADER_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT
GEOMETRY_SHADER_PRIMITIVES_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT
CLIPPING_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT
CLIPPING_PRIMITIVES_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT
FRAGMENT_SHADER_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT
TESSELLATION_CONTROL_SHADER_PATCHES_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT
TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
COMPUTE_SHADER_INVOCATIONS_BIT
Native value VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT
TASK_SHADER_INVOCATIONS_BIT_EXT
Native value VK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXT
MESH_SHADER_INVOCATIONS_BIT_EXT
Native value VK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXT
CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI
Native value VK_QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI.
Khronos reference: VK_QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI
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::QueryPool
Contract
Raw Vulkan handle VkQueryPool.
Khronos reference: VkQueryPool
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::QueryPoolCreateFlagBits
Contract
Open integer representation of VkQueryPoolCreateFlagBits.
Fields
0
0: u32Methods and associated items
RESET_BIT_KHR
Native value VK_QUERY_POOL_CREATE_RESET_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::QueryPoolCreateInfo
Contract
Native structure VkQueryPoolCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: QueryPoolCreateFlagsNative field flags.
query_type
query_type: QueryTypeNative field queryType.
query_count
query_count: u32Native field queryCount.
pipeline_statistics
pipeline_statistics: QueryPipelineStatisticFlagsNative field pipelineStatistics.
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_query_type
Set native field queryType without native effects.
set_query_count
Set native field queryCount without native effects.
set_pipeline_statistics
Set native field pipelineStatistics 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::QueryPoolPerformanceCreateInfoKHR
Contract
Native structure VkQueryPoolPerformanceCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
queue_family_index
queue_family_index: u32Native field queueFamilyIndex.
counter_index_count
counter_index_count: u32Native field counterIndexCount.
p_counter_indices
p_counter_indices: *const u32Native field pCounterIndices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_queue_family_index
Set native field queueFamilyIndex without native effects.
set_counter_index_count
Set native count counterIndexCount 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_counter_indices
Borrow pCounterIndices and set checked native count counterIndexCount.
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::QueryPoolPerformanceQueryCreateInfoINTEL
Contract
Native structure VkQueryPoolPerformanceQueryCreateInfoINTEL.
Khronos reference: VkQueryPoolPerformanceQueryCreateInfoINTEL
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
performance_counters_sampling
performance_counters_sampling: QueryPoolSamplingModeINTELNative field performanceCountersSampling.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_performance_counters_sampling
Set native field performanceCountersSampling 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::QueryPoolSamplingModeINTEL
Contract
Open integer representation of VkQueryPoolSamplingModeINTEL.
Fields
0
0: i32Methods and associated items
MANUAL_INTEL
Native value VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::QueryPoolVideoEncodeFeedbackCreateInfoKHR
Contract
Native structure VkQueryPoolVideoEncodeFeedbackCreateInfoKHR.
Khronos reference: VkQueryPoolVideoEncodeFeedbackCreateInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
encode_feedback_flags
encode_feedback_flags: VideoEncodeFeedbackFlagsKHRNative field encodeFeedbackFlags.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_encode_feedback_flags
Set native field encodeFeedbackFlags 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::QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR
Contract
Native structure VkQueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR.
Khronos reference: VkQueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
max_per_partition_feedback_entries
max_per_partition_feedback_entries: u32Native field maxPerPartitionFeedbackEntries.
per_partition_encode_feedback_flags
per_partition_encode_feedback_flags: VideoEncodePerPartitionFeedbackFlagsKHRNative field perPartitionEncodeFeedbackFlags.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_per_partition_feedback_entries
Set native field maxPerPartitionFeedbackEntries without native effects.
set_per_partition_encode_feedback_flags
Set native field perPartitionEncodeFeedbackFlags 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::QueryResultFlagBits
Contract
Open integer representation of VkQueryResultFlagBits.
Fields
0
0: u32Methods and associated items
_64_BIT
Native value VK_QUERY_RESULT_64_BIT.
WAIT_BIT
Native value VK_QUERY_RESULT_WAIT_BIT.
WITH_AVAILABILITY_BIT
Native value VK_QUERY_RESULT_WITH_AVAILABILITY_BIT.
PARTIAL_BIT
Native value VK_QUERY_RESULT_PARTIAL_BIT.
WITH_STATUS_BIT_KHR
Native value VK_QUERY_RESULT_WITH_STATUS_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::QueryResultStatusKHR
Contract
Open integer representation of VkQueryResultStatusKHR.
Fields
0
0: i32Methods and associated items
ERROR_KHR
Native value VK_QUERY_RESULT_STATUS_ERROR_KHR.
NOT_READY_KHR
Native value VK_QUERY_RESULT_STATUS_NOT_READY_KHR.
COMPLETE_KHR
Native value VK_QUERY_RESULT_STATUS_COMPLETE_KHR.
INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR
Native value VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR.
Khronos reference: VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::QueryType
Contract
Open integer representation of VkQueryType.
Fields
0
0: i32Methods and associated items
OCCLUSION
Native value VK_QUERY_TYPE_OCCLUSION.
PIPELINE_STATISTICS
Native value VK_QUERY_TYPE_PIPELINE_STATISTICS.
TIMESTAMP
Native value VK_QUERY_TYPE_TIMESTAMP.
RESULT_STATUS_ONLY_KHR
Native value VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR.
TRANSFORM_FEEDBACK_STREAM_EXT
Native value VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT.
Khronos reference: VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT
PERFORMANCE_QUERY_KHR
Native value VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR.
ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR
Native value VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR.
Khronos reference: VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR
ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR
Native value VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR.
Khronos reference: VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR
ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV
Native value VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV.
Khronos reference: VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV
TIME_ELAPSED_QCOM
Native value VK_QUERY_TYPE_TIME_ELAPSED_QCOM.
PERFORMANCE_QUERY_INTEL
Native value VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL.
VIDEO_ENCODE_FEEDBACK_KHR
Native value VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR.
MESH_PRIMITIVES_GENERATED_EXT
Native value VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT.
Khronos reference: VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT
PRIMITIVES_GENERATED_EXT
Native value VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT.
ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR
Native value VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR.
Khronos reference: VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR
ACCELERATION_STRUCTURE_SIZE_KHR
Native value VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR.
Khronos reference: VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR
MICROMAP_SERIALIZATION_SIZE_EXT
Native value VK_QUERY_TYPE_MICROMAP_SERIALIZATION_SIZE_EXT.
Khronos reference: VK_QUERY_TYPE_MICROMAP_SERIALIZATION_SIZE_EXT
MICROMAP_COMPACTED_SIZE_EXT
Native value VK_QUERY_TYPE_MICROMAP_COMPACTED_SIZE_EXT.
Khronos reference: VK_QUERY_TYPE_MICROMAP_COMPACTED_SIZE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::Queue
Contract
Raw Vulkan handle VkQueue.
Khronos reference: VkQueue
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::QueueFamilyCheckpointProperties2NV
Contract
Native structure VkQueueFamilyCheckpointProperties2NV.
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: PipelineStageFlags2Native 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.