vk · Structs · P2
16 public declarations with native signatures and source-owned contracts.
Stvk::PerformanceConfigurationINTEL
Contract
Raw Vulkan handle VkPerformanceConfigurationINTEL.
Khronos reference: VkPerformanceConfigurationINTEL
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::PerformanceConfigurationTypeINTEL
Contract
Open integer representation of VkPerformanceConfigurationTypeINTEL.
Fields
0
0: i32Methods and associated items
COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL
Native value VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL.
Khronos reference: VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceCounterARM
Contract
Native structure VkPerformanceCounterARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
counter_id
counter_id: u32Native field counterID.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_counter_id
Set native field counterID 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::PerformanceCounterDescriptionARM
Contract
Native structure VkPerformanceCounterDescriptionARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: PerformanceCounterDescriptionFlagsARMNative field flags.
name
name: [c_char; 256]Native field name.
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_name
Set native field name 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::PerformanceCounterDescriptionFlagBitsKHR
Contract
Open integer representation of VkPerformanceCounterDescriptionFlagBitsKHR.
Khronos reference: VkPerformanceCounterDescriptionFlagBitsKHR
Fields
0
0: u32Methods and associated items
PERFORMANCE_IMPACTING_BIT_KHR
Native value VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR
PERFORMANCE_IMPACTING_KHR
Native value VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_KHR
CONCURRENTLY_IMPACTED_BIT_KHR
Native value VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR
CONCURRENTLY_IMPACTED_KHR
Native value VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_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::PerformanceCounterDescriptionFlagsARM
Contract
Open integer representation of VkPerformanceCounterDescriptionFlagsARM.
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::PerformanceCounterDescriptionKHR
Contract
Native structure VkPerformanceCounterDescriptionKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: PerformanceCounterDescriptionFlagsKHRNative field flags.
name
name: [c_char; 256]Native field name.
category
category: [c_char; 256]Native field category.
description
description: [c_char; 256]Native field description.
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_name
Set native field name without native effects.
set_category
Set native field category without native effects.
set_description
Set native field description 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::PerformanceCounterKHR
Contract
Native structure VkPerformanceCounterKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
unit
unit: PerformanceCounterUnitKHRNative field unit.
scope
scope: PerformanceCounterScopeKHRNative field scope.
storage
storage: PerformanceCounterStorageKHRNative field storage.
uuid
uuid: [u8; 16]Native field uuid.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_unit
Set native field unit without native effects.
set_scope
Set native field scope without native effects.
set_storage
Set native field storage without native effects.
set_uuid
Set native field uuid 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::PerformanceCounterScopeKHR
Contract
Open integer representation of VkPerformanceCounterScopeKHR.
Fields
0
0: i32Methods and associated items
COMMAND_BUFFER_KHR
Native value VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR
RENDER_PASS_KHR
Native value VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR
COMMAND_KHR
Native value VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR.
QUERY_SCOPE_COMMAND_BUFFER_KHR
Native value VK_QUERY_SCOPE_COMMAND_BUFFER_KHR.
QUERY_SCOPE_RENDER_PASS_KHR
Native value VK_QUERY_SCOPE_RENDER_PASS_KHR.
QUERY_SCOPE_COMMAND_KHR
Native value VK_QUERY_SCOPE_COMMAND_KHR.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceCounterStorageKHR
Contract
Open integer representation of VkPerformanceCounterStorageKHR.
Fields
0
0: i32Methods and associated items
INT32_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR.
INT64_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR.
UINT32_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR
UINT64_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR
FLOAT32_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR
FLOAT64_KHR
Native value VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceCounterUnitKHR
Contract
Open integer representation of VkPerformanceCounterUnitKHR.
Fields
0
0: i32Methods and associated items
GENERIC_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR.
PERCENTAGE_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR
NANOSECONDS_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR
BYTES_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR.
BYTES_PER_SECOND_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR.
Khronos reference: VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR
KELVIN_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR.
WATTS_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR.
VOLTS_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR.
AMPS_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR.
HERTZ_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR.
CYCLES_KHR
Native value VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceMarkerInfoINTEL
Contract
Native structure VkPerformanceMarkerInfoINTEL.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
marker
marker: u64Native field marker.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_marker
Set native field marker 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::PerformanceOverrideInfoINTEL
Contract
Native structure VkPerformanceOverrideInfoINTEL.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
type
type: PerformanceOverrideTypeINTELNative field type.
enable
enable: Bool32Native field enable.
parameter
parameter: u64Native field parameter.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_type
Set native field type without native effects.
set_enable
Set native field enable without native effects.
set_parameter
Set native field parameter 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::PerformanceOverrideTypeINTEL
Contract
Open integer representation of VkPerformanceOverrideTypeINTEL.
Fields
0
0: i32Methods and associated items
NULL_HARDWARE_INTEL
Native value VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL.
Khronos reference: VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL
FLUSH_GPU_CACHES_INTEL
Native value VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL.
Khronos reference: VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceParameterTypeINTEL
Contract
Open integer representation of VkPerformanceParameterTypeINTEL.
Fields
0
0: i32Methods and associated items
HW_COUNTERS_SUPPORTED_INTEL
Native value VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL.
Khronos reference: VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL
STREAM_MARKER_VALID_BITS_INTEL
Native value VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL.
Khronos reference: VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerformanceQuerySubmitInfoKHR
Contract
Native structure VkPerformanceQuerySubmitInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
counter_pass_index
counter_pass_index: u32Native field counterPassIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_counter_pass_index
Set native field counterPassIndex 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.