Realm

vk · Structs · P33

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

StRustExperimental

Stvk::PipelineDepthStencilStateCreateInfo

pub struct PipelineDepthStencilStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineDepthStencilStateCreateFlags, pub depth_test_enable: Bool32, pub depth_write_enable: Bool32, pub depth_compare_op: CompareOp, pub depth_bounds_test_enable: Bool32, pub stencil_test_enable: Bool32, pub front: StencilOpState, pub back: StencilOpState, pub min_depth_bounds: f32, pub max_depth_bounds: f32, /* private fields */ }
Native structure VkPipelineDepthStencilStateCreateInfo.

Contract

Native structure VkPipelineDepthStencilStateCreateInfo.

Khronos reference: VkPipelineDepthStencilStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineDepthStencilStateCreateFlags

Native field flags.

depth_test_enable

Field
depth_test_enable: Bool32

Native field depthTestEnable.

depth_write_enable

Field
depth_write_enable: Bool32

Native field depthWriteEnable.

depth_compare_op

Field
depth_compare_op: CompareOp

Native field depthCompareOp.

depth_bounds_test_enable

Field
depth_bounds_test_enable: Bool32

Native field depthBoundsTestEnable.

stencil_test_enable

Field
stencil_test_enable: Bool32

Native field stencilTestEnable.

front

Field
front: StencilOpState

Native field front.

back

Field
back: StencilOpState

Native field back.

min_depth_bounds

Field
min_depth_bounds: f32

Native field minDepthBounds.

max_depth_bounds

Field
max_depth_bounds: f32

Native field maxDepthBounds.

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: PipelineDepthStencilStateCreateFlags) -> Self

Set native field flags without native effects.

set_depth_test_enable

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

Set native field depthTestEnable without native effects.

set_depth_write_enable

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

Set native field depthWriteEnable without native effects.

set_depth_compare_op

Method
pub fn set_depth_compare_op(self, value: CompareOp) -> Self

Set native field depthCompareOp without native effects.

set_depth_bounds_test_enable

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

Set native field depthBoundsTestEnable without native effects.

set_stencil_test_enable

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

Set native field stencilTestEnable without native effects.

set_front

Method
pub fn set_front(self, value: StencilOpState) -> Self

Set native field front without native effects.

set_back

Method
pub fn set_back(self, value: StencilOpState) -> Self

Set native field back without native effects.

set_min_depth_bounds

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

Set native field minDepthBounds without native effects.

set_max_depth_bounds

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

Set native field maxDepthBounds 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::PipelineDiscardRectangleStateCreateFlagsEXT

Contract

Open integer representation of VkPipelineDiscardRectangleStateCreateFlagsEXT.

Khronos reference: VkPipelineDiscardRectangleStateCreateFlagsEXT

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 = PipelineDiscardRectangleStateCreateFlagsEXT
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PipelineDiscardRectangleStateCreateFlagsEXT
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() -> PipelineDiscardRectangleStateCreateFlagsEXT
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::PipelineDiscardRectangleStateCreateInfoEXT

pub struct PipelineDiscardRectangleStateCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineDiscardRectangleStateCreateFlagsEXT, pub discard_rectangle_mode: DiscardRectangleModeEXT, pub discard_rectangle_count: u32, pub p_discard_rectangles: *const Rect2D, /* private fields */ }
Native structure VkPipelineDiscardRectangleStateCreateInfoEXT.

Contract

Native structure VkPipelineDiscardRectangleStateCreateInfoEXT.

Khronos reference: VkPipelineDiscardRectangleStateCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineDiscardRectangleStateCreateFlagsEXT

Native field flags.

discard_rectangle_mode

Field
discard_rectangle_mode: DiscardRectangleModeEXT

Native field discardRectangleMode.

discard_rectangle_count

Field
discard_rectangle_count: u32

Native field discardRectangleCount.

p_discard_rectangles

Field
p_discard_rectangles: *const Rect2D

Native field pDiscardRectangles.

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: PipelineDiscardRectangleStateCreateFlagsEXT, ) -> Self

Set native field flags without native effects.

set_discard_rectangle_mode

Method
pub fn set_discard_rectangle_mode(self, value: DiscardRectangleModeEXT) -> Self

Set native field discardRectangleMode without native effects.

set_discard_rectangle_count

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

Set native count discardRectangleCount 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_discard_rectangles

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

Borrow pDiscardRectangles and set checked native count discardRectangleCount. 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::PipelineDynamicStateCreateFlags

Contract

Open integer representation of VkPipelineDynamicStateCreateFlags.

Khronos reference: VkPipelineDynamicStateCreateFlags

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 = PipelineDynamicStateCreateFlags
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PipelineDynamicStateCreateFlags
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() -> PipelineDynamicStateCreateFlags
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::PipelineDynamicStateCreateInfo

pub struct PipelineDynamicStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineDynamicStateCreateFlags, pub dynamic_state_count: u32, pub p_dynamic_states: *const DynamicState, /* private fields */ }
Native structure VkPipelineDynamicStateCreateInfo.

Contract

Native structure VkPipelineDynamicStateCreateInfo.

Khronos reference: VkPipelineDynamicStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineDynamicStateCreateFlags

Native field flags.

dynamic_state_count

Field
dynamic_state_count: u32

Native field dynamicStateCount.

p_dynamic_states

Field
p_dynamic_states: *const DynamicState

Native field pDynamicStates.

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: PipelineDynamicStateCreateFlags) -> Self

Set native field flags without native effects.

set_dynamic_state_count

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

Set native count dynamicStateCount 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_dynamic_states

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

Borrow pDynamicStates and set checked native count dynamicStateCount. 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::PipelineExecutableInfoKHR

pub struct PipelineExecutableInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub pipeline: Pipeline, pub executable_index: u32, /* private fields */ }
Native structure VkPipelineExecutableInfoKHR.

Contract

Native structure VkPipelineExecutableInfoKHR.

Khronos reference: VkPipelineExecutableInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

executable_index

Field
executable_index: u32

Native field executableIndex.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline

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

Set native field pipeline without native effects.

set_executable_index

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

Set native field executableIndex 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::PipelineExecutableInternalRepresentationKHR

pub struct PipelineExecutableInternalRepresentationKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub name: [c_char; 256], pub description: [c_char; 256], pub is_text: Bool32, pub data_size: usize, pub p_data: *mut c_void, /* private fields */ }
Native structure VkPipelineExecutableInternalRepresentationKHR.

Contract

Native structure VkPipelineExecutableInternalRepresentationKHR.

Khronos reference: VkPipelineExecutableInternalRepresentationKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

name

Field
name: [c_char; 256]

Native field name.

description

Field
description: [c_char; 256]

Native field description.

is_text

Field
is_text: Bool32

Native field isText.

data_size

Field
data_size: usize

Native field dataSize.

p_data

Field
p_data: *mut c_void

Native field pData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_name

Method
pub fn set_name(self, value: [c_char; 256]) -> Self

Set native field name without native effects.

set_description

Method
pub fn set_description(self, value: [c_char; 256]) -> Self

Set native field description without native effects.

set_is_text

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

Set native field isText without native effects.

set_data_size

Method
pub fn set_data_size(self, value: usize) -> Self

Set native count dataSize 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_data

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

Borrow pData and set checked native byte size dataSize. 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::PipelineExecutablePropertiesKHR

pub struct PipelineExecutablePropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub stages: ShaderStageFlags, pub name: [c_char; 256], pub description: [c_char; 256], pub subgroup_size: u32, /* private fields */ }
Native structure VkPipelineExecutablePropertiesKHR.

Contract

Native structure VkPipelineExecutablePropertiesKHR.

Khronos reference: VkPipelineExecutablePropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

stages

Field
stages: ShaderStageFlags

Native field stages.

name

Field
name: [c_char; 256]

Native field name.

description

Field
description: [c_char; 256]

Native field description.

subgroup_size

Field
subgroup_size: u32

Native field subgroupSize.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stages

Method
pub fn set_stages(self, value: ShaderStageFlags) -> Self

Set native field stages without native effects.

set_name

Method
pub fn set_name(self, value: [c_char; 256]) -> Self

Set native field name without native effects.

set_description

Method
pub fn set_description(self, value: [c_char; 256]) -> Self

Set native field description without native effects.

set_subgroup_size

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

Set native field subgroupSize 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::PipelineExecutableStatisticFormatKHR

Contract

Open integer representation of VkPipelineExecutableStatisticFormatKHR.

Khronos reference: VkPipelineExecutableStatisticFormatKHR

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.

clone

Method
fn clone(&self) -> PipelineExecutableStatisticFormatKHR
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() -> PipelineExecutableStatisticFormatKHR
Returns the “default value” for a type. Read more

eq

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

Stvk::PipelineExecutableStatisticKHR

pub struct PipelineExecutableStatisticKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub name: [c_char; 256], pub description: [c_char; 256], pub format: PipelineExecutableStatisticFormatKHR, pub value: PipelineExecutableStatisticValueKHR, /* private fields */ }
Native structure VkPipelineExecutableStatisticKHR.

Contract

Native structure VkPipelineExecutableStatisticKHR.

Khronos reference: VkPipelineExecutableStatisticKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

name

Field
name: [c_char; 256]

Native field name.

description

Field
description: [c_char; 256]

Native field description.

format

Field
format: PipelineExecutableStatisticFormatKHR

Native field format.

value

Field
value: PipelineExecutableStatisticValueKHR

Native field value.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_name

Method
pub fn set_name(self, value: [c_char; 256]) -> Self

Set native field name without native effects.

set_description

Method
pub fn set_description(self, value: [c_char; 256]) -> Self

Set native field description without native effects.

set_format

Method
pub fn set_format(self, value: PipelineExecutableStatisticFormatKHR) -> Self

Set native field format without native effects.

set_value

Method
pub fn set_value(self, value: PipelineExecutableStatisticValueKHR) -> Self

Set native field value 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::PipelineFragmentDensityMapLayeredCreateInfoVALVE

pub struct PipelineFragmentDensityMapLayeredCreateInfoVALVE<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub max_fragment_density_map_layers: u32, /* private fields */ }
Native structure VkPipelineFragmentDensityMapLayeredCreateInfoVALVE.

Contract

Native structure VkPipelineFragmentDensityMapLayeredCreateInfoVALVE.

Khronos reference: VkPipelineFragmentDensityMapLayeredCreateInfoVALVE

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

max_fragment_density_map_layers

Field
max_fragment_density_map_layers: u32

Native field maxFragmentDensityMapLayers.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_fragment_density_map_layers

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

Set native field maxFragmentDensityMapLayers 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::PipelineFragmentShadingRateEnumStateCreateInfoNV

pub struct PipelineFragmentShadingRateEnumStateCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub shading_rate_type: FragmentShadingRateTypeNV, pub shading_rate: FragmentShadingRateNV, pub combiner_ops: [FragmentShadingRateCombinerOpKHR; 2], /* private fields */ }
Native structure VkPipelineFragmentShadingRateEnumStateCreateInfoNV.

Contract

Native structure VkPipelineFragmentShadingRateEnumStateCreateInfoNV.

Khronos reference: VkPipelineFragmentShadingRateEnumStateCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

shading_rate_type

Field
shading_rate_type: FragmentShadingRateTypeNV

Native field shadingRateType.

shading_rate

Field
shading_rate: FragmentShadingRateNV

Native field shadingRate.

combiner_ops

Field
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]

Native field combinerOps.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shading_rate_type

Method
pub fn set_shading_rate_type(self, value: FragmentShadingRateTypeNV) -> Self

Set native field shadingRateType without native effects.

set_shading_rate

Method
pub fn set_shading_rate(self, value: FragmentShadingRateNV) -> Self

Set native field shadingRate without native effects.

set_combiner_ops

Method
pub fn set_combiner_ops( self, value: [FragmentShadingRateCombinerOpKHR; 2], ) -> Self

Set native field combinerOps 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::PipelineFragmentShadingRateStateCreateInfoKHR

pub struct PipelineFragmentShadingRateStateCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub fragment_size: Extent2D, pub combiner_ops: [FragmentShadingRateCombinerOpKHR; 2], /* private fields */ }
Native structure VkPipelineFragmentShadingRateStateCreateInfoKHR.

Contract

Native structure VkPipelineFragmentShadingRateStateCreateInfoKHR.

Khronos reference: VkPipelineFragmentShadingRateStateCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

fragment_size

Field
fragment_size: Extent2D

Native field fragmentSize.

combiner_ops

Field
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]

Native field combinerOps.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_fragment_size

Method
pub fn set_fragment_size(self, value: Extent2D) -> Self

Set native field fragmentSize without native effects.

set_combiner_ops

Method
pub fn set_combiner_ops( self, value: [FragmentShadingRateCombinerOpKHR; 2], ) -> Self

Set native field combinerOps 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::PipelineIndirectDeviceAddressInfoNV

pub struct PipelineIndirectDeviceAddressInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub pipeline_bind_point: PipelineBindPoint, pub pipeline: Pipeline, /* private fields */ }
Native structure VkPipelineIndirectDeviceAddressInfoNV.

Contract

Native structure VkPipelineIndirectDeviceAddressInfoNV.

Khronos reference: VkPipelineIndirectDeviceAddressInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline_bind_point

Field
pipeline_bind_point: PipelineBindPoint

Native field pipelineBindPoint.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_bind_point

Method
pub fn set_pipeline_bind_point(self, value: PipelineBindPoint) -> Self

Set native field pipelineBindPoint without native effects.

set_pipeline

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

Set native field pipeline 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::PipelineInfoKHR

Contract

Native structure VkPipelineInfoKHR.

Khronos reference: VkPipelineInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline

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

Set native field pipeline 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::PipelineInputAssemblyStateCreateFlags

Contract

Open integer representation of VkPipelineInputAssemblyStateCreateFlags.

Khronos reference: VkPipelineInputAssemblyStateCreateFlags

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 = PipelineInputAssemblyStateCreateFlags
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PipelineInputAssemblyStateCreateFlags
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() -> PipelineInputAssemblyStateCreateFlags
Returns the “default value” for a type. Read more

Output-3

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

eq

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