vk · Structs · P33
16 public declarations with native signatures and source-owned contracts.
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 */
}Contract
Native structure VkPipelineDepthStencilStateCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineDepthStencilStateCreateFlagsNative field flags.
depth_test_enable
depth_test_enable: Bool32Native field depthTestEnable.
depth_write_enable
depth_write_enable: Bool32Native field depthWriteEnable.
depth_compare_op
depth_compare_op: CompareOpNative field depthCompareOp.
depth_bounds_test_enable
depth_bounds_test_enable: Bool32Native field depthBoundsTestEnable.
stencil_test_enable
stencil_test_enable: Bool32Native field stencilTestEnable.
front
front: StencilOpStateNative field front.
back
back: StencilOpStateNative field back.
min_depth_bounds
min_depth_bounds: f32Native field minDepthBounds.
max_depth_bounds
max_depth_bounds: f32Native field maxDepthBounds.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_depth_test_enable
Set native field depthTestEnable without native effects.
set_depth_write_enable
Set native field depthWriteEnable without native effects.
set_depth_compare_op
Set native field depthCompareOp without native effects.
set_depth_bounds_test_enable
Set native field depthBoundsTestEnable without native effects.
set_stencil_test_enable
Set native field stencilTestEnable without native effects.
set_front
Set native field front without native effects.
set_back
Set native field back without native effects.
set_min_depth_bounds
Set native field minDepthBounds without native effects.
set_max_depth_bounds
Set native field maxDepthBounds without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineDiscardRectangleStateCreateFlagsEXT
Contract
Open integer representation of VkPipelineDiscardRectangleStateCreateFlagsEXT.
Khronos reference: VkPipelineDiscardRectangleStateCreateFlagsEXT
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::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 */
}Contract
Native structure VkPipelineDiscardRectangleStateCreateInfoEXT.
Khronos reference: VkPipelineDiscardRectangleStateCreateInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineDiscardRectangleStateCreateFlagsEXTNative field flags.
discard_rectangle_mode
discard_rectangle_mode: DiscardRectangleModeEXTNative field discardRectangleMode.
discard_rectangle_count
discard_rectangle_count: u32Native field discardRectangleCount.
p_discard_rectangles
p_discard_rectangles: *const Rect2DNative field pDiscardRectangles.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_discard_rectangle_mode
Set native field discardRectangleMode without native effects.
set_discard_rectangle_count
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
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
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineDynamicStateCreateFlags
Contract
Open integer representation of VkPipelineDynamicStateCreateFlags.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::PipelineDynamicStateCreateInfo
Contract
Native structure VkPipelineDynamicStateCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineDynamicStateCreateFlagsNative field flags.
dynamic_state_count
dynamic_state_count: u32Native field dynamicStateCount.
p_dynamic_states
p_dynamic_states: *const DynamicStateNative field pDynamicStates.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_dynamic_state_count
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
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
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineExecutableInfoKHR
Contract
Native structure VkPipelineExecutableInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline
pipeline: PipelineNative field pipeline.
executable_index
executable_index: u32Native field executableIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline
Set native field pipeline without native effects.
set_executable_index
Set native field executableIndex without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineExecutableInternalRepresentationKHR
Contract
Native structure VkPipelineExecutableInternalRepresentationKHR.
Khronos reference: VkPipelineExecutableInternalRepresentationKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
name
name: [c_char; 256]Native field name.
description
description: [c_char; 256]Native field description.
is_text
is_text: Bool32Native field isText.
data_size
data_size: usizeNative field dataSize.
p_data
p_data: *mut c_voidNative field pData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_name
Set native field name without native effects.
set_description
Set native field description without native effects.
set_is_text
Set native field isText without native effects.
set_data_size
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
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
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineExecutablePropertiesKHR
Contract
Native structure VkPipelineExecutablePropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
stages
stages: ShaderStageFlagsNative field stages.
name
name: [c_char; 256]Native field name.
description
description: [c_char; 256]Native field description.
subgroup_size
subgroup_size: u32Native field subgroupSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stages
Set native field stages without native effects.
set_name
Set native field name without native effects.
set_description
Set native field description without native effects.
set_subgroup_size
Set native field subgroupSize without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineExecutableStatisticFormatKHR
Contract
Open integer representation of VkPipelineExecutableStatisticFormatKHR.
Fields
0
0: i32Methods and associated items
BOOL32_KHR
Native value VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR.
Khronos reference: VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
INT64_KHR
Native value VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR.
Khronos reference: VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
UINT64_KHR
Native value VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR.
Khronos reference: VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
FLOAT64_KHR
Native value VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR.
Khronos reference: VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PipelineExecutableStatisticKHR
Contract
Native structure VkPipelineExecutableStatisticKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
name
name: [c_char; 256]Native field name.
description
description: [c_char; 256]Native field description.
format
format: PipelineExecutableStatisticFormatKHRNative field format.
value
value: PipelineExecutableStatisticValueKHRNative field value.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_name
Set native field name without native effects.
set_description
Set native field description without native effects.
set_format
Set native field format without native effects.
set_value
Set native field value without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineFragmentDensityMapLayeredCreateInfoVALVE
Contract
Native structure VkPipelineFragmentDensityMapLayeredCreateInfoVALVE.
Khronos reference: VkPipelineFragmentDensityMapLayeredCreateInfoVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
max_fragment_density_map_layers
max_fragment_density_map_layers: u32Native field maxFragmentDensityMapLayers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_fragment_density_map_layers
Set native field maxFragmentDensityMapLayers without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineFragmentShadingRateEnumStateCreateInfoNV
Contract
Native structure VkPipelineFragmentShadingRateEnumStateCreateInfoNV.
Khronos reference: VkPipelineFragmentShadingRateEnumStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
shading_rate_type
shading_rate_type: FragmentShadingRateTypeNVNative field shadingRateType.
shading_rate
shading_rate: FragmentShadingRateNVNative field shadingRate.
combiner_ops
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]Native field combinerOps.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shading_rate_type
Set native field shadingRateType without native effects.
set_shading_rate
Set native field shadingRate without native effects.
set_combiner_ops
Set native field combinerOps without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineFragmentShadingRateStateCreateInfoKHR
Contract
Native structure VkPipelineFragmentShadingRateStateCreateInfoKHR.
Khronos reference: VkPipelineFragmentShadingRateStateCreateInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
fragment_size
fragment_size: Extent2DNative field fragmentSize.
combiner_ops
combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]Native field combinerOps.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_size
Set native field fragmentSize without native effects.
set_combiner_ops
Set native field combinerOps without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineIndirectDeviceAddressInfoNV
Contract
Native structure VkPipelineIndirectDeviceAddressInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline_bind_point
pipeline_bind_point: PipelineBindPointNative field pipelineBindPoint.
pipeline
pipeline: PipelineNative field pipeline.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline_bind_point
Set native field pipelineBindPoint without native effects.
set_pipeline
Set native field pipeline without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineInfoKHR
Contract
Native structure VkPipelineInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline
pipeline: PipelineNative field pipeline.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline
Set native field pipeline without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::PipelineInputAssemblyStateCreateFlags
Contract
Open integer representation of VkPipelineInputAssemblyStateCreateFlags.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.