vk · Structs · I7
16 public declarations with native signatures and source-owned contracts.
Stvk::IndirectCommandsLayoutTokenNV
pub struct IndirectCommandsLayoutTokenNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub token_type: IndirectCommandsTokenTypeNV,
pub stream: u32,
pub offset: u32,
pub vertex_binding_unit: u32,
pub vertex_dynamic_stride: Bool32,
pub pushconstant_pipeline_layout: PipelineLayout,
pub pushconstant_shader_stage_flags: ShaderStageFlags,
pub pushconstant_offset: u32,
pub pushconstant_size: u32,
pub indirect_state_flags: IndirectStateFlagsNV,
pub index_type_count: u32,
pub p_index_types: *const IndexType,
pub p_index_type_values: *const u32,
/* private fields */
}Contract
Native structure VkIndirectCommandsLayoutTokenNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
token_type
token_type: IndirectCommandsTokenTypeNVNative field tokenType.
stream
stream: u32Native field stream.
offset
offset: u32Native field offset.
vertex_binding_unit
vertex_binding_unit: u32Native field vertexBindingUnit.
vertex_dynamic_stride
vertex_dynamic_stride: Bool32Native field vertexDynamicStride.
pushconstant_pipeline_layout
pushconstant_pipeline_layout: PipelineLayoutNative field pushconstantPipelineLayout.
pushconstant_shader_stage_flags
pushconstant_shader_stage_flags: ShaderStageFlagsNative field pushconstantShaderStageFlags.
pushconstant_offset
pushconstant_offset: u32Native field pushconstantOffset.
pushconstant_size
pushconstant_size: u32Native field pushconstantSize.
indirect_state_flags
indirect_state_flags: IndirectStateFlagsNVNative field indirectStateFlags.
index_type_count
index_type_count: u32Native field indexTypeCount.
p_index_types
p_index_types: *const IndexTypeNative field pIndexTypes.
p_index_type_values
p_index_type_values: *const u32Native field pIndexTypeValues.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_token_type
Set native field tokenType without native effects.
set_stream
Set native field stream without native effects.
set_offset
Set native field offset without native effects.
set_vertex_binding_unit
Set native field vertexBindingUnit without native effects.
set_vertex_dynamic_stride
Set native field vertexDynamicStride without native effects.
set_pushconstant_pipeline_layout
Set native field pushconstantPipelineLayout without native effects.
set_pushconstant_shader_stage_flags
Set native field pushconstantShaderStageFlags without native effects.
set_pushconstant_offset
Set native field pushconstantOffset without native effects.
set_pushconstant_size
Set native field pushconstantSize without native effects.
set_indirect_state_flags
Set native field indirectStateFlags without native effects.
set_index_type_count
Set native count indexTypeCount 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_index_types
Borrow parallel arrays sharing native indexTypeCount. 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::IndirectCommandsLayoutUsageFlagBitsEXT
Contract
Open integer representation of VkIndirectCommandsLayoutUsageFlagBitsEXT.
Fields
0
0: u32Methods and associated items
EXPLICIT_PREPROCESS_BIT_EXT
Native value VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_EXT
UNORDERED_SEQUENCES_BIT_EXT
Native value VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_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::IndirectCommandsLayoutUsageFlagBitsNV
Contract
Open integer representation of VkIndirectCommandsLayoutUsageFlagBitsNV.
Fields
0
0: u32Methods and associated items
EXPLICIT_PREPROCESS_BIT_NV
Native value VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV.
Khronos reference: VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV
INDEXED_SEQUENCES_BIT_NV
Native value VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV.
Khronos reference: VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV
UNORDERED_SEQUENCES_BIT_NV
Native value VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV.
Khronos reference: VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV
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::IndirectCommandsPushConstantTokenEXT
Contract
Native structure VkIndirectCommandsPushConstantTokenEXT.
Fields
update_range
update_range: PushConstantRangeNative field updateRange.
Methods and associated items
new
Construct the record with its default native state.
set_update_range
Set native field updateRange without native effects.
clone
default
Stvk::IndirectCommandsStreamNV
Contract
Native structure VkIndirectCommandsStreamNV.
Fields
buffer
buffer: BufferNative field buffer.
offset
offset: DeviceSizeNative field offset.
Methods and associated items
new
Construct the record with its default native state.
set_buffer
Set native field buffer without native effects.
set_offset
Set native field offset without native effects.
clone
default
Stvk::IndirectCommandsTokenTypeEXT
Contract
Open integer representation of VkIndirectCommandsTokenTypeEXT.
Fields
0
0: i32Methods and associated items
EXECUTION_SET_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXT
PUSH_CONSTANT_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXT
SEQUENCE_INDEX_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXT
INDEX_BUFFER_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT
VERTEX_BUFFER_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXT
DRAW_INDEXED_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_EXT
DRAW_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_EXT.
DRAW_INDEXED_COUNT_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_COUNT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_COUNT_EXT
DRAW_COUNT_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_COUNT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_COUNT_EXT
DISPATCH_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_EXT
PUSH_DATA_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_EXT
PUSH_DATA_SEQUENCE_INDEX_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_SEQUENCE_INDEX_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_SEQUENCE_INDEX_EXT
DRAW_MESH_TASKS_NV_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV_EXT
DRAW_MESH_TASKS_COUNT_NV_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_NV_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_NV_EXT
DRAW_MESH_TASKS_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_EXT
DRAW_MESH_TASKS_COUNT_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_COUNT_EXT
TRACE_RAYS2_EXT
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_TRACE_RAYS2_EXT.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_TRACE_RAYS2_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::IndirectCommandsTokenTypeNV
Contract
Open integer representation of VkIndirectCommandsTokenTypeNV.
Fields
0
0: i32Methods and associated items
SHADER_GROUP_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV
STATE_FLAGS_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV
INDEX_BUFFER_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV
VERTEX_BUFFER_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV
PUSH_CONSTANT_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV
DRAW_INDEXED_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV
DRAW_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV.
DRAW_TASKS_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV
PUSH_DATA_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_NV
DRAW_MESH_TASKS_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV
PIPELINE_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NV
DISPATCH_NV
Native value VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NV.
Khronos reference: VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NV
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::IndirectCommandsVertexBufferTokenEXT
Contract
Native structure VkIndirectCommandsVertexBufferTokenEXT.
Fields
vertex_binding_unit
vertex_binding_unit: u32Native field vertexBindingUnit.
Methods and associated items
new
Construct the record with its default native state.
set_vertex_binding_unit
Set native field vertexBindingUnit without native effects.
clone
default
Stvk::IndirectExecutionSetCreateInfoEXT
Contract
Native structure VkIndirectExecutionSetCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
type
type: IndirectExecutionSetInfoTypeEXTNative field type.
info
info: IndirectExecutionSetInfoEXT<'a>Native field info.
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_info
Set native field info 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::IndirectExecutionSetEXT
Contract
Raw Vulkan handle VkIndirectExecutionSetEXT.
Khronos reference: VkIndirectExecutionSetEXT
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::IndirectExecutionSetInfoTypeEXT
Contract
Open integer representation of VkIndirectExecutionSetInfoTypeEXT.
Fields
0
0: i32Methods and associated items
PIPELINES_EXT
Native value VK_INDIRECT_EXECUTION_SET_INFO_TYPE_PIPELINES_EXT.
Khronos reference: VK_INDIRECT_EXECUTION_SET_INFO_TYPE_PIPELINES_EXT
SHADER_OBJECTS_EXT
Native value VK_INDIRECT_EXECUTION_SET_INFO_TYPE_SHADER_OBJECTS_EXT.
Khronos reference: VK_INDIRECT_EXECUTION_SET_INFO_TYPE_SHADER_OBJECTS_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::IndirectExecutionSetPipelineInfoEXT
Contract
Native structure VkIndirectExecutionSetPipelineInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
initial_pipeline
initial_pipeline: PipelineNative field initialPipeline.
max_pipeline_count
max_pipeline_count: u32Native field maxPipelineCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_initial_pipeline
Set native field initialPipeline without native effects.
set_max_pipeline_count
Set native field maxPipelineCount 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::IndirectExecutionSetShaderInfoEXT
pub struct IndirectExecutionSetShaderInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub shader_count: u32,
pub p_initial_shaders: *const ShaderEXT,
pub p_set_layout_infos: *const IndirectExecutionSetShaderLayoutInfoEXT<'a>,
pub max_shader_count: u32,
pub push_constant_range_count: u32,
pub p_push_constant_ranges: *const PushConstantRange,
/* private fields */
}Contract
Native structure VkIndirectExecutionSetShaderInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
shader_count
shader_count: u32Native field shaderCount.
p_initial_shaders
p_initial_shaders: *const ShaderEXTNative field pInitialShaders.
p_set_layout_infos
p_set_layout_infos: *const IndirectExecutionSetShaderLayoutInfoEXT<'a>Native field pSetLayoutInfos.
max_shader_count
max_shader_count: u32Native field maxShaderCount.
push_constant_range_count
push_constant_range_count: u32Native field pushConstantRangeCount.
p_push_constant_ranges
p_push_constant_ranges: *const PushConstantRangeNative field pPushConstantRanges.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_count
Set native count shaderCount 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_initial_shaders
Borrow parallel arrays sharing native shaderCount. 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_max_shader_count
Set native field maxShaderCount without native effects.
set_push_constant_range_count
Set native count pushConstantRangeCount 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_push_constant_ranges
Borrow pPushConstantRanges and set checked native count pushConstantRangeCount.
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::IndirectExecutionSetShaderLayoutInfoEXT
Contract
Native structure VkIndirectExecutionSetShaderLayoutInfoEXT.
Khronos reference: VkIndirectExecutionSetShaderLayoutInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
set_layout_count
set_layout_count: u32Native field setLayoutCount.
p_set_layouts
p_set_layouts: *const DescriptorSetLayoutNative field pSetLayouts.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_set_layout_count
Set native count setLayoutCount 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_set_layouts
Borrow pSetLayouts and set checked native count setLayoutCount.
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::IndirectStateFlagBitsNV
Contract
Open integer representation of VkIndirectStateFlagBitsNV.
Fields
0
0: u32Methods and associated items
FLAG_FRONTFACE_BIT_NV
Native value VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV.
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::InitializePerformanceApiInfoINTEL
Contract
Native structure VkInitializePerformanceApiInfoINTEL.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_user_data
p_user_data: *mut c_voidNative field pUserData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_user_data
Set native pointer pUserData explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
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.