vk · Structs · D12
16 public declarations with native signatures and source-owned contracts.
Stvk::DispatchIndirect2InfoKHR
Contract
Native structure VkDispatchIndirect2InfoKHR.
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.
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.
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::DispatchIndirectCommand
Contract
Native structure VkDispatchIndirectCommand.
Fields
x
x: u32Native field x.
y
y: u32Native field y.
z
z: u32Native field z.
Methods and associated items
new
Construct the record with its default native state.
set_x
Set native field x without native effects.
set_y
Set native field y without native effects.
set_z
Set native field z without native effects.
clone
default
Stvk::DispatchParametersARM
Contract
Native structure VkDispatchParametersARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
work_group_batch_size
work_group_batch_size: u32Native field workGroupBatchSize.
max_queued_work_group_batches
max_queued_work_group_batches: u32Native field maxQueuedWorkGroupBatches.
max_warps_per_shader_core
max_warps_per_shader_core: u32Native field maxWarpsPerShaderCore.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_work_group_batch_size
Set native field workGroupBatchSize without native effects.
set_max_queued_work_group_batches
Set native field maxQueuedWorkGroupBatches without native effects.
set_max_warps_per_shader_core
Set native field maxWarpsPerShaderCore 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::DispatchTileInfoQCOM
Contract
Native structure VkDispatchTileInfoQCOM.
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::DisplacementMicromapFormatNV
Contract
Open integer representation of VkDisplacementMicromapFormatNV.
Fields
0
0: i32Methods and associated items
_64_TRIANGLES_64_BYTES_NV
Native value VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV.
Khronos reference: VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV
_256_TRIANGLES_128_BYTES_NV
Native value VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV.
Khronos reference: VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV
_1024_TRIANGLES_128_BYTES_NV
Native value VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV.
Khronos reference: VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::Display
Contract
Native type Display.
Stvk::DisplayEventInfoEXT
Contract
Native structure VkDisplayEventInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
display_event
display_event: DisplayEventTypeEXTNative field displayEvent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_display_event
Set native field displayEvent 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::DisplayEventTypeEXT
Contract
Open integer representation of VkDisplayEventTypeEXT.
Fields
0
0: i32Methods and associated items
FIRST_PIXEL_OUT_EXT
Native value VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT.
Khronos reference: VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DisplayKHR
Contract
Raw Vulkan handle VkDisplayKHR.
Khronos reference: VkDisplayKHR
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::DisplayModeCreateFlagsKHR
Contract
Open integer representation of VkDisplayModeCreateFlagsKHR.
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::DisplayModeCreateInfoKHR
Contract
Native structure VkDisplayModeCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: DisplayModeCreateFlagsKHRNative field flags.
parameters
parameters: DisplayModeParametersKHRNative field parameters.
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_parameters
Set native field parameters 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::DisplayModeKHR
Contract
Raw Vulkan handle VkDisplayModeKHR.
Khronos reference: VkDisplayModeKHR
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::DisplayModeParametersKHR
Contract
Native structure VkDisplayModeParametersKHR.
Fields
visible_region
visible_region: Extent2DNative field visibleRegion.
refresh_rate
refresh_rate: u32Native field refreshRate.
Methods and associated items
new
Construct the record with its default native state.
set_visible_region
Set native field visibleRegion without native effects.
set_refresh_rate
Set native field refreshRate without native effects.
clone
default
Stvk::DisplayModeProperties2KHR
Contract
Native structure VkDisplayModeProperties2KHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
display_mode_properties
display_mode_properties: DisplayModePropertiesKHRNative field displayModeProperties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_display_mode_properties
Set native field displayModeProperties 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::DisplayModePropertiesKHR
Contract
Native structure VkDisplayModePropertiesKHR.
Fields
display_mode
display_mode: DisplayModeKHRNative field displayMode.
parameters
parameters: DisplayModeParametersKHRNative field parameters.
Methods and associated items
new
Construct the record with its default native state.
set_display_mode
Set native field displayMode without native effects.
set_parameters
Set native field parameters without native effects.
clone
default
Stvk::DisplayModeStereoPropertiesNV
Contract
Native structure VkDisplayModeStereoPropertiesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
hdmi3_d_supported
hdmi3_d_supported: Bool32Native field hdmi3DSupported.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_hdmi3_d_supported
Set native field hdmi3DSupported 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.