Realm

vk · Structs · P34

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

StRustExperimental

Stvk::PipelineInputAssemblyStateCreateInfo

pub struct PipelineInputAssemblyStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineInputAssemblyStateCreateFlags, pub topology: PrimitiveTopology, pub primitive_restart_enable: Bool32, /* private fields */ }
Native structure VkPipelineInputAssemblyStateCreateInfo.

Contract

Native structure VkPipelineInputAssemblyStateCreateInfo.

Khronos reference: VkPipelineInputAssemblyStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineInputAssemblyStateCreateFlags

Native field flags.

topology

Field
topology: PrimitiveTopology

Native field topology.

primitive_restart_enable

Field
primitive_restart_enable: Bool32

Native field primitiveRestartEnable.

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

Set native field flags without native effects.

set_topology

Method
pub fn set_topology(self, value: PrimitiveTopology) -> Self

Set native field topology without native effects.

set_primitive_restart_enable

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

Set native field primitiveRestartEnable 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::PipelineLayout

Contract

Raw Vulkan handle VkPipelineLayout.

Khronos reference: VkPipelineLayout 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: &PipelineLayout) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::PipelineLayoutCreateFlagBits

Contract

Open integer representation of VkPipelineLayoutCreateFlagBits.

Khronos reference: VkPipelineLayoutCreateFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineLayoutCreateInfo

pub struct PipelineLayoutCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineLayoutCreateFlags, pub set_layout_count: u32, pub p_set_layouts: *const DescriptorSetLayout, pub push_constant_range_count: u32, pub p_push_constant_ranges: *const PushConstantRange, /* private fields */ }
Native structure VkPipelineLayoutCreateInfo.

Contract

Native structure VkPipelineLayoutCreateInfo.

Khronos reference: VkPipelineLayoutCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineLayoutCreateFlags

Native field flags.

set_layout_count

Field
set_layout_count: u32

Native field setLayoutCount.

p_set_layouts

Field
p_set_layouts: *const DescriptorSetLayout

Native field pSetLayouts.

push_constant_range_count

Field
push_constant_range_count: u32

Native field pushConstantRangeCount.

p_push_constant_ranges

Field
p_push_constant_ranges: *const PushConstantRange

Native field pPushConstantRanges.

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

Set native field flags without native effects.

set_set_layout_count

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

Set native count setLayoutCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_set_layouts

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

Borrow pSetLayouts and set checked native count setLayoutCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_push_constant_range_count

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

Set native count pushConstantRangeCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_push_constant_ranges

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

Borrow pPushConstantRanges and set checked native count pushConstantRangeCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

push_next

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::PipelineLibraryCreateInfoKHR

pub struct PipelineLibraryCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub library_count: u32, pub p_libraries: *const Pipeline, /* private fields */ }
Native structure VkPipelineLibraryCreateInfoKHR.

Contract

Native structure VkPipelineLibraryCreateInfoKHR.

Khronos reference: VkPipelineLibraryCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

library_count

Field
library_count: u32

Native field libraryCount.

p_libraries

Field
p_libraries: *const Pipeline

Native field pLibraries.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_library_count

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

Set native count libraryCount 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_libraries

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

Borrow pLibraries and set checked native count libraryCount. 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::PipelineMultisampleStateCreateFlags

Contract

Open integer representation of VkPipelineMultisampleStateCreateFlags.

Khronos reference: VkPipelineMultisampleStateCreateFlags

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineMultisampleStateCreateInfo

pub struct PipelineMultisampleStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineMultisampleStateCreateFlags, pub rasterization_samples: SampleCountFlagBits, pub sample_shading_enable: Bool32, pub min_sample_shading: f32, pub p_sample_mask: *const SampleMask, pub alpha_to_coverage_enable: Bool32, pub alpha_to_one_enable: Bool32, /* private fields */ }
Native structure VkPipelineMultisampleStateCreateInfo.

Contract

Native structure VkPipelineMultisampleStateCreateInfo.

Khronos reference: VkPipelineMultisampleStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineMultisampleStateCreateFlags

Native field flags.

rasterization_samples

Field
rasterization_samples: SampleCountFlagBits

Native field rasterizationSamples.

sample_shading_enable

Field
sample_shading_enable: Bool32

Native field sampleShadingEnable.

min_sample_shading

Field
min_sample_shading: f32

Native field minSampleShading.

p_sample_mask

Field
p_sample_mask: *const SampleMask

Native field pSampleMask.

alpha_to_coverage_enable

Field
alpha_to_coverage_enable: Bool32

Native field alphaToCoverageEnable.

alpha_to_one_enable

Field
alpha_to_one_enable: Bool32

Native field alphaToOneEnable.

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

Set native field flags without native effects.

set_rasterization_samples

Method
pub fn set_rasterization_samples(self, value: SampleCountFlagBits) -> Self

Set native field rasterizationSamples without native effects.

set_sample_shading_enable

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

Set native field sampleShadingEnable without native effects.

set_min_sample_shading

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

Set native field minSampleShading without native effects.

set_sample_mask

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

Borrow sample-mask words, checking the current rasterizationSamples. Later raw/scalar edits and Vulkan valid usage remain caller obligations.

Errors

Returns a length mismatch unless there are ceil(samples / 32) words.

set_alpha_to_coverage_enable

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

Set native field alphaToCoverageEnable without native effects.

set_alpha_to_one_enable

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

Set native field alphaToOneEnable 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::PipelinePropertiesIdentifierEXT

pub struct PipelinePropertiesIdentifierEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_identifier: [u8; 16], /* private fields */ }
Native structure VkPipelinePropertiesIdentifierEXT.

Contract

Native structure VkPipelinePropertiesIdentifierEXT.

Khronos reference: VkPipelinePropertiesIdentifierEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_identifier

Field
pipeline_identifier: [u8; 16]

Native field pipelineIdentifier.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_identifier

Method
pub fn set_pipeline_identifier(self, value: [u8; 16]) -> Self

Set native field pipelineIdentifier 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::PipelineRasterizationConservativeStateCreateFlagsEXT

Contract

Open integer representation of VkPipelineRasterizationConservativeStateCreateFlagsEXT.

Khronos reference: VkPipelineRasterizationConservativeStateCreateFlagsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineRasterizationConservativeStateCreateInfoEXT

pub struct PipelineRasterizationConservativeStateCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineRasterizationConservativeStateCreateFlagsEXT, pub conservative_rasterization_mode: ConservativeRasterizationModeEXT, pub extra_primitive_overestimation_size: f32, /* private fields */ }
Native structure VkPipelineRasterizationConservativeStateCreateInfoEXT.

Contract

Native structure VkPipelineRasterizationConservativeStateCreateInfoEXT.

Khronos reference: VkPipelineRasterizationConservativeStateCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineRasterizationConservativeStateCreateFlagsEXT

Native field flags.

conservative_rasterization_mode

Field
conservative_rasterization_mode: ConservativeRasterizationModeEXT

Native field conservativeRasterizationMode.

extra_primitive_overestimation_size

Field
extra_primitive_overestimation_size: f32

Native field extraPrimitiveOverestimationSize.

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

Set native field flags without native effects.

set_conservative_rasterization_mode

Method
pub fn set_conservative_rasterization_mode( self, value: ConservativeRasterizationModeEXT, ) -> Self

Set native field conservativeRasterizationMode without native effects.

set_extra_primitive_overestimation_size

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

Set native field extraPrimitiveOverestimationSize 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::PipelineRasterizationDepthClipStateCreateFlagsEXT

Contract

Open integer representation of VkPipelineRasterizationDepthClipStateCreateFlagsEXT.

Khronos reference: VkPipelineRasterizationDepthClipStateCreateFlagsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineRasterizationDepthClipStateCreateInfoEXT

pub struct PipelineRasterizationDepthClipStateCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineRasterizationDepthClipStateCreateFlagsEXT, pub depth_clip_enable: Bool32, /* private fields */ }
Native structure VkPipelineRasterizationDepthClipStateCreateInfoEXT.

Contract

Native structure VkPipelineRasterizationDepthClipStateCreateInfoEXT.

Khronos reference: VkPipelineRasterizationDepthClipStateCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineRasterizationDepthClipStateCreateFlagsEXT

Native field flags.

depth_clip_enable

Field
depth_clip_enable: Bool32

Native field depthClipEnable.

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

Set native field flags without native effects.

set_depth_clip_enable

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

Set native field depthClipEnable 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::PipelineRasterizationLineStateCreateInfo

pub struct PipelineRasterizationLineStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub line_rasterization_mode: LineRasterizationMode, pub stippled_line_enable: Bool32, pub line_stipple_factor: u32, pub line_stipple_pattern: u16, /* private fields */ }
Native structure VkPipelineRasterizationLineStateCreateInfo.

Contract

Native structure VkPipelineRasterizationLineStateCreateInfo.

Khronos reference: VkPipelineRasterizationLineStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

line_rasterization_mode

Field
line_rasterization_mode: LineRasterizationMode

Native field lineRasterizationMode.

stippled_line_enable

Field
stippled_line_enable: Bool32

Native field stippledLineEnable.

line_stipple_factor

Field
line_stipple_factor: u32

Native field lineStippleFactor.

line_stipple_pattern

Field
line_stipple_pattern: u16

Native field lineStipplePattern.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_line_rasterization_mode

Method
pub fn set_line_rasterization_mode(self, value: LineRasterizationMode) -> Self

Set native field lineRasterizationMode without native effects.

set_stippled_line_enable

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

Set native field stippledLineEnable without native effects.

set_line_stipple_factor

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

Set native field lineStippleFactor without native effects.

set_line_stipple_pattern

Method
pub fn set_line_stipple_pattern(self, value: u16) -> Self

Set native field lineStipplePattern 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::PipelineRasterizationProvokingVertexStateCreateInfoEXT

pub struct PipelineRasterizationProvokingVertexStateCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub provoking_vertex_mode: ProvokingVertexModeEXT, /* private fields */ }
Native structure VkPipelineRasterizationProvokingVertexStateCreateInfoEXT.

Contract

Native structure VkPipelineRasterizationProvokingVertexStateCreateInfoEXT.

Khronos reference: VkPipelineRasterizationProvokingVertexStateCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

provoking_vertex_mode

Field
provoking_vertex_mode: ProvokingVertexModeEXT

Native field provokingVertexMode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_provoking_vertex_mode

Method
pub fn set_provoking_vertex_mode(self, value: ProvokingVertexModeEXT) -> Self

Set native field provokingVertexMode 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::PipelineRasterizationStateCreateFlags

Contract

Open integer representation of VkPipelineRasterizationStateCreateFlags.

Khronos reference: VkPipelineRasterizationStateCreateFlags

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineRasterizationStateCreateInfo

pub struct PipelineRasterizationStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineRasterizationStateCreateFlags, pub depth_clamp_enable: Bool32, pub rasterizer_discard_enable: Bool32, pub polygon_mode: PolygonMode, pub cull_mode: CullModeFlags, pub front_face: FrontFace, pub depth_bias_enable: Bool32, pub depth_bias_constant_factor: f32, pub depth_bias_clamp: f32, pub depth_bias_slope_factor: f32, pub line_width: f32, /* private fields */ }
Native structure VkPipelineRasterizationStateCreateInfo.

Contract

Native structure VkPipelineRasterizationStateCreateInfo.

Khronos reference: VkPipelineRasterizationStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineRasterizationStateCreateFlags

Native field flags.

depth_clamp_enable

Field
depth_clamp_enable: Bool32

Native field depthClampEnable.

rasterizer_discard_enable

Field
rasterizer_discard_enable: Bool32

Native field rasterizerDiscardEnable.

polygon_mode

Field
polygon_mode: PolygonMode

Native field polygonMode.

cull_mode

Field
cull_mode: CullModeFlags

Native field cullMode.

front_face

Field
front_face: FrontFace

Native field frontFace.

depth_bias_enable

Field
depth_bias_enable: Bool32

Native field depthBiasEnable.

depth_bias_constant_factor

Field
depth_bias_constant_factor: f32

Native field depthBiasConstantFactor.

depth_bias_clamp

Field
depth_bias_clamp: f32

Native field depthBiasClamp.

depth_bias_slope_factor

Field
depth_bias_slope_factor: f32

Native field depthBiasSlopeFactor.

line_width

Field
line_width: f32

Native field lineWidth.

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

Set native field flags without native effects.

set_depth_clamp_enable

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

Set native field depthClampEnable without native effects.

set_rasterizer_discard_enable

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

Set native field rasterizerDiscardEnable without native effects.

set_polygon_mode

Method
pub fn set_polygon_mode(self, value: PolygonMode) -> Self

Set native field polygonMode without native effects.

set_cull_mode

Method
pub fn set_cull_mode(self, value: CullModeFlags) -> Self

Set native field cullMode without native effects.

set_front_face

Method
pub fn set_front_face(self, value: FrontFace) -> Self

Set native field frontFace without native effects.

set_depth_bias_enable

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

Set native field depthBiasEnable without native effects.

set_depth_bias_constant_factor

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

Set native field depthBiasConstantFactor without native effects.

set_depth_bias_clamp

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

Set native field depthBiasClamp without native effects.

set_depth_bias_slope_factor

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

Set native field depthBiasSlopeFactor without native effects.

set_line_width

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

Set native field lineWidth 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.