vk · Structs · S15
16 public declarations with native signatures and source-owned contracts.
Stvk::StreamDescriptorSurfaceCreateInfoGGP
Contract
Native structure VkStreamDescriptorSurfaceCreateInfoGGP.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: StreamDescriptorSurfaceCreateFlagsGGPNative field flags.
stream_descriptor
stream_descriptor: GgpStreamDescriptorNative field streamDescriptor.
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_stream_descriptor
Set native field streamDescriptor 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::StridedDeviceAddressNV
Contract
Native structure VkStridedDeviceAddressNV.
Fields
start_address
start_address: DeviceAddressNative field startAddress.
stride_in_bytes
stride_in_bytes: DeviceSizeNative field strideInBytes.
Methods and associated items
new
Construct the record with its default native state.
set_start_address
Set native field startAddress without native effects.
set_stride_in_bytes
Set native field strideInBytes without native effects.
clone
default
Stvk::StridedDeviceAddressRangeKHR
Contract
Native structure VkStridedDeviceAddressRangeKHR.
Fields
address
address: DeviceAddressNative field address.
size
size: DeviceSizeNative field size.
stride
stride: DeviceSizeNative field stride.
Methods and associated items
new
Construct the record with its default native state.
set_address
Set native field address without native effects.
set_size
Set native field size without native effects.
set_stride
Set native field stride without native effects.
clone
default
Stvk::StridedDeviceAddressRegionKHR
Contract
Native structure VkStridedDeviceAddressRegionKHR.
Fields
device_address
device_address: DeviceAddressNative field deviceAddress.
stride
stride: DeviceSizeNative field stride.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its default native state.
set_device_address
Set native field deviceAddress without native effects.
set_stride
Set native field stride without native effects.
set_size
Set native field size without native effects.
clone
default
Stvk::SubgroupFeatureFlagBits
Contract
Open integer representation of VkSubgroupFeatureFlagBits.
Fields
0
0: u32Methods and associated items
BASIC_BIT
Native value VK_SUBGROUP_FEATURE_BASIC_BIT.
VOTE_BIT
Native value VK_SUBGROUP_FEATURE_VOTE_BIT.
ARITHMETIC_BIT
Native value VK_SUBGROUP_FEATURE_ARITHMETIC_BIT.
BALLOT_BIT
Native value VK_SUBGROUP_FEATURE_BALLOT_BIT.
SHUFFLE_BIT
Native value VK_SUBGROUP_FEATURE_SHUFFLE_BIT.
SHUFFLE_RELATIVE_BIT
Native value VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT.
CLUSTERED_BIT
Native value VK_SUBGROUP_FEATURE_CLUSTERED_BIT.
QUAD_BIT
Native value VK_SUBGROUP_FEATURE_QUAD_BIT.
ROTATE_BIT
Native value VK_SUBGROUP_FEATURE_ROTATE_BIT.
ROTATE_CLUSTERED_BIT
Native value VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT.
PARTITIONED_BIT_NV
Native value VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV.
ROTATE_BIT_KHR
Native value VK_SUBGROUP_FEATURE_ROTATE_BIT_KHR.
ROTATE_CLUSTERED_BIT_KHR
Native value VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR.
Khronos reference: VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR
PARTITIONED_BIT_EXT
Native value VK_SUBGROUP_FEATURE_PARTITIONED_BIT_EXT.
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::SubmitFlagBits
Contract
Open integer representation of VkSubmitFlagBits.
Fields
0
0: u32Methods and associated items
PROTECTED_BIT
Native value VK_SUBMIT_PROTECTED_BIT.
PROTECTED_BIT_KHR
Native value VK_SUBMIT_PROTECTED_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::SubmitInfo
pub struct SubmitInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub wait_semaphore_count: u32,
pub p_wait_semaphores: *const Semaphore,
pub p_wait_dst_stage_mask: *const PipelineStageFlags,
pub command_buffer_count: u32,
pub p_command_buffers: *const CommandBuffer,
pub signal_semaphore_count: u32,
pub p_signal_semaphores: *const Semaphore,
/* private fields */
}Contract
Native structure VkSubmitInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
wait_semaphore_count
wait_semaphore_count: u32Native field waitSemaphoreCount.
p_wait_semaphores
p_wait_semaphores: *const SemaphoreNative field pWaitSemaphores.
p_wait_dst_stage_mask
p_wait_dst_stage_mask: *const PipelineStageFlagsNative field pWaitDstStageMask.
command_buffer_count
command_buffer_count: u32Native field commandBufferCount.
p_command_buffers
p_command_buffers: *const CommandBufferNative field pCommandBuffers.
signal_semaphore_count
signal_semaphore_count: u32Native field signalSemaphoreCount.
p_signal_semaphores
p_signal_semaphores: *const SemaphoreNative field pSignalSemaphores.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_wait_semaphore_count
Set native count waitSemaphoreCount 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_wait_semaphores
Borrow parallel arrays sharing native waitSemaphoreCount. 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.
set_command_buffer_count
Set native count commandBufferCount 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_command_buffers
Borrow pCommandBuffers and set checked native count commandBufferCount.
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.
set_signal_semaphore_count
Set native count signalSemaphoreCount 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_signal_semaphores
Borrow pSignalSemaphores and set checked native count signalSemaphoreCount.
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::SubmitInfo2
pub struct SubmitInfo2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SubmitFlags,
pub wait_semaphore_info_count: u32,
pub p_wait_semaphore_infos: *const SemaphoreSubmitInfo<'a>,
pub command_buffer_info_count: u32,
pub p_command_buffer_infos: *const CommandBufferSubmitInfo<'a>,
pub signal_semaphore_info_count: u32,
pub p_signal_semaphore_infos: *const SemaphoreSubmitInfo<'a>,
/* private fields */
}Contract
Native structure VkSubmitInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: SubmitFlagsNative field flags.
wait_semaphore_info_count
wait_semaphore_info_count: u32Native field waitSemaphoreInfoCount.
p_wait_semaphore_infos
p_wait_semaphore_infos: *const SemaphoreSubmitInfo<'a>Native field pWaitSemaphoreInfos.
command_buffer_info_count
command_buffer_info_count: u32Native field commandBufferInfoCount.
p_command_buffer_infos
p_command_buffer_infos: *const CommandBufferSubmitInfo<'a>Native field pCommandBufferInfos.
signal_semaphore_info_count
signal_semaphore_info_count: u32Native field signalSemaphoreInfoCount.
p_signal_semaphore_infos
p_signal_semaphore_infos: *const SemaphoreSubmitInfo<'a>Native field pSignalSemaphoreInfos.
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_wait_semaphore_info_count
Set native count waitSemaphoreInfoCount 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_wait_semaphore_infos
Borrow pWaitSemaphoreInfos and set checked native count waitSemaphoreInfoCount.
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.
set_command_buffer_info_count
Set native count commandBufferInfoCount 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_command_buffer_infos
Borrow pCommandBufferInfos and set checked native count commandBufferInfoCount.
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.
set_signal_semaphore_info_count
Set native count signalSemaphoreInfoCount 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_signal_semaphore_infos
Borrow pSignalSemaphoreInfos and set checked native count signalSemaphoreInfoCount.
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::SubpassBeginInfo
Contract
Native structure VkSubpassBeginInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
contents
contents: SubpassContentsNative field contents.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_contents
Set native field contents 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::SubpassContents
Contract
Open integer representation of VkSubpassContents.
Fields
0
0: i32Methods and associated items
INLINE
Native value VK_SUBPASS_CONTENTS_INLINE.
SECONDARY_COMMAND_BUFFERS
Native value VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS.
Khronos reference: VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT
Native value VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT.
Khronos reference: VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT
INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR
Native value VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR.
Khronos reference: VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::SubpassDependency
Contract
Native structure VkSubpassDependency.
Fields
src_subpass
src_subpass: u32Native field srcSubpass.
dst_subpass
dst_subpass: u32Native field dstSubpass.
src_stage_mask
src_stage_mask: PipelineStageFlagsNative field srcStageMask.
dst_stage_mask
dst_stage_mask: PipelineStageFlagsNative field dstStageMask.
src_access_mask
src_access_mask: AccessFlagsNative field srcAccessMask.
dst_access_mask
dst_access_mask: AccessFlagsNative field dstAccessMask.
dependency_flags
dependency_flags: DependencyFlagsNative field dependencyFlags.
Methods and associated items
new
Construct the record with its default native state.
set_src_subpass
Set native field srcSubpass without native effects.
set_dst_subpass
Set native field dstSubpass without native effects.
set_src_stage_mask
Set native field srcStageMask without native effects.
set_dst_stage_mask
Set native field dstStageMask without native effects.
set_src_access_mask
Set native field srcAccessMask without native effects.
set_dst_access_mask
Set native field dstAccessMask without native effects.
set_dependency_flags
Set native field dependencyFlags without native effects.
clone
default
Stvk::SubpassDependency2
pub struct SubpassDependency2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_subpass: u32,
pub dst_subpass: u32,
pub src_stage_mask: PipelineStageFlags,
pub dst_stage_mask: PipelineStageFlags,
pub src_access_mask: AccessFlags,
pub dst_access_mask: AccessFlags,
pub dependency_flags: DependencyFlags,
pub view_offset: i32,
/* private fields */
}Contract
Native structure VkSubpassDependency2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_subpass
src_subpass: u32Native field srcSubpass.
dst_subpass
dst_subpass: u32Native field dstSubpass.
src_stage_mask
src_stage_mask: PipelineStageFlagsNative field srcStageMask.
dst_stage_mask
dst_stage_mask: PipelineStageFlagsNative field dstStageMask.
src_access_mask
src_access_mask: AccessFlagsNative field srcAccessMask.
dst_access_mask
dst_access_mask: AccessFlagsNative field dstAccessMask.
dependency_flags
dependency_flags: DependencyFlagsNative field dependencyFlags.
view_offset
view_offset: i32Native field viewOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_subpass
Set native field srcSubpass without native effects.
set_dst_subpass
Set native field dstSubpass without native effects.
set_src_stage_mask
Set native field srcStageMask without native effects.
set_dst_stage_mask
Set native field dstStageMask without native effects.
set_src_access_mask
Set native field srcAccessMask without native effects.
set_dst_access_mask
Set native field dstAccessMask without native effects.
set_dependency_flags
Set native field dependencyFlags without native effects.
set_view_offset
Set native field viewOffset 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::SubpassDescription
pub struct SubpassDescription<'a> {
pub flags: SubpassDescriptionFlags,
pub pipeline_bind_point: PipelineBindPoint,
pub input_attachment_count: u32,
pub p_input_attachments: *const AttachmentReference,
pub color_attachment_count: u32,
pub p_color_attachments: *const AttachmentReference,
pub p_resolve_attachments: *const AttachmentReference,
pub p_depth_stencil_attachment: *const AttachmentReference,
pub preserve_attachment_count: u32,
pub p_preserve_attachments: *const u32,
/* private fields */
}Contract
Native structure VkSubpassDescription.
Fields
flags
flags: SubpassDescriptionFlagsNative field flags.
pipeline_bind_point
pipeline_bind_point: PipelineBindPointNative field pipelineBindPoint.
input_attachment_count
input_attachment_count: u32Native field inputAttachmentCount.
p_input_attachments
p_input_attachments: *const AttachmentReferenceNative field pInputAttachments.
color_attachment_count
color_attachment_count: u32Native field colorAttachmentCount.
p_color_attachments
p_color_attachments: *const AttachmentReferenceNative field pColorAttachments.
p_resolve_attachments
p_resolve_attachments: *const AttachmentReferenceNative field pResolveAttachments.
p_depth_stencil_attachment
p_depth_stencil_attachment: *const AttachmentReferenceNative field pDepthStencilAttachment.
preserve_attachment_count
preserve_attachment_count: u32Native field preserveAttachmentCount.
p_preserve_attachments
p_preserve_attachments: *const u32Native field pPreserveAttachments.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_pipeline_bind_point
Set native field pipelineBindPoint without native effects.
set_input_attachment_count
Set native count inputAttachmentCount 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_input_attachments
Borrow pInputAttachments and set checked native count inputAttachmentCount.
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.
set_color_attachment_count
Set native count colorAttachmentCount 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_color_attachments
Borrow parallel arrays sharing native colorAttachmentCount. 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.
set_depth_stencil_attachment
Set native field pDepthStencilAttachment without native effects.
set_preserve_attachment_count
Set native count preserveAttachmentCount 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_preserve_attachments
Borrow pPreserveAttachments and set checked native count preserveAttachmentCount.
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.
clone
default
Stvk::SubpassDescription2
pub struct SubpassDescription2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SubpassDescriptionFlags,
pub pipeline_bind_point: PipelineBindPoint,
pub view_mask: u32,
pub input_attachment_count: u32,
pub p_input_attachments: *const AttachmentReference2<'a>,
pub color_attachment_count: u32,
pub p_color_attachments: *const AttachmentReference2<'a>,
pub p_resolve_attachments: *const AttachmentReference2<'a>,
pub p_depth_stencil_attachment: *const AttachmentReference2<'a>,
pub preserve_attachment_count: u32,
pub p_preserve_attachments: *const u32,
/* private fields */
}Contract
Native structure VkSubpassDescription2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: SubpassDescriptionFlagsNative field flags.
pipeline_bind_point
pipeline_bind_point: PipelineBindPointNative field pipelineBindPoint.
view_mask
view_mask: u32Native field viewMask.
input_attachment_count
input_attachment_count: u32Native field inputAttachmentCount.
p_input_attachments
p_input_attachments: *const AttachmentReference2<'a>Native field pInputAttachments.
color_attachment_count
color_attachment_count: u32Native field colorAttachmentCount.
p_color_attachments
p_color_attachments: *const AttachmentReference2<'a>Native field pColorAttachments.
p_resolve_attachments
p_resolve_attachments: *const AttachmentReference2<'a>Native field pResolveAttachments.
p_depth_stencil_attachment
p_depth_stencil_attachment: *const AttachmentReference2<'a>Native field pDepthStencilAttachment.
preserve_attachment_count
preserve_attachment_count: u32Native field preserveAttachmentCount.
p_preserve_attachments
p_preserve_attachments: *const u32Native field pPreserveAttachments.
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_pipeline_bind_point
Set native field pipelineBindPoint without native effects.
set_view_mask
Set native field viewMask without native effects.
set_input_attachment_count
Set native count inputAttachmentCount 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_input_attachments
Borrow pInputAttachments and set checked native count inputAttachmentCount.
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.
set_color_attachment_count
Set native count colorAttachmentCount 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_color_attachments
Borrow parallel arrays sharing native colorAttachmentCount. 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.
set_depth_stencil_attachment
Set native field pDepthStencilAttachment without native effects.
set_preserve_attachment_count
Set native count preserveAttachmentCount 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_preserve_attachments
Borrow pPreserveAttachments and set checked native count preserveAttachmentCount.
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::SubpassDescriptionDepthStencilResolve
Contract
Native structure VkSubpassDescriptionDepthStencilResolve.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
depth_resolve_mode
depth_resolve_mode: ResolveModeFlagBitsNative field depthResolveMode.
stencil_resolve_mode
stencil_resolve_mode: ResolveModeFlagBitsNative field stencilResolveMode.
p_depth_stencil_resolve_attachment
p_depth_stencil_resolve_attachment: *const AttachmentReference2<'a>Native field pDepthStencilResolveAttachment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_depth_resolve_mode
Set native field depthResolveMode without native effects.
set_stencil_resolve_mode
Set native field stencilResolveMode without native effects.
set_depth_stencil_resolve_attachment
Set native field pDepthStencilResolveAttachment 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::SubpassDescriptionFlagBits
Contract
Open integer representation of VkSubpassDescriptionFlagBits.
Fields
0
0: u32Methods and associated items
PER_VIEW_ATTRIBUTES_BIT_NVX
Native value VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX.
Khronos reference: VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX
PER_VIEW_POSITION_X_ONLY_BIT_NVX
Native value VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX.
Khronos reference: VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX
FRAGMENT_REGION_BIT_QCOM
Native value VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM.
Khronos reference: VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM
SHADER_RESOLVE_BIT_QCOM
Native value VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM.
Khronos reference: VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM
TILE_SHADING_APRON_BIT_QCOM
Native value VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM.
Khronos reference: VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM
RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM
RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_ARM
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_ARM.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_ARM
RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_ARM
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_ARM.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_ARM
RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT
RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT
RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT
ENABLE_LEGACY_DITHERING_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT
FRAGMENT_REGION_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_EXT
CUSTOM_RESOLVE_BIT_EXT
Native value VK_SUBPASS_DESCRIPTION_CUSTOM_RESOLVE_BIT_EXT.
Khronos reference: VK_SUBPASS_DESCRIPTION_CUSTOM_RESOLVE_BIT_EXT
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 ==.