Realm

vk · Structs · R3

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

StRustExperimental

Stvk::RenderPassCreateInfo2

pub struct RenderPassCreateInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: RenderPassCreateFlags, pub attachment_count: u32, pub p_attachments: *const AttachmentDescription2<'a>, pub subpass_count: u32, pub p_subpasses: *const SubpassDescription2<'a>, pub dependency_count: u32, pub p_dependencies: *const SubpassDependency2<'a>, pub correlated_view_mask_count: u32, pub p_correlated_view_masks: *const u32, /* private fields */ }
Native structure VkRenderPassCreateInfo2.

Contract

Native structure VkRenderPassCreateInfo2.

Khronos reference: VkRenderPassCreateInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: RenderPassCreateFlags

Native field flags.

attachment_count

Field
attachment_count: u32

Native field attachmentCount.

p_attachments

Field
p_attachments: *const AttachmentDescription2<'a>

Native field pAttachments.

subpass_count

Field
subpass_count: u32

Native field subpassCount.

p_subpasses

Field
p_subpasses: *const SubpassDescription2<'a>

Native field pSubpasses.

dependency_count

Field
dependency_count: u32

Native field dependencyCount.

p_dependencies

Field
p_dependencies: *const SubpassDependency2<'a>

Native field pDependencies.

correlated_view_mask_count

Field
correlated_view_mask_count: u32

Native field correlatedViewMaskCount.

p_correlated_view_masks

Field
p_correlated_view_masks: *const u32

Native field pCorrelatedViewMasks.

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

Set native field flags without native effects.

set_attachment_count

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

Set native count attachmentCount 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_attachments

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

Borrow pAttachments and set checked native count attachmentCount. 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_subpass_count

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

Set native count subpassCount 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_subpasses

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

Borrow pSubpasses and set checked native count subpassCount. 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_dependency_count

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

Set native count dependencyCount 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_dependencies

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

Borrow pDependencies and set checked native count dependencyCount. 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_correlated_view_mask_count

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

Set native count correlatedViewMaskCount 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_correlated_view_masks

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

Borrow pCorrelatedViewMasks and set checked native count correlatedViewMaskCount. 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::RenderPassCreationControlEXT

pub struct RenderPassCreationControlEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub disallow_merging: Bool32, /* private fields */ }
Native structure VkRenderPassCreationControlEXT.

Contract

Native structure VkRenderPassCreationControlEXT.

Khronos reference: VkRenderPassCreationControlEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

disallow_merging

Field
disallow_merging: Bool32

Native field disallowMerging.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_disallow_merging

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

Set native field disallowMerging 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::RenderPassCreationFeedbackCreateInfoEXT

pub struct RenderPassCreationFeedbackCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_render_pass_feedback: *mut RenderPassCreationFeedbackInfoEXT, /* private fields */ }
Native structure VkRenderPassCreationFeedbackCreateInfoEXT.

Contract

Native structure VkRenderPassCreationFeedbackCreateInfoEXT.

Khronos reference: VkRenderPassCreationFeedbackCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_render_pass_feedback

Field
p_render_pass_feedback: *mut RenderPassCreationFeedbackInfoEXT

Native field pRenderPassFeedback.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_render_pass_feedback

Method
pub fn set_render_pass_feedback( self, value: &'a mut RenderPassCreationFeedbackInfoEXT, ) -> Self

Set native field pRenderPassFeedback 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::RenderPassCreationFeedbackInfoEXT

Contract

Native structure VkRenderPassCreationFeedbackInfoEXT.

Khronos reference: VkRenderPassCreationFeedbackInfoEXT

Fields

post_merge_subpass_count

Field
post_merge_subpass_count: u32

Native field postMergeSubpassCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_post_merge_subpass_count

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

Set native field postMergeSubpassCount without native effects.

clone

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

Stvk::RenderPassFragmentDensityMapCreateInfoEXT

pub struct RenderPassFragmentDensityMapCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub fragment_density_map_attachment: AttachmentReference, /* private fields */ }
Native structure VkRenderPassFragmentDensityMapCreateInfoEXT.

Contract

Native structure VkRenderPassFragmentDensityMapCreateInfoEXT.

Khronos reference: VkRenderPassFragmentDensityMapCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

fragment_density_map_attachment

Field
fragment_density_map_attachment: AttachmentReference

Native field fragmentDensityMapAttachment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_fragment_density_map_attachment

Method
pub fn set_fragment_density_map_attachment( self, value: AttachmentReference, ) -> Self

Set native field fragmentDensityMapAttachment 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::RenderPassFragmentDensityMapOffsetEndInfoEXT

pub struct RenderPassFragmentDensityMapOffsetEndInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub fragment_density_offset_count: u32, pub p_fragment_density_offsets: *const Offset2D, /* private fields */ }
Native structure VkRenderPassFragmentDensityMapOffsetEndInfoEXT.

Contract

Native structure VkRenderPassFragmentDensityMapOffsetEndInfoEXT.

Khronos reference: VkRenderPassFragmentDensityMapOffsetEndInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

fragment_density_offset_count

Field
fragment_density_offset_count: u32

Native field fragmentDensityOffsetCount.

p_fragment_density_offsets

Field
p_fragment_density_offsets: *const Offset2D

Native field pFragmentDensityOffsets.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_fragment_density_offset_count

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

Set native count fragmentDensityOffsetCount 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_fragment_density_offsets

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

Borrow pFragmentDensityOffsets and set checked native count fragmentDensityOffsetCount. 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::RenderPassInputAttachmentAspectCreateInfo

pub struct RenderPassInputAttachmentAspectCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub aspect_reference_count: u32, pub p_aspect_references: *const InputAttachmentAspectReference, /* private fields */ }
Native structure VkRenderPassInputAttachmentAspectCreateInfo.

Contract

Native structure VkRenderPassInputAttachmentAspectCreateInfo.

Khronos reference: VkRenderPassInputAttachmentAspectCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

aspect_reference_count

Field
aspect_reference_count: u32

Native field aspectReferenceCount.

p_aspect_references

Field
p_aspect_references: *const InputAttachmentAspectReference

Native field pAspectReferences.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_aspect_reference_count

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

Set native count aspectReferenceCount 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_aspect_references

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

Borrow pAspectReferences and set checked native count aspectReferenceCount. 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::RenderPassMultiviewCreateInfo

pub struct RenderPassMultiviewCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub subpass_count: u32, pub p_view_masks: *const u32, pub dependency_count: u32, pub p_view_offsets: *const i32, pub correlation_mask_count: u32, pub p_correlation_masks: *const u32, /* private fields */ }
Native structure VkRenderPassMultiviewCreateInfo.

Contract

Native structure VkRenderPassMultiviewCreateInfo.

Khronos reference: VkRenderPassMultiviewCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

subpass_count

Field
subpass_count: u32

Native field subpassCount.

p_view_masks

Field
p_view_masks: *const u32

Native field pViewMasks.

dependency_count

Field
dependency_count: u32

Native field dependencyCount.

p_view_offsets

Field
p_view_offsets: *const i32

Native field pViewOffsets.

correlation_mask_count

Field
correlation_mask_count: u32

Native field correlationMaskCount.

p_correlation_masks

Field
p_correlation_masks: *const u32

Native field pCorrelationMasks.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subpass_count

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

Set native count subpassCount 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_view_masks

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

Borrow pViewMasks and set checked native count subpassCount. 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_dependency_count

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

Set native count dependencyCount 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_view_offsets

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

Borrow pViewOffsets and set checked native count dependencyCount. 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_correlation_mask_count

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

Set native count correlationMaskCount 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_correlation_masks

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

Borrow pCorrelationMasks and set checked native count correlationMaskCount. 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::RenderPassPerformanceCountersByRegionBeginInfoARM

pub struct RenderPassPerformanceCountersByRegionBeginInfoARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub counter_address_count: u32, pub p_counter_addresses: *const DeviceAddress, pub serialize_regions: Bool32, pub counter_index_count: u32, pub p_counter_indices: *mut u32, /* private fields */ }
Native structure VkRenderPassPerformanceCountersByRegionBeginInfoARM.

Contract

Native structure VkRenderPassPerformanceCountersByRegionBeginInfoARM.

Khronos reference: VkRenderPassPerformanceCountersByRegionBeginInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

counter_address_count

Field
counter_address_count: u32

Native field counterAddressCount.

p_counter_addresses

Field
p_counter_addresses: *const DeviceAddress

Native field pCounterAddresses.

serialize_regions

Field
serialize_regions: Bool32

Native field serializeRegions.

counter_index_count

Field
counter_index_count: u32

Native field counterIndexCount.

p_counter_indices

Field
p_counter_indices: *mut u32

Native field pCounterIndices.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_counter_address_count

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

Set native count counterAddressCount 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_counter_addresses

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

Borrow pCounterAddresses and set checked native count counterAddressCount. 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_serialize_regions

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

Set native field serializeRegions without native effects.

set_counter_index_count

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

Set native count counterIndexCount 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_counter_indices

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

Borrow pCounterIndices and set checked native count counterIndexCount. 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::RenderPassSampleLocationsBeginInfoEXT

pub struct RenderPassSampleLocationsBeginInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub attachment_initial_sample_locations_count: u32, pub p_attachment_initial_sample_locations: *const AttachmentSampleLocationsEXT<'a>, pub post_subpass_sample_locations_count: u32, pub p_post_subpass_sample_locations: *const SubpassSampleLocationsEXT<'a>, /* private fields */ }
Native structure VkRenderPassSampleLocationsBeginInfoEXT.

Contract

Native structure VkRenderPassSampleLocationsBeginInfoEXT.

Khronos reference: VkRenderPassSampleLocationsBeginInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

attachment_initial_sample_locations_count

Field
attachment_initial_sample_locations_count: u32

Native field attachmentInitialSampleLocationsCount.

p_attachment_initial_sample_locations

Field
p_attachment_initial_sample_locations: *const AttachmentSampleLocationsEXT<'a>

Native field pAttachmentInitialSampleLocations.

post_subpass_sample_locations_count

Field
post_subpass_sample_locations_count: u32

Native field postSubpassSampleLocationsCount.

p_post_subpass_sample_locations

Field
p_post_subpass_sample_locations: *const SubpassSampleLocationsEXT<'a>

Native field pPostSubpassSampleLocations.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_attachment_initial_sample_locations_count

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

Set native count attachmentInitialSampleLocationsCount 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_attachment_initial_sample_locations

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

Borrow pAttachmentInitialSampleLocations and set checked native count attachmentInitialSampleLocationsCount. 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_post_subpass_sample_locations_count

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

Set native count postSubpassSampleLocationsCount 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_post_subpass_sample_locations

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

Borrow pPostSubpassSampleLocations and set checked native count postSubpassSampleLocationsCount. 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::RenderPassStripeBeginInfoARM

pub struct RenderPassStripeBeginInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub stripe_info_count: u32, pub p_stripe_infos: *const RenderPassStripeInfoARM<'a>, /* private fields */ }
Native structure VkRenderPassStripeBeginInfoARM.

Contract

Native structure VkRenderPassStripeBeginInfoARM.

Khronos reference: VkRenderPassStripeBeginInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

stripe_info_count

Field
stripe_info_count: u32

Native field stripeInfoCount.

p_stripe_infos

Field
p_stripe_infos: *const RenderPassStripeInfoARM<'a>

Native field pStripeInfos.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stripe_info_count

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

Set native count stripeInfoCount 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_stripe_infos

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

Borrow pStripeInfos and set checked native count stripeInfoCount. 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::RenderPassStripeInfoARM

pub struct RenderPassStripeInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub stripe_area: Rect2D, /* private fields */ }
Native structure VkRenderPassStripeInfoARM.

Contract

Native structure VkRenderPassStripeInfoARM.

Khronos reference: VkRenderPassStripeInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

stripe_area

Field
stripe_area: Rect2D

Native field stripeArea.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stripe_area

Method
pub fn set_stripe_area(self, value: Rect2D) -> Self

Set native field stripeArea 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::RenderPassStripeSubmitInfoARM

pub struct RenderPassStripeSubmitInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub stripe_semaphore_info_count: u32, pub p_stripe_semaphore_infos: *const SemaphoreSubmitInfo<'a>, /* private fields */ }
Native structure VkRenderPassStripeSubmitInfoARM.

Contract

Native structure VkRenderPassStripeSubmitInfoARM.

Khronos reference: VkRenderPassStripeSubmitInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

stripe_semaphore_info_count

Field
stripe_semaphore_info_count: u32

Native field stripeSemaphoreInfoCount.

p_stripe_semaphore_infos

Field
p_stripe_semaphore_infos: *const SemaphoreSubmitInfo<'a>

Native field pStripeSemaphoreInfos.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stripe_semaphore_info_count

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

Set native count stripeSemaphoreInfoCount 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_stripe_semaphore_infos

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

Borrow pStripeSemaphoreInfos and set checked native count stripeSemaphoreInfoCount. 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::RenderPassSubpassFeedbackCreateInfoEXT

pub struct RenderPassSubpassFeedbackCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_subpass_feedback: *mut RenderPassSubpassFeedbackInfoEXT, /* private fields */ }
Native structure VkRenderPassSubpassFeedbackCreateInfoEXT.

Contract

Native structure VkRenderPassSubpassFeedbackCreateInfoEXT.

Khronos reference: VkRenderPassSubpassFeedbackCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_subpass_feedback

Field
p_subpass_feedback: *mut RenderPassSubpassFeedbackInfoEXT

Native field pSubpassFeedback.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subpass_feedback

Method
pub fn set_subpass_feedback( self, value: &'a mut RenderPassSubpassFeedbackInfoEXT, ) -> Self

Set native field pSubpassFeedback 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::RenderPassSubpassFeedbackInfoEXT

#[repr(C)]pub struct RenderPassSubpassFeedbackInfoEXT { pub subpass_merge_status: SubpassMergeStatusEXT, pub description: [c_char; 256], pub post_merge_index: u32, }
Native structure VkRenderPassSubpassFeedbackInfoEXT.

Contract

Native structure VkRenderPassSubpassFeedbackInfoEXT.

Khronos reference: VkRenderPassSubpassFeedbackInfoEXT

Fields

subpass_merge_status

Field
subpass_merge_status: SubpassMergeStatusEXT

Native field subpassMergeStatus.

description

Field
description: [c_char; 256]

Native field description.

post_merge_index

Field
post_merge_index: u32

Native field postMergeIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_subpass_merge_status

Method
pub fn set_subpass_merge_status(self, value: SubpassMergeStatusEXT) -> Self

Set native field subpassMergeStatus without native effects.

set_description

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

Set native field description without native effects.

set_post_merge_index

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

Set native field postMergeIndex without native effects.

clone

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

Stvk::RenderPassTileShadingCreateInfoQCOM

pub struct RenderPassTileShadingCreateInfoQCOM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: TileShadingRenderPassFlagsQCOM, pub tile_apron_size: Extent2D, /* private fields */ }
Native structure VkRenderPassTileShadingCreateInfoQCOM.

Contract

Native structure VkRenderPassTileShadingCreateInfoQCOM.

Khronos reference: VkRenderPassTileShadingCreateInfoQCOM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: TileShadingRenderPassFlagsQCOM

Native field flags.

tile_apron_size

Field
tile_apron_size: Extent2D

Native field tileApronSize.

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

Set native field flags without native effects.

set_tile_apron_size

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

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