vk · Structs · G2
15 public declarations with native signatures and source-owned contracts.
Stvk::GpaDeviceGetClockInfoAMD
Contract
Native structure VkGpaDeviceGetClockInfoAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
memory_clock_ratio_to_peak
memory_clock_ratio_to_peak: f32Native field memoryClockRatioToPeak.
engine_clock_ratio_to_peak
engine_clock_ratio_to_peak: f32Native field engineClockRatioToPeak.
memory_clock_frequency
memory_clock_frequency: u32Native field memoryClockFrequency.
engine_clock_frequency
engine_clock_frequency: u32Native field engineClockFrequency.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_memory_clock_ratio_to_peak
Set native field memoryClockRatioToPeak without native effects.
set_engine_clock_ratio_to_peak
Set native field engineClockRatioToPeak without native effects.
set_memory_clock_frequency
Set native field memoryClockFrequency without native effects.
set_engine_clock_frequency
Set native field engineClockFrequency 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::GpaPerfBlockAMD
Contract
Open integer representation of VkGpaPerfBlockAMD.
Fields
0
0: i32Methods and associated items
CPF_AMD
Native value VK_GPA_PERF_BLOCK_CPF_AMD.
IA_AMD
Native value VK_GPA_PERF_BLOCK_IA_AMD.
VGT_AMD
Native value VK_GPA_PERF_BLOCK_VGT_AMD.
PA_AMD
Native value VK_GPA_PERF_BLOCK_PA_AMD.
SC_AMD
Native value VK_GPA_PERF_BLOCK_SC_AMD.
SPI_AMD
Native value VK_GPA_PERF_BLOCK_SPI_AMD.
SQ_AMD
Native value VK_GPA_PERF_BLOCK_SQ_AMD.
SX_AMD
Native value VK_GPA_PERF_BLOCK_SX_AMD.
TA_AMD
Native value VK_GPA_PERF_BLOCK_TA_AMD.
TD_AMD
Native value VK_GPA_PERF_BLOCK_TD_AMD.
TCP_AMD
Native value VK_GPA_PERF_BLOCK_TCP_AMD.
TCC_AMD
Native value VK_GPA_PERF_BLOCK_TCC_AMD.
TCA_AMD
Native value VK_GPA_PERF_BLOCK_TCA_AMD.
DB_AMD
Native value VK_GPA_PERF_BLOCK_DB_AMD.
CB_AMD
Native value VK_GPA_PERF_BLOCK_CB_AMD.
GDS_AMD
Native value VK_GPA_PERF_BLOCK_GDS_AMD.
SRBM_AMD
Native value VK_GPA_PERF_BLOCK_SRBM_AMD.
GRBM_AMD
Native value VK_GPA_PERF_BLOCK_GRBM_AMD.
GRBM_SE_AMD
Native value VK_GPA_PERF_BLOCK_GRBM_SE_AMD.
RLC_AMD
Native value VK_GPA_PERF_BLOCK_RLC_AMD.
DMA_AMD
Native value VK_GPA_PERF_BLOCK_DMA_AMD.
MC_AMD
Native value VK_GPA_PERF_BLOCK_MC_AMD.
CPG_AMD
Native value VK_GPA_PERF_BLOCK_CPG_AMD.
CPC_AMD
Native value VK_GPA_PERF_BLOCK_CPC_AMD.
WD_AMD
Native value VK_GPA_PERF_BLOCK_WD_AMD.
TCS_AMD
Native value VK_GPA_PERF_BLOCK_TCS_AMD.
ATC_AMD
Native value VK_GPA_PERF_BLOCK_ATC_AMD.
ATC_L2_AMD
Native value VK_GPA_PERF_BLOCK_ATC_L2_AMD.
MC_VM_L2_AMD
Native value VK_GPA_PERF_BLOCK_MC_VM_L2_AMD.
EA_AMD
Native value VK_GPA_PERF_BLOCK_EA_AMD.
RPB_AMD
Native value VK_GPA_PERF_BLOCK_RPB_AMD.
RMI_AMD
Native value VK_GPA_PERF_BLOCK_RMI_AMD.
UMCCH_AMD
Native value VK_GPA_PERF_BLOCK_UMCCH_AMD.
GE_AMD
Native value VK_GPA_PERF_BLOCK_GE_AMD.
GL1A_AMD
Native value VK_GPA_PERF_BLOCK_GL1A_AMD.
GL1C_AMD
Native value VK_GPA_PERF_BLOCK_GL1C_AMD.
GL1CG_AMD
Native value VK_GPA_PERF_BLOCK_GL1CG_AMD.
GL2A_AMD
Native value VK_GPA_PERF_BLOCK_GL2A_AMD.
GL2C_AMD
Native value VK_GPA_PERF_BLOCK_GL2C_AMD.
CHA_AMD
Native value VK_GPA_PERF_BLOCK_CHA_AMD.
CHC_AMD
Native value VK_GPA_PERF_BLOCK_CHC_AMD.
CHCG_AMD
Native value VK_GPA_PERF_BLOCK_CHCG_AMD.
GUS_AMD
Native value VK_GPA_PERF_BLOCK_GUS_AMD.
GCR_AMD
Native value VK_GPA_PERF_BLOCK_GCR_AMD.
PH_AMD
Native value VK_GPA_PERF_BLOCK_PH_AMD.
UTCL1_AMD
Native value VK_GPA_PERF_BLOCK_UTCL1_AMD.
GE1_AMD
Native value VK_GPA_PERF_BLOCK_GE1_AMD.
GE_DIST_AMD
Native value VK_GPA_PERF_BLOCK_GE_DIST_AMD.
GE_SE_AMD
Native value VK_GPA_PERF_BLOCK_GE_SE_AMD.
DF_MALL_AMD
Native value VK_GPA_PERF_BLOCK_DF_MALL_AMD.
SQ_WGP_AMD
Native value VK_GPA_PERF_BLOCK_SQ_WGP_AMD.
PC_AMD
Native value VK_GPA_PERF_BLOCK_PC_AMD.
GL1XA_AMD
Native value VK_GPA_PERF_BLOCK_GL1XA_AMD.
GL1XC_AMD
Native value VK_GPA_PERF_BLOCK_GL1XC_AMD.
WGS_AMD
Native value VK_GPA_PERF_BLOCK_WGS_AMD.
EACPWD_AMD
Native value VK_GPA_PERF_BLOCK_EACPWD_AMD.
EASE_AMD
Native value VK_GPA_PERF_BLOCK_EASE_AMD.
RLCUSER_AMD
Native value VK_GPA_PERF_BLOCK_RLCUSER_AMD.
RLCLOCAL_AMD
Native value VK_GPA_PERF_BLOCK_RLCLOCAL_AMD.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::GpaPerfBlockPropertiesAMD
Contract
Native structure VkGpaPerfBlockPropertiesAMD.
Fields
block_type
block_type: GpaPerfBlockAMDNative field blockType.
flags
flags: GpaPerfBlockPropertiesFlagsAMDNative field flags.
instance_count
instance_count: u32Native field instanceCount.
max_event_id
max_event_id: u32Native field maxEventID.
max_global_only_counters
max_global_only_counters: u32Native field maxGlobalOnlyCounters.
max_global_shared_counters
max_global_shared_counters: u32Native field maxGlobalSharedCounters.
max_streaming_counters
max_streaming_counters: u32Native field maxStreamingCounters.
Methods and associated items
new
Construct the record with its default native state.
set_block_type
Set native field blockType without native effects.
set_flags
Set native field flags without native effects.
set_instance_count
Set native field instanceCount without native effects.
set_max_event_id
Set native field maxEventID without native effects.
set_max_global_only_counters
Set native field maxGlobalOnlyCounters without native effects.
set_max_global_shared_counters
Set native field maxGlobalSharedCounters without native effects.
set_max_streaming_counters
Set native field maxStreamingCounters without native effects.
clone
default
Stvk::GpaPerfBlockPropertiesFlagsAMD
Contract
Open integer representation of VkGpaPerfBlockPropertiesFlagsAMD.
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::GpaPerfCounterAMD
Contract
Native structure VkGpaPerfCounterAMD.
Fields
block_type
block_type: GpaPerfBlockAMDNative field blockType.
block_instance
block_instance: u32Native field blockInstance.
event_id
event_id: u32Native field eventID.
Methods and associated items
new
Construct the record with its default native state.
set_block_type
Set native field blockType without native effects.
set_block_instance
Set native field blockInstance without native effects.
set_event_id
Set native field eventID without native effects.
clone
default
Stvk::GpaSampleBeginInfoAMD
pub struct GpaSampleBeginInfoAMD<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub sample_type: GpaSampleTypeAMD,
pub sample_internal_operations: Bool32,
pub cache_flush_on_counter_collection: Bool32,
pub sq_shader_mask_enable: Bool32,
pub sq_shader_mask: GpaSqShaderStageFlagsAMD,
pub perf_counter_count: u32,
pub p_perf_counters: *const GpaPerfCounterAMD,
pub streaming_perf_trace_sample_interval: u32,
pub perf_counter_device_memory_limit: DeviceSize,
pub sq_thread_trace_enable: Bool32,
pub sq_thread_trace_suppress_instruction_tokens: Bool32,
pub sq_thread_trace_device_memory_limit: DeviceSize,
pub timing_pre_sample: PipelineStageFlags,
pub timing_post_sample: PipelineStageFlags,
/* private fields */
}Contract
Native structure VkGpaSampleBeginInfoAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
sample_type
sample_type: GpaSampleTypeAMDNative field sampleType.
sample_internal_operations
sample_internal_operations: Bool32Native field sampleInternalOperations.
cache_flush_on_counter_collection
cache_flush_on_counter_collection: Bool32Native field cacheFlushOnCounterCollection.
sq_shader_mask_enable
sq_shader_mask_enable: Bool32Native field sqShaderMaskEnable.
sq_shader_mask
sq_shader_mask: GpaSqShaderStageFlagsAMDNative field sqShaderMask.
perf_counter_count
perf_counter_count: u32Native field perfCounterCount.
p_perf_counters
p_perf_counters: *const GpaPerfCounterAMDNative field pPerfCounters.
streaming_perf_trace_sample_interval
streaming_perf_trace_sample_interval: u32Native field streamingPerfTraceSampleInterval.
perf_counter_device_memory_limit
perf_counter_device_memory_limit: DeviceSizeNative field perfCounterDeviceMemoryLimit.
sq_thread_trace_enable
sq_thread_trace_enable: Bool32Native field sqThreadTraceEnable.
sq_thread_trace_suppress_instruction_tokens
sq_thread_trace_suppress_instruction_tokens: Bool32Native field sqThreadTraceSuppressInstructionTokens.
sq_thread_trace_device_memory_limit
sq_thread_trace_device_memory_limit: DeviceSizeNative field sqThreadTraceDeviceMemoryLimit.
timing_pre_sample
timing_pre_sample: PipelineStageFlagsNative field timingPreSample.
timing_post_sample
timing_post_sample: PipelineStageFlagsNative field timingPostSample.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_sample_type
Set native field sampleType without native effects.
set_sample_internal_operations
Set native field sampleInternalOperations without native effects.
set_cache_flush_on_counter_collection
Set native field cacheFlushOnCounterCollection without native effects.
set_sq_shader_mask_enable
Set native field sqShaderMaskEnable without native effects.
set_sq_shader_mask
Set native field sqShaderMask without native effects.
set_perf_counter_count
Set native count perfCounterCount 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_perf_counters
Borrow pPerfCounters and set checked native count perfCounterCount.
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_streaming_perf_trace_sample_interval
Set native field streamingPerfTraceSampleInterval without native effects.
set_perf_counter_device_memory_limit
Set native field perfCounterDeviceMemoryLimit without native effects.
set_sq_thread_trace_enable
Set native field sqThreadTraceEnable without native effects.
set_sq_thread_trace_suppress_instruction_tokens
Set native field sqThreadTraceSuppressInstructionTokens without native effects.
set_sq_thread_trace_device_memory_limit
Set native field sqThreadTraceDeviceMemoryLimit without native effects.
set_timing_pre_sample
Set native field timingPreSample without native effects.
set_timing_post_sample
Set native field timingPostSample 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::GpaSampleTypeAMD
Contract
Open integer representation of VkGpaSampleTypeAMD.
Fields
0
0: i32Methods and associated items
CUMULATIVE_AMD
Native value VK_GPA_SAMPLE_TYPE_CUMULATIVE_AMD.
TRACE_AMD
Native value VK_GPA_SAMPLE_TYPE_TRACE_AMD.
TIMING_AMD
Native value VK_GPA_SAMPLE_TYPE_TIMING_AMD.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::GpaSessionAMD
Contract
Raw Vulkan handle VkGpaSessionAMD.
Khronos reference: VkGpaSessionAMD
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::GpaSessionCreateInfoAMD
Contract
Native structure VkGpaSessionCreateInfoAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
secondary_copy_source
secondary_copy_source: GpaSessionAMDNative field secondaryCopySource.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_secondary_copy_source
Set native field secondaryCopySource 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::GpaSqShaderStageFlagBitsAMD
Contract
Open integer representation of VkGpaSqShaderStageFlagBitsAMD.
Fields
0
0: u32Methods and associated items
PS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_PS_BIT_AMD.
VS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_VS_BIT_AMD.
GS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_GS_BIT_AMD.
ES_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_ES_BIT_AMD.
HS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_HS_BIT_AMD.
LS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_LS_BIT_AMD.
CS_BIT_AMD
Native value VK_GPA_SQ_SHADER_STAGE_CS_BIT_AMD.
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::GraphicsPipelineCreateInfo
pub struct GraphicsPipelineCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineCreateFlags,
pub stage_count: u32,
pub p_stages: *const PipelineShaderStageCreateInfo<'a>,
pub p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>,
pub p_input_assembly_state: *const PipelineInputAssemblyStateCreateInfo<'a>,
pub p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>,
pub p_viewport_state: *const PipelineViewportStateCreateInfo<'a>,
pub p_rasterization_state: *const PipelineRasterizationStateCreateInfo<'a>,
pub p_multisample_state: *const PipelineMultisampleStateCreateInfo<'a>,
pub p_depth_stencil_state: *const PipelineDepthStencilStateCreateInfo<'a>,
pub p_color_blend_state: *const PipelineColorBlendStateCreateInfo<'a>,
pub p_dynamic_state: *const PipelineDynamicStateCreateInfo<'a>,
pub layout: PipelineLayout,
pub render_pass: RenderPass,
pub subpass: u32,
pub base_pipeline_handle: Pipeline,
pub base_pipeline_index: i32,
/* private fields */
}Contract
Native structure VkGraphicsPipelineCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineCreateFlagsNative field flags.
stage_count
stage_count: u32Native field stageCount.
p_stages
p_stages: *const PipelineShaderStageCreateInfo<'a>Native field pStages.
p_vertex_input_state
p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>Native field pVertexInputState.
p_input_assembly_state
p_input_assembly_state: *const PipelineInputAssemblyStateCreateInfo<'a>Native field pInputAssemblyState.
p_tessellation_state
p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>Native field pTessellationState.
p_viewport_state
p_viewport_state: *const PipelineViewportStateCreateInfo<'a>Native field pViewportState.
p_rasterization_state
p_rasterization_state: *const PipelineRasterizationStateCreateInfo<'a>Native field pRasterizationState.
p_multisample_state
p_multisample_state: *const PipelineMultisampleStateCreateInfo<'a>Native field pMultisampleState.
p_depth_stencil_state
p_depth_stencil_state: *const PipelineDepthStencilStateCreateInfo<'a>Native field pDepthStencilState.
p_color_blend_state
p_color_blend_state: *const PipelineColorBlendStateCreateInfo<'a>Native field pColorBlendState.
p_dynamic_state
p_dynamic_state: *const PipelineDynamicStateCreateInfo<'a>Native field pDynamicState.
layout
layout: PipelineLayoutNative field layout.
render_pass
render_pass: RenderPassNative field renderPass.
subpass
subpass: u32Native field subpass.
base_pipeline_handle
base_pipeline_handle: PipelineNative field basePipelineHandle.
base_pipeline_index
base_pipeline_index: i32Native field basePipelineIndex.
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_stage_count
Set native count stageCount 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_stages
Borrow pStages and set checked native count stageCount.
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_vertex_input_state
Set native field pVertexInputState without native effects.
set_input_assembly_state
Set native field pInputAssemblyState without native effects.
set_tessellation_state
Set native field pTessellationState without native effects.
set_viewport_state
Set native field pViewportState without native effects.
set_rasterization_state
Set native field pRasterizationState without native effects.
set_multisample_state
Set native field pMultisampleState without native effects.
set_depth_stencil_state
Set native field pDepthStencilState without native effects.
set_color_blend_state
Set native field pColorBlendState without native effects.
set_dynamic_state
Set native field pDynamicState without native effects.
set_layout
Set native field layout without native effects.
set_render_pass
Set native field renderPass without native effects.
set_subpass
Set native field subpass without native effects.
set_base_pipeline_handle
Set native field basePipelineHandle without native effects.
set_base_pipeline_index
Set native field basePipelineIndex 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::GraphicsPipelineLibraryCreateInfoEXT
Contract
Native structure VkGraphicsPipelineLibraryCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: GraphicsPipelineLibraryFlagsEXTNative field flags.
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.
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::GraphicsPipelineLibraryFlagBitsEXT
Contract
Open integer representation of VkGraphicsPipelineLibraryFlagBitsEXT.
Fields
0
0: u32Methods and associated items
VERTEX_INPUT_INTERFACE_BIT_EXT
Native value VK_GRAPHICS_PIPELINE_LIBRARY_VERTEX_INPUT_INTERFACE_BIT_EXT.
Khronos reference: VK_GRAPHICS_PIPELINE_LIBRARY_VERTEX_INPUT_INTERFACE_BIT_EXT
PRE_RASTERIZATION_SHADERS_BIT_EXT
Native value VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT.
Khronos reference: VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT
FRAGMENT_SHADER_BIT_EXT
Native value VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT.
Khronos reference: VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT
FRAGMENT_OUTPUT_INTERFACE_BIT_EXT
Native value VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT.
Khronos reference: VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_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::GraphicsPipelineShaderGroupsCreateInfoNV
Contract
Native structure VkGraphicsPipelineShaderGroupsCreateInfoNV.
Khronos reference: VkGraphicsPipelineShaderGroupsCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
group_count
group_count: u32Native field groupCount.
p_groups
p_groups: *const GraphicsShaderGroupCreateInfoNV<'a>Native field pGroups.
pipeline_count
pipeline_count: u32Native field pipelineCount.
p_pipelines
p_pipelines: *const PipelineNative field pPipelines.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_group_count
Set native count groupCount 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_groups
Borrow pGroups and set checked native count groupCount.
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_pipeline_count
Set native count pipelineCount 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_pipelines
Borrow pPipelines and set checked native count pipelineCount.
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::GraphicsShaderGroupCreateInfoNV
pub struct GraphicsShaderGroupCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub stage_count: u32,
pub p_stages: *const PipelineShaderStageCreateInfo<'a>,
pub p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>,
pub p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>,
/* private fields */
}Contract
Native structure VkGraphicsShaderGroupCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
stage_count
stage_count: u32Native field stageCount.
p_stages
p_stages: *const PipelineShaderStageCreateInfo<'a>Native field pStages.
p_vertex_input_state
p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>Native field pVertexInputState.
p_tessellation_state
p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>Native field pTessellationState.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stage_count
Set native count stageCount 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_stages
Borrow pStages and set checked native count stageCount.
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_vertex_input_state
Set native field pVertexInputState without native effects.
set_tessellation_state
Set native field pTessellationState 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.