vk · Structs · P36
16 public declarations with native signatures and source-owned contracts.
Stvk::PipelineTessellationStateCreateFlags
Contract
Open integer representation of VkPipelineTessellationStateCreateFlags.
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::PipelineTessellationStateCreateInfo
Contract
Native structure VkPipelineTessellationStateCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineTessellationStateCreateFlagsNative field flags.
patch_control_points
patch_control_points: u32Native field patchControlPoints.
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_patch_control_points
Set native field patchControlPoints 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::PipelineVertexInputDivisorStateCreateInfo
Contract
Native structure VkPipelineVertexInputDivisorStateCreateInfo.
Khronos reference: VkPipelineVertexInputDivisorStateCreateInfo
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
vertex_binding_divisor_count
vertex_binding_divisor_count: u32Native field vertexBindingDivisorCount.
p_vertex_binding_divisors
p_vertex_binding_divisors: *const VertexInputBindingDivisorDescriptionNative field pVertexBindingDivisors.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vertex_binding_divisor_count
Set native count vertexBindingDivisorCount 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_vertex_binding_divisors
Borrow pVertexBindingDivisors and set checked native count vertexBindingDivisorCount.
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::PipelineVertexInputStateCreateFlags
Contract
Open integer representation of VkPipelineVertexInputStateCreateFlags.
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::PipelineVertexInputStateCreateInfo
pub struct PipelineVertexInputStateCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineVertexInputStateCreateFlags,
pub vertex_binding_description_count: u32,
pub p_vertex_binding_descriptions: *const VertexInputBindingDescription,
pub vertex_attribute_description_count: u32,
pub p_vertex_attribute_descriptions: *const VertexInputAttributeDescription,
/* private fields */
}Contract
Native structure VkPipelineVertexInputStateCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineVertexInputStateCreateFlagsNative field flags.
vertex_binding_description_count
vertex_binding_description_count: u32Native field vertexBindingDescriptionCount.
p_vertex_binding_descriptions
p_vertex_binding_descriptions: *const VertexInputBindingDescriptionNative field pVertexBindingDescriptions.
vertex_attribute_description_count
vertex_attribute_description_count: u32Native field vertexAttributeDescriptionCount.
p_vertex_attribute_descriptions
p_vertex_attribute_descriptions: *const VertexInputAttributeDescriptionNative field pVertexAttributeDescriptions.
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_vertex_binding_description_count
Set native count vertexBindingDescriptionCount 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_vertex_binding_descriptions
Borrow pVertexBindingDescriptions and set checked native count vertexBindingDescriptionCount.
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_attribute_description_count
Set native count vertexAttributeDescriptionCount 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_vertex_attribute_descriptions
Borrow pVertexAttributeDescriptions and set checked native count vertexAttributeDescriptionCount.
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::PipelineViewportCoarseSampleOrderStateCreateInfoNV
Contract
Native structure VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.
Khronos reference: VkPipelineViewportCoarseSampleOrderStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
sample_order_type
sample_order_type: CoarseSampleOrderTypeNVNative field sampleOrderType.
custom_sample_order_count
custom_sample_order_count: u32Native field customSampleOrderCount.
p_custom_sample_orders
p_custom_sample_orders: *const CoarseSampleOrderCustomNV<'a>Native field pCustomSampleOrders.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_sample_order_type
Set native field sampleOrderType without native effects.
set_custom_sample_order_count
Set native count customSampleOrderCount 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_custom_sample_orders
Borrow pCustomSampleOrders and set checked native count customSampleOrderCount.
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::PipelineViewportDepthClampControlCreateInfoEXT
Contract
Native structure VkPipelineViewportDepthClampControlCreateInfoEXT.
Khronos reference: VkPipelineViewportDepthClampControlCreateInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
depth_clamp_mode
depth_clamp_mode: DepthClampModeEXTNative field depthClampMode.
p_depth_clamp_range
p_depth_clamp_range: *const DepthClampRangeEXTNative field pDepthClampRange.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_depth_clamp_mode
Set native field depthClampMode without native effects.
set_depth_clamp_range
Set native field pDepthClampRange 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::PipelineViewportDepthClipControlCreateInfoEXT
Contract
Native structure VkPipelineViewportDepthClipControlCreateInfoEXT.
Khronos reference: VkPipelineViewportDepthClipControlCreateInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
negative_one_to_one
negative_one_to_one: Bool32Native field negativeOneToOne.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_negative_one_to_one
Set native field negativeOneToOne 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::PipelineViewportExclusiveScissorStateCreateInfoNV
Contract
Native structure VkPipelineViewportExclusiveScissorStateCreateInfoNV.
Khronos reference: VkPipelineViewportExclusiveScissorStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
exclusive_scissor_count
exclusive_scissor_count: u32Native field exclusiveScissorCount.
p_exclusive_scissors
p_exclusive_scissors: *const Rect2DNative field pExclusiveScissors.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_exclusive_scissor_count
Set native count exclusiveScissorCount 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_exclusive_scissors
Borrow pExclusiveScissors and set checked native count exclusiveScissorCount.
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::PipelineViewportShadingRateImageStateCreateInfoNV
Contract
Native structure VkPipelineViewportShadingRateImageStateCreateInfoNV.
Khronos reference: VkPipelineViewportShadingRateImageStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
shading_rate_image_enable
shading_rate_image_enable: Bool32Native field shadingRateImageEnable.
viewport_count
viewport_count: u32Native field viewportCount.
p_shading_rate_palettes
p_shading_rate_palettes: *const ShadingRatePaletteNV<'a>Native field pShadingRatePalettes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shading_rate_image_enable
Set native field shadingRateImageEnable without native effects.
set_viewport_count
Set native count viewportCount 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_shading_rate_palettes
Borrow pShadingRatePalettes and set checked native count viewportCount.
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::PipelineViewportStateCreateFlags
Contract
Open integer representation of VkPipelineViewportStateCreateFlags.
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::PipelineViewportStateCreateInfo
Contract
Native structure VkPipelineViewportStateCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineViewportStateCreateFlagsNative field flags.
viewport_count
viewport_count: u32Native field viewportCount.
p_viewports
p_viewports: *const ViewportNative field pViewports.
scissor_count
scissor_count: u32Native field scissorCount.
p_scissors
p_scissors: *const Rect2DNative field pScissors.
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_viewport_count
Set native count viewportCount 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_viewports
Borrow pViewports and set checked native count viewportCount.
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_scissor_count
Set native count scissorCount 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_scissors
Borrow pScissors and set checked native count scissorCount.
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::PipelineViewportSwizzleStateCreateFlagsNV
Contract
Open integer representation of VkPipelineViewportSwizzleStateCreateFlagsNV.
Khronos reference: VkPipelineViewportSwizzleStateCreateFlagsNV
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::PipelineViewportSwizzleStateCreateInfoNV
Contract
Native structure VkPipelineViewportSwizzleStateCreateInfoNV.
Khronos reference: VkPipelineViewportSwizzleStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineViewportSwizzleStateCreateFlagsNVNative field flags.
viewport_count
viewport_count: u32Native field viewportCount.
p_viewport_swizzles
p_viewport_swizzles: *const ViewportSwizzleNVNative field pViewportSwizzles.
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_viewport_count
Set native count viewportCount 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_viewport_swizzles
Borrow pViewportSwizzles and set checked native count viewportCount.
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::PipelineViewportWScalingStateCreateInfoNV
Contract
Native structure VkPipelineViewportWScalingStateCreateInfoNV.
Khronos reference: VkPipelineViewportWScalingStateCreateInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
viewport_w_scaling_enable
viewport_w_scaling_enable: Bool32Native field viewportWScalingEnable.
viewport_count
viewport_count: u32Native field viewportCount.
p_viewport_w_scalings
p_viewport_w_scalings: *const ViewportWScalingNVNative field pViewportWScalings.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_viewport_w_scaling_enable
Set native field viewportWScalingEnable without native effects.
set_viewport_count
Set native count viewportCount 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_viewport_w_scalings
Borrow pViewportWScalings and set checked native count viewportCount.
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::PointClippingBehavior
Contract
Open integer representation of VkPointClippingBehavior.
Fields
0
0: i32Methods and associated items
ALL_CLIP_PLANES
Native value VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES.
Khronos reference: VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES
USER_CLIP_PLANES_ONLY
Native value VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY.
Khronos reference: VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY
ALL_CLIP_PLANES_KHR
Native value VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR.
Khronos reference: VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR
USER_CLIP_PLANES_ONLY_KHR
Native value VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR.
Khronos reference: VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.