vk · Structs · S3
16 public declarations with native signatures and source-owned contracts.
Stvk::SemaphoreGetFdInfoKHR
Contract
Native structure VkSemaphoreGetFdInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
handle_type
handle_type: ExternalSemaphoreHandleTypeFlagBitsNative field handleType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_handle_type
Set native field handleType 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::SemaphoreGetWin32HandleInfoKHR
Contract
Native structure VkSemaphoreGetWin32HandleInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
handle_type
handle_type: ExternalSemaphoreHandleTypeFlagBitsNative field handleType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_handle_type
Set native field handleType 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::SemaphoreGetZirconHandleInfoFUCHSIA
Contract
Native structure VkSemaphoreGetZirconHandleInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
handle_type
handle_type: ExternalSemaphoreHandleTypeFlagBitsNative field handleType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_handle_type
Set native field handleType 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::SemaphoreImportFlagBits
Contract
Open integer representation of VkSemaphoreImportFlagBits.
Fields
0
0: u32Methods and associated items
TEMPORARY_BIT
Native value VK_SEMAPHORE_IMPORT_TEMPORARY_BIT.
TEMPORARY_BIT_KHR
Native value VK_SEMAPHORE_IMPORT_TEMPORARY_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::SemaphoreSignalInfo
Contract
Native structure VkSemaphoreSignalInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
value
value: u64Native field value.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_value
Set native field value 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::SemaphoreSubmitInfo
Contract
Native structure VkSemaphoreSubmitInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
value
value: u64Native field value.
stage_mask
stage_mask: PipelineStageFlags2Native field stageMask.
device_index
device_index: u32Native field deviceIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_value
Set native field value without native effects.
set_stage_mask
Set native field stageMask without native effects.
set_device_index
Set native field deviceIndex 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::SemaphoreType
Contract
Open integer representation of VkSemaphoreType.
Fields
0
0: i32Methods and associated items
BINARY
Native value VK_SEMAPHORE_TYPE_BINARY.
TIMELINE
Native value VK_SEMAPHORE_TYPE_TIMELINE.
BINARY_KHR
Native value VK_SEMAPHORE_TYPE_BINARY_KHR.
TIMELINE_KHR
Native value VK_SEMAPHORE_TYPE_TIMELINE_KHR.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::SemaphoreTypeCreateInfo
Contract
Native structure VkSemaphoreTypeCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore_type
semaphore_type: SemaphoreTypeNative field semaphoreType.
initial_value
initial_value: u64Native field initialValue.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore_type
Set native field semaphoreType without native effects.
set_initial_value
Set native field initialValue 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::SemaphoreWaitFlagBits
Contract
Open integer representation of VkSemaphoreWaitFlagBits.
Fields
0
0: u32Methods and associated items
ANY_BIT
Native value VK_SEMAPHORE_WAIT_ANY_BIT.
ANY_BIT_KHR
Native value VK_SEMAPHORE_WAIT_ANY_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::SemaphoreWaitInfo
Contract
Native structure VkSemaphoreWaitInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: SemaphoreWaitFlagsNative field flags.
semaphore_count
semaphore_count: u32Native field semaphoreCount.
p_semaphores
p_semaphores: *const SemaphoreNative field pSemaphores.
p_values
p_values: *const u64Native field pValues.
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_semaphore_count
Set native count semaphoreCount 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_semaphores
Borrow parallel arrays sharing native semaphoreCount. Optional arrays may be null.
Mutable arrays retain exclusive borrows of initialized output storage.
This checks lengths only; native valid usage and later raw edits remain caller obligations.
Errors
Returns a construction error for unequal lengths or native count overflow.
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::SetDescriptorBufferOffsetsInfoEXT
Contract
Native structure VkSetDescriptorBufferOffsetsInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
stage_flags
stage_flags: ShaderStageFlagsNative field stageFlags.
layout
layout: PipelineLayoutNative field layout.
first_set
first_set: u32Native field firstSet.
set_count
set_count: u32Native field setCount.
p_buffer_indices
p_buffer_indices: *const u32Native field pBufferIndices.
p_offsets
p_offsets: *const DeviceSizeNative field pOffsets.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stage_flags
Set native field stageFlags without native effects.
set_layout
Set native field layout without native effects.
set_first_set
Set native field firstSet without native effects.
set_set_count
Set native count setCount 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_buffer_indices
Borrow parallel arrays sharing native setCount. Optional arrays may be null.
Mutable arrays retain exclusive borrows of initialized output storage.
This checks lengths only; native valid usage and later raw edits remain caller obligations.
Errors
Returns a construction error for unequal lengths or native count overflow.
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::SetLatencyMarkerInfoNV
Contract
Native structure VkSetLatencyMarkerInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
present_id
present_id: u64Native field presentID.
marker
marker: LatencyMarkerNVNative field marker.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_id
Set native field presentID without native effects.
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::SetPresentConfigNV
Contract
Native structure VkSetPresentConfigNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
num_frames_per_batch
num_frames_per_batch: u32Native field numFramesPerBatch.
present_config_feedback
present_config_feedback: u32Native field presentConfigFeedback.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_num_frames_per_batch
Set native field numFramesPerBatch without native effects.
set_present_config_feedback
Set native field presentConfigFeedback 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::SetStateFlagsIndirectCommandNV
Contract
Native structure VkSetStateFlagsIndirectCommandNV.
Fields
data
data: u32Native field data.
Methods and associated items
new
Construct the record with its default native state.
set_data
Set native field data without native effects.
clone
default
Stvk::ShaderCodeTypeEXT
Contract
Open integer representation of VkShaderCodeTypeEXT.
Fields
0
0: i32Methods and associated items
BINARY_EXT
Native value VK_SHADER_CODE_TYPE_BINARY_EXT.
SPIRV_EXT
Native value VK_SHADER_CODE_TYPE_SPIRV_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ShaderCorePropertiesFlagBitsAMD
Contract
Open integer representation of VkShaderCorePropertiesFlagBitsAMD.
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 ==.