Realm

vk · Structs · G2

15 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::GpaDeviceGetClockInfoAMD

pub struct GpaDeviceGetClockInfoAMD<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub memory_clock_ratio_to_peak: f32, pub engine_clock_ratio_to_peak: f32, pub memory_clock_frequency: u32, pub engine_clock_frequency: u32, /* private fields */ }
Native structure VkGpaDeviceGetClockInfoAMD.

Contract

Native structure VkGpaDeviceGetClockInfoAMD.

Khronos reference: VkGpaDeviceGetClockInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

memory_clock_ratio_to_peak

Field
memory_clock_ratio_to_peak: f32

Native field memoryClockRatioToPeak.

engine_clock_ratio_to_peak

Field
engine_clock_ratio_to_peak: f32

Native field engineClockRatioToPeak.

memory_clock_frequency

Field
memory_clock_frequency: u32

Native field memoryClockFrequency.

engine_clock_frequency

Field
engine_clock_frequency: u32

Native field engineClockFrequency.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_memory_clock_ratio_to_peak

Method
pub fn set_memory_clock_ratio_to_peak(self, value: f32) -> Self

Set native field memoryClockRatioToPeak without native effects.

set_engine_clock_ratio_to_peak

Method
pub fn set_engine_clock_ratio_to_peak(self, value: f32) -> Self

Set native field engineClockRatioToPeak without native effects.

set_memory_clock_frequency

Method
pub fn set_memory_clock_frequency(self, value: u32) -> Self

Set native field memoryClockFrequency without native effects.

set_engine_clock_frequency

Method
pub fn set_engine_clock_frequency(self, value: u32) -> Self

Set native field engineClockFrequency without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GpaPerfBlockAMD

Contract

Open integer representation of VkGpaPerfBlockAMD.

Khronos reference: VkGpaPerfBlockAMD

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GpaPerfBlockAMD
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &GpaPerfBlockAMD) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GpaPerfBlockPropertiesAMD

#[repr(C)]pub struct GpaPerfBlockPropertiesAMD { pub block_type: GpaPerfBlockAMD, pub flags: GpaPerfBlockPropertiesFlagsAMD, pub instance_count: u32, pub max_event_id: u32, pub max_global_only_counters: u32, pub max_global_shared_counters: u32, pub max_streaming_counters: u32, }
Native structure VkGpaPerfBlockPropertiesAMD.

Contract

Native structure VkGpaPerfBlockPropertiesAMD.

Khronos reference: VkGpaPerfBlockPropertiesAMD

Fields

block_type

Field
block_type: GpaPerfBlockAMD

Native field blockType.

flags

Field
flags: GpaPerfBlockPropertiesFlagsAMD

Native field flags.

instance_count

Field
instance_count: u32

Native field instanceCount.

max_event_id

Field
max_event_id: u32

Native field maxEventID.

max_global_only_counters

Field
max_global_only_counters: u32

Native field maxGlobalOnlyCounters.

max_global_shared_counters

Field
max_global_shared_counters: u32

Native field maxGlobalSharedCounters.

max_streaming_counters

Field
max_streaming_counters: u32

Native field maxStreamingCounters.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_block_type

Method
pub fn set_block_type(self, value: GpaPerfBlockAMD) -> Self

Set native field blockType without native effects.

set_flags

Method
pub fn set_flags(self, value: GpaPerfBlockPropertiesFlagsAMD) -> Self

Set native field flags without native effects.

set_instance_count

Method
pub fn set_instance_count(self, value: u32) -> Self

Set native field instanceCount without native effects.

set_max_event_id

Method
pub fn set_max_event_id(self, value: u32) -> Self

Set native field maxEventID without native effects.

set_max_global_only_counters

Method
pub fn set_max_global_only_counters(self, value: u32) -> Self

Set native field maxGlobalOnlyCounters without native effects.

set_max_global_shared_counters

Method
pub fn set_max_global_shared_counters(self, value: u32) -> Self

Set native field maxGlobalSharedCounters without native effects.

set_max_streaming_counters

Method
pub fn set_max_streaming_counters(self, value: u32) -> Self

Set native field maxStreamingCounters without native effects.

clone

Method
fn clone(&self) -> GpaPerfBlockPropertiesAMD
Returns a duplicate of the value. Read more

Stvk::GpaPerfBlockPropertiesFlagsAMD

Contract

Open integer representation of VkGpaPerfBlockPropertiesFlagsAMD.

Khronos reference: VkGpaPerfBlockPropertiesFlagsAMD

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = GpaPerfBlockPropertiesFlagsAMD
The resulting type after applying the & operator.

Output-1

Method
type Output = GpaPerfBlockPropertiesFlagsAMD
The resulting type after applying the | operator.

Output-2

Method
type Output = GpaPerfBlockPropertiesFlagsAMD
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> GpaPerfBlockPropertiesFlagsAMD
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GpaPerfBlockPropertiesFlagsAMD
Returns the “default value” for a type. Read more

Output-3

Method
type Output = GpaPerfBlockPropertiesFlagsAMD
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &GpaPerfBlockPropertiesFlagsAMD) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GpaPerfCounterAMD

Contract

Native structure VkGpaPerfCounterAMD.

Khronos reference: VkGpaPerfCounterAMD

Fields

block_type

Field
block_type: GpaPerfBlockAMD

Native field blockType.

block_instance

Field
block_instance: u32

Native field blockInstance.

event_id

Field
event_id: u32

Native field eventID.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_block_type

Method
pub fn set_block_type(self, value: GpaPerfBlockAMD) -> Self

Set native field blockType without native effects.

set_block_instance

Method
pub fn set_block_instance(self, value: u32) -> Self

Set native field blockInstance without native effects.

set_event_id

Method
pub fn set_event_id(self, value: u32) -> Self

Set native field eventID without native effects.

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 */ }
Native structure VkGpaSampleBeginInfoAMD.

Contract

Native structure VkGpaSampleBeginInfoAMD.

Khronos reference: VkGpaSampleBeginInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

sample_type

Field
sample_type: GpaSampleTypeAMD

Native field sampleType.

sample_internal_operations

Field
sample_internal_operations: Bool32

Native field sampleInternalOperations.

cache_flush_on_counter_collection

Field
cache_flush_on_counter_collection: Bool32

Native field cacheFlushOnCounterCollection.

sq_shader_mask_enable

Field
sq_shader_mask_enable: Bool32

Native field sqShaderMaskEnable.

sq_shader_mask

Field
sq_shader_mask: GpaSqShaderStageFlagsAMD

Native field sqShaderMask.

perf_counter_count

Field
perf_counter_count: u32

Native field perfCounterCount.

p_perf_counters

Field
p_perf_counters: *const GpaPerfCounterAMD

Native field pPerfCounters.

streaming_perf_trace_sample_interval

Field
streaming_perf_trace_sample_interval: u32

Native field streamingPerfTraceSampleInterval.

perf_counter_device_memory_limit

Field
perf_counter_device_memory_limit: DeviceSize

Native field perfCounterDeviceMemoryLimit.

sq_thread_trace_enable

Field
sq_thread_trace_enable: Bool32

Native field sqThreadTraceEnable.

sq_thread_trace_suppress_instruction_tokens

Field
sq_thread_trace_suppress_instruction_tokens: Bool32

Native field sqThreadTraceSuppressInstructionTokens.

sq_thread_trace_device_memory_limit

Field
sq_thread_trace_device_memory_limit: DeviceSize

Native field sqThreadTraceDeviceMemoryLimit.

timing_pre_sample

Field
timing_pre_sample: PipelineStageFlags

Native field timingPreSample.

timing_post_sample

Field
timing_post_sample: PipelineStageFlags

Native field timingPostSample.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_sample_type

Method
pub fn set_sample_type(self, value: GpaSampleTypeAMD) -> Self

Set native field sampleType without native effects.

set_sample_internal_operations

Method
pub fn set_sample_internal_operations(self, value: Bool32) -> Self

Set native field sampleInternalOperations without native effects.

set_cache_flush_on_counter_collection

Method
pub fn set_cache_flush_on_counter_collection(self, value: Bool32) -> Self

Set native field cacheFlushOnCounterCollection without native effects.

set_sq_shader_mask_enable

Method
pub fn set_sq_shader_mask_enable(self, value: Bool32) -> Self

Set native field sqShaderMaskEnable without native effects.

set_sq_shader_mask

Method
pub fn set_sq_shader_mask(self, value: GpaSqShaderStageFlagsAMD) -> Self

Set native field sqShaderMask without native effects.

set_perf_counter_count

Method
pub fn set_perf_counter_count(self, value: u32) -> Self

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

Method
pub fn set_perf_counters( self, value: &'a [GpaPerfCounterAMD], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_streaming_perf_trace_sample_interval(self, value: u32) -> Self

Set native field streamingPerfTraceSampleInterval without native effects.

set_perf_counter_device_memory_limit

Method
pub fn set_perf_counter_device_memory_limit(self, value: DeviceSize) -> Self

Set native field perfCounterDeviceMemoryLimit without native effects.

set_sq_thread_trace_enable

Method
pub fn set_sq_thread_trace_enable(self, value: Bool32) -> Self

Set native field sqThreadTraceEnable without native effects.

set_sq_thread_trace_suppress_instruction_tokens

Method
pub fn set_sq_thread_trace_suppress_instruction_tokens( self, value: Bool32, ) -> Self

Set native field sqThreadTraceSuppressInstructionTokens without native effects.

set_sq_thread_trace_device_memory_limit

Method
pub fn set_sq_thread_trace_device_memory_limit(self, value: DeviceSize) -> Self

Set native field sqThreadTraceDeviceMemoryLimit without native effects.

set_timing_pre_sample

Method
pub fn set_timing_pre_sample(self, value: PipelineStageFlags) -> Self

Set native field timingPreSample without native effects.

set_timing_post_sample

Method
pub fn set_timing_post_sample(self, value: PipelineStageFlags) -> Self

Set native field timingPostSample without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GpaSampleTypeAMD

Contract

Open integer representation of VkGpaSampleTypeAMD.

Khronos reference: VkGpaSampleTypeAMD

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GpaSampleTypeAMD
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &GpaSampleTypeAMD) -> bool
Tests for 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

Field
0: u64
No public source comment is attached to this declaration.

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

Method
pub fn from_raw(value: u64) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub fn as_raw(self) -> u64
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &GpaSessionAMD) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GpaSessionCreateInfoAMD

pub struct GpaSessionCreateInfoAMD<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub secondary_copy_source: GpaSessionAMD, /* private fields */ }
Native structure VkGpaSessionCreateInfoAMD.

Contract

Native structure VkGpaSessionCreateInfoAMD.

Khronos reference: VkGpaSessionCreateInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

secondary_copy_source

Field
secondary_copy_source: GpaSessionAMD

Native field secondaryCopySource.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_secondary_copy_source

Method
pub fn set_secondary_copy_source(self, value: GpaSessionAMD) -> Self

Set native field secondaryCopySource without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GpaSqShaderStageFlagBitsAMD

Contract

Open integer representation of VkGpaSqShaderStageFlagBitsAMD.

Khronos reference: VkGpaSqShaderStageFlagBitsAMD

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = GpaSqShaderStageFlagBitsAMD
The resulting type after applying the & operator.

Output-1

Method
type Output = GpaSqShaderStageFlagBitsAMD
The resulting type after applying the | operator.

Output-2

Method
type Output = GpaSqShaderStageFlagBitsAMD
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> GpaSqShaderStageFlagBitsAMD
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GpaSqShaderStageFlagBitsAMD
Returns the “default value” for a type. Read more

Output-3

Method
type Output = GpaSqShaderStageFlagBitsAMD
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &GpaSqShaderStageFlagBitsAMD) -> bool
Tests for 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 */ }
Native structure VkGraphicsPipelineCreateInfo.

Contract

Native structure VkGraphicsPipelineCreateInfo.

Khronos reference: VkGraphicsPipelineCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineCreateFlags

Native field flags.

stage_count

Field
stage_count: u32

Native field stageCount.

p_stages

Field
p_stages: *const PipelineShaderStageCreateInfo<'a>

Native field pStages.

p_vertex_input_state

Field
p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>

Native field pVertexInputState.

p_input_assembly_state

Field
p_input_assembly_state: *const PipelineInputAssemblyStateCreateInfo<'a>

Native field pInputAssemblyState.

p_tessellation_state

Field
p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>

Native field pTessellationState.

p_viewport_state

Field
p_viewport_state: *const PipelineViewportStateCreateInfo<'a>

Native field pViewportState.

p_rasterization_state

Field
p_rasterization_state: *const PipelineRasterizationStateCreateInfo<'a>

Native field pRasterizationState.

p_multisample_state

Field
p_multisample_state: *const PipelineMultisampleStateCreateInfo<'a>

Native field pMultisampleState.

p_depth_stencil_state

Field
p_depth_stencil_state: *const PipelineDepthStencilStateCreateInfo<'a>

Native field pDepthStencilState.

p_color_blend_state

Field
p_color_blend_state: *const PipelineColorBlendStateCreateInfo<'a>

Native field pColorBlendState.

p_dynamic_state

Field
p_dynamic_state: *const PipelineDynamicStateCreateInfo<'a>

Native field pDynamicState.

layout

Field
layout: PipelineLayout

Native field layout.

render_pass

Field
render_pass: RenderPass

Native field renderPass.

subpass

Field
subpass: u32

Native field subpass.

base_pipeline_handle

Field
base_pipeline_handle: Pipeline

Native field basePipelineHandle.

base_pipeline_index

Field
base_pipeline_index: i32

Native field basePipelineIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: PipelineCreateFlags) -> Self

Set native field flags without native effects.

set_stage_count

Method
pub fn set_stage_count(self, value: u32) -> Self

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

Method
pub fn set_stages( self, value: &'a [PipelineShaderStageCreateInfo<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_vertex_input_state( self, value: &'a PipelineVertexInputStateCreateInfo<'a>, ) -> Self

Set native field pVertexInputState without native effects.

set_input_assembly_state

Method
pub fn set_input_assembly_state( self, value: &'a PipelineInputAssemblyStateCreateInfo<'a>, ) -> Self

Set native field pInputAssemblyState without native effects.

set_tessellation_state

Method
pub fn set_tessellation_state( self, value: &'a PipelineTessellationStateCreateInfo<'a>, ) -> Self

Set native field pTessellationState without native effects.

set_viewport_state

Method
pub fn set_viewport_state( self, value: &'a PipelineViewportStateCreateInfo<'a>, ) -> Self

Set native field pViewportState without native effects.

set_rasterization_state

Method
pub fn set_rasterization_state( self, value: &'a PipelineRasterizationStateCreateInfo<'a>, ) -> Self

Set native field pRasterizationState without native effects.

set_multisample_state

Method
pub fn set_multisample_state( self, value: &'a PipelineMultisampleStateCreateInfo<'a>, ) -> Self

Set native field pMultisampleState without native effects.

set_depth_stencil_state

Method
pub fn set_depth_stencil_state( self, value: &'a PipelineDepthStencilStateCreateInfo<'a>, ) -> Self

Set native field pDepthStencilState without native effects.

set_color_blend_state

Method
pub fn set_color_blend_state( self, value: &'a PipelineColorBlendStateCreateInfo<'a>, ) -> Self

Set native field pColorBlendState without native effects.

set_dynamic_state

Method
pub fn set_dynamic_state( self, value: &'a PipelineDynamicStateCreateInfo<'a>, ) -> Self

Set native field pDynamicState without native effects.

set_layout

Method
pub fn set_layout(self, value: PipelineLayout) -> Self

Set native field layout without native effects.

set_render_pass

Method
pub fn set_render_pass(self, value: RenderPass) -> Self

Set native field renderPass without native effects.

set_subpass

Method
pub fn set_subpass(self, value: u32) -> Self

Set native field subpass without native effects.

set_base_pipeline_handle

Method
pub fn set_base_pipeline_handle(self, value: Pipeline) -> Self

Set native field basePipelineHandle without native effects.

set_base_pipeline_index

Method
pub fn set_base_pipeline_index(self, value: i32) -> Self

Set native field basePipelineIndex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GraphicsPipelineLibraryCreateInfoEXT

pub struct GraphicsPipelineLibraryCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: GraphicsPipelineLibraryFlagsEXT, /* private fields */ }
Native structure VkGraphicsPipelineLibraryCreateInfoEXT.

Contract

Native structure VkGraphicsPipelineLibraryCreateInfoEXT.

Khronos reference: VkGraphicsPipelineLibraryCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: GraphicsPipelineLibraryFlagsEXT

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: GraphicsPipelineLibraryFlagsEXT) -> Self

Set native field flags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::GraphicsPipelineLibraryFlagBitsEXT

Contract

Open integer representation of VkGraphicsPipelineLibraryFlagBitsEXT.

Khronos reference: VkGraphicsPipelineLibraryFlagBitsEXT

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = GraphicsPipelineLibraryFlagBitsEXT
The resulting type after applying the & operator.

Output-1

Method
type Output = GraphicsPipelineLibraryFlagBitsEXT
The resulting type after applying the | operator.

Output-2

Method
type Output = GraphicsPipelineLibraryFlagBitsEXT
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> GraphicsPipelineLibraryFlagBitsEXT
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> GraphicsPipelineLibraryFlagBitsEXT
Returns the “default value” for a type. Read more

Output-3

Method
type Output = GraphicsPipelineLibraryFlagBitsEXT
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &GraphicsPipelineLibraryFlagBitsEXT) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::GraphicsPipelineShaderGroupsCreateInfoNV

pub struct GraphicsPipelineShaderGroupsCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub group_count: u32, pub p_groups: *const GraphicsShaderGroupCreateInfoNV<'a>, pub pipeline_count: u32, pub p_pipelines: *const Pipeline, /* private fields */ }
Native structure VkGraphicsPipelineShaderGroupsCreateInfoNV.

Contract

Native structure VkGraphicsPipelineShaderGroupsCreateInfoNV.

Khronos reference: VkGraphicsPipelineShaderGroupsCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

group_count

Field
group_count: u32

Native field groupCount.

p_groups

Field
p_groups: *const GraphicsShaderGroupCreateInfoNV<'a>

Native field pGroups.

pipeline_count

Field
pipeline_count: u32

Native field pipelineCount.

p_pipelines

Field
p_pipelines: *const Pipeline

Native field pPipelines.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_group_count

Method
pub fn set_group_count(self, value: u32) -> Self

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

Method
pub fn set_groups( self, value: &'a [GraphicsShaderGroupCreateInfoNV<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_pipeline_count(self, value: u32) -> Self

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

Method
pub fn set_pipelines( self, value: &'a [Pipeline], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkGraphicsShaderGroupCreateInfoNV.

Contract

Native structure VkGraphicsShaderGroupCreateInfoNV.

Khronos reference: VkGraphicsShaderGroupCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

stage_count

Field
stage_count: u32

Native field stageCount.

p_stages

Field
p_stages: *const PipelineShaderStageCreateInfo<'a>

Native field pStages.

p_vertex_input_state

Field
p_vertex_input_state: *const PipelineVertexInputStateCreateInfo<'a>

Native field pVertexInputState.

p_tessellation_state

Field
p_tessellation_state: *const PipelineTessellationStateCreateInfo<'a>

Native field pTessellationState.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_stage_count

Method
pub fn set_stage_count(self, value: u32) -> Self

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

Method
pub fn set_stages( self, value: &'a [PipelineShaderStageCreateInfo<'a>], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_vertex_input_state( self, value: &'a PipelineVertexInputStateCreateInfo<'a>, ) -> Self

Set native field pVertexInputState without native effects.

set_tessellation_state

Method
pub fn set_tessellation_state( self, value: &'a PipelineTessellationStateCreateInfo<'a>, ) -> Self

Set native field pTessellationState without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.