vk · Structs · P3
16 public declarations with native signatures and source-owned contracts.
Stvk::PerformanceStreamMarkerInfoINTEL
Contract
Native structure VkPerformanceStreamMarkerInfoINTEL.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
marker
marker: u32Native 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::PerformanceValueINTEL
Contract
Native structure VkPerformanceValueINTEL.
Fields
type
type: PerformanceValueTypeINTELNative field type.
data
data: PerformanceValueDataINTEL<'a>Native field data.
Methods and associated items
new
Construct the record with its default native state.
set_type
Set native field type without native effects.
set_data
Set native field data without native effects.
clone
default
Stvk::PerformanceValueTypeINTEL
Contract
Open integer representation of VkPerformanceValueTypeINTEL.
Fields
0
0: i32Methods and associated items
UINT32_INTEL
Native value VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL.
UINT64_INTEL
Native value VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL.
FLOAT_INTEL
Native value VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL.
BOOL_INTEL
Native value VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL.
STRING_INTEL
Native value VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PerTileBeginInfoQCOM
Contract
Native structure VkPerTileBeginInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::PerTileEndInfoQCOM
Contract
Native structure VkPerTileEndInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::PhysicalDevice
Contract
Raw Vulkan handle VkPhysicalDevice.
Khronos reference: VkPhysicalDevice
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::PhysicalDevice16BitStorageFeatures
Contract
Native structure VkPhysicalDevice16BitStorageFeatures.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
storage_buffer16_bit_access
storage_buffer16_bit_access: Bool32Native field storageBuffer16BitAccess.
uniform_and_storage_buffer16_bit_access
uniform_and_storage_buffer16_bit_access: Bool32Native field uniformAndStorageBuffer16BitAccess.
storage_push_constant16
storage_push_constant16: Bool32Native field storagePushConstant16.
storage_input_output16
storage_input_output16: Bool32Native field storageInputOutput16.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_storage_buffer16_bit_access
Set native field storageBuffer16BitAccess without native effects.
set_uniform_and_storage_buffer16_bit_access
Set native field uniformAndStorageBuffer16BitAccess without native effects.
set_storage_push_constant16
Set native field storagePushConstant16 without native effects.
set_storage_input_output16
Set native field storageInputOutput16 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::PhysicalDevice4444FormatsFeaturesEXT
Contract
Native structure VkPhysicalDevice4444FormatsFeaturesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
format_a4_r4_g4_b4
format_a4_r4_g4_b4: Bool32Native field formatA4R4G4B4.
format_a4_b4_g4_r4
format_a4_b4_g4_r4: Bool32Native field formatA4B4G4R4.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_format_a4_r4_g4_b4
Set native field formatA4R4G4B4 without native effects.
set_format_a4_b4_g4_r4
Set native field formatA4B4G4R4 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::PhysicalDevice8BitStorageFeatures
Contract
Native structure VkPhysicalDevice8BitStorageFeatures.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
storage_buffer8_bit_access
storage_buffer8_bit_access: Bool32Native field storageBuffer8BitAccess.
uniform_and_storage_buffer8_bit_access
uniform_and_storage_buffer8_bit_access: Bool32Native field uniformAndStorageBuffer8BitAccess.
storage_push_constant8
storage_push_constant8: Bool32Native field storagePushConstant8.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_storage_buffer8_bit_access
Set native field storageBuffer8BitAccess without native effects.
set_uniform_and_storage_buffer8_bit_access
Set native field uniformAndStorageBuffer8BitAccess without native effects.
set_storage_push_constant8
Set native field storagePushConstant8 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::PhysicalDeviceAccelerationStructureFeaturesKHR
pub struct PhysicalDeviceAccelerationStructureFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub acceleration_structure: Bool32,
pub acceleration_structure_capture_replay: Bool32,
pub acceleration_structure_indirect_build: Bool32,
pub acceleration_structure_host_commands: Bool32,
pub descriptor_binding_acceleration_structure_update_after_bind: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceAccelerationStructureFeaturesKHR.
Khronos reference: VkPhysicalDeviceAccelerationStructureFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
acceleration_structure
acceleration_structure: Bool32Native field accelerationStructure.
acceleration_structure_capture_replay
acceleration_structure_capture_replay: Bool32Native field accelerationStructureCaptureReplay.
acceleration_structure_indirect_build
acceleration_structure_indirect_build: Bool32Native field accelerationStructureIndirectBuild.
acceleration_structure_host_commands
acceleration_structure_host_commands: Bool32Native field accelerationStructureHostCommands.
descriptor_binding_acceleration_structure_update_after_bind
descriptor_binding_acceleration_structure_update_after_bind: Bool32Native field descriptorBindingAccelerationStructureUpdateAfterBind.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_acceleration_structure
Set native field accelerationStructure without native effects.
set_acceleration_structure_capture_replay
Set native field accelerationStructureCaptureReplay without native effects.
set_acceleration_structure_indirect_build
Set native field accelerationStructureIndirectBuild without native effects.
set_acceleration_structure_host_commands
Set native field accelerationStructureHostCommands without native effects.
set_descriptor_binding_acceleration_structure_update_after_bind
Set native field descriptorBindingAccelerationStructureUpdateAfterBind 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::PhysicalDeviceAccelerationStructurePropertiesKHR
pub struct PhysicalDeviceAccelerationStructurePropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_geometry_count: u64,
pub max_instance_count: u64,
pub max_primitive_count: u64,
pub max_per_stage_descriptor_acceleration_structures: u32,
pub max_per_stage_descriptor_update_after_bind_acceleration_structures: u32,
pub max_descriptor_set_acceleration_structures: u32,
pub max_descriptor_set_update_after_bind_acceleration_structures: u32,
pub min_acceleration_structure_scratch_offset_alignment: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceAccelerationStructurePropertiesKHR.
Khronos reference: VkPhysicalDeviceAccelerationStructurePropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_geometry_count
max_geometry_count: u64Native field maxGeometryCount.
max_instance_count
max_instance_count: u64Native field maxInstanceCount.
max_primitive_count
max_primitive_count: u64Native field maxPrimitiveCount.
max_per_stage_descriptor_acceleration_structures
max_per_stage_descriptor_acceleration_structures: u32Native field maxPerStageDescriptorAccelerationStructures.
max_per_stage_descriptor_update_after_bind_acceleration_structures
max_per_stage_descriptor_update_after_bind_acceleration_structures: u32Native field maxPerStageDescriptorUpdateAfterBindAccelerationStructures.
max_descriptor_set_acceleration_structures
max_descriptor_set_acceleration_structures: u32Native field maxDescriptorSetAccelerationStructures.
max_descriptor_set_update_after_bind_acceleration_structures
max_descriptor_set_update_after_bind_acceleration_structures: u32Native field maxDescriptorSetUpdateAfterBindAccelerationStructures.
min_acceleration_structure_scratch_offset_alignment
min_acceleration_structure_scratch_offset_alignment: u32Native field minAccelerationStructureScratchOffsetAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_geometry_count
Set native field maxGeometryCount without native effects.
set_max_instance_count
Set native field maxInstanceCount without native effects.
set_max_primitive_count
Set native field maxPrimitiveCount without native effects.
set_max_per_stage_descriptor_acceleration_structures
Set native field maxPerStageDescriptorAccelerationStructures without native effects.
set_max_per_stage_descriptor_update_after_bind_acceleration_structures
Set native field maxPerStageDescriptorUpdateAfterBindAccelerationStructures without native effects.
set_max_descriptor_set_acceleration_structures
Set native field maxDescriptorSetAccelerationStructures without native effects.
set_max_descriptor_set_update_after_bind_acceleration_structures
Set native field maxDescriptorSetUpdateAfterBindAccelerationStructures without native effects.
set_min_acceleration_structure_scratch_offset_alignment
Set native field minAccelerationStructureScratchOffsetAlignment 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::PhysicalDeviceAddressBindingReportFeaturesEXT
Contract
Native structure VkPhysicalDeviceAddressBindingReportFeaturesEXT.
Khronos reference: VkPhysicalDeviceAddressBindingReportFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
report_address_binding
report_address_binding: Bool32Native field reportAddressBinding.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_report_address_binding
Set native field reportAddressBinding 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::PhysicalDeviceAmigoProfilingFeaturesSEC
Contract
Native structure VkPhysicalDeviceAmigoProfilingFeaturesSEC.
Khronos reference: VkPhysicalDeviceAmigoProfilingFeaturesSEC
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
amigo_profiling
amigo_profiling: Bool32Native field amigoProfiling.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_amigo_profiling
Set native field amigoProfiling 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::PhysicalDeviceAntiLagFeaturesAMD
Contract
Native structure VkPhysicalDeviceAntiLagFeaturesAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
anti_lag
anti_lag: Bool32Native field antiLag.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_anti_lag
Set native field antiLag 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::PhysicalDeviceASTCDecodeFeaturesEXT
Contract
Native structure VkPhysicalDeviceASTCDecodeFeaturesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
decode_mode_shared_exponent
decode_mode_shared_exponent: Bool32Native field decodeModeSharedExponent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_decode_mode_shared_exponent
Set native field decodeModeSharedExponent 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::PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT
Contract
Native structure VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT.
Khronos reference: VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
attachment_feedback_loop_dynamic_state
attachment_feedback_loop_dynamic_state: Bool32Native field attachmentFeedbackLoopDynamicState.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_attachment_feedback_loop_dynamic_state
Set native field attachmentFeedbackLoopDynamicState 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.