Realm

vk · Structs · P19

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

StRustExperimental

Stvk::PhysicalDevicePipelineCreationCacheControlFeatures

pub struct PhysicalDevicePipelineCreationCacheControlFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_creation_cache_control: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineCreationCacheControlFeatures.

Contract

Native structure VkPhysicalDevicePipelineCreationCacheControlFeatures.

Khronos reference: VkPhysicalDevicePipelineCreationCacheControlFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_creation_cache_control

Field
pipeline_creation_cache_control: Bool32

Native field pipelineCreationCacheControl.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_creation_cache_control

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

Set native field pipelineCreationCacheControl 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::PhysicalDevicePipelineExecutablePropertiesFeaturesKHR

pub struct PhysicalDevicePipelineExecutablePropertiesFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_executable_info: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.

Contract

Native structure VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.

Khronos reference: VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_executable_info

Field
pipeline_executable_info: Bool32

Native field pipelineExecutableInfo.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_executable_info

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

Set native field pipelineExecutableInfo 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::PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR

pub struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_library_group_handles: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR.

Contract

Native structure VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR.

Khronos reference: VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_library_group_handles

Field
pipeline_library_group_handles: Bool32

Native field pipelineLibraryGroupHandles.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_library_group_handles

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

Set native field pipelineLibraryGroupHandles 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::PhysicalDevicePipelineOpacityMicromapFeaturesARM

pub struct PhysicalDevicePipelineOpacityMicromapFeaturesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_opacity_micromap: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineOpacityMicromapFeaturesARM.

Contract

Native structure VkPhysicalDevicePipelineOpacityMicromapFeaturesARM.

Khronos reference: VkPhysicalDevicePipelineOpacityMicromapFeaturesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_opacity_micromap

Field
pipeline_opacity_micromap: Bool32

Native field pipelineOpacityMicromap.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_opacity_micromap

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

Set native field pipelineOpacityMicromap 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::PhysicalDevicePipelinePropertiesFeaturesEXT

pub struct PhysicalDevicePipelinePropertiesFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_properties_identifier: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelinePropertiesFeaturesEXT.

Contract

Native structure VkPhysicalDevicePipelinePropertiesFeaturesEXT.

Khronos reference: VkPhysicalDevicePipelinePropertiesFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_properties_identifier

Field
pipeline_properties_identifier: Bool32

Native field pipelinePropertiesIdentifier.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_properties_identifier

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

Set native field pipelinePropertiesIdentifier 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::PhysicalDevicePipelineProtectedAccessFeatures

pub struct PhysicalDevicePipelineProtectedAccessFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_protected_access: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineProtectedAccessFeatures.

Contract

Native structure VkPhysicalDevicePipelineProtectedAccessFeatures.

Khronos reference: VkPhysicalDevicePipelineProtectedAccessFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_protected_access

Field
pipeline_protected_access: Bool32

Native field pipelineProtectedAccess.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_protected_access

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

Set native field pipelineProtectedAccess 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::PhysicalDevicePipelineRobustnessFeatures

pub struct PhysicalDevicePipelineRobustnessFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_robustness: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePipelineRobustnessFeatures.

Contract

Native structure VkPhysicalDevicePipelineRobustnessFeatures.

Khronos reference: VkPhysicalDevicePipelineRobustnessFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_robustness

Field
pipeline_robustness: Bool32

Native field pipelineRobustness.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_robustness

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

Set native field pipelineRobustness 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::PhysicalDevicePipelineRobustnessProperties

pub struct PhysicalDevicePipelineRobustnessProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub default_robustness_storage_buffers: PipelineRobustnessBufferBehavior, pub default_robustness_uniform_buffers: PipelineRobustnessBufferBehavior, pub default_robustness_vertex_inputs: PipelineRobustnessBufferBehavior, pub default_robustness_images: PipelineRobustnessImageBehavior, /* private fields */ }
Native structure VkPhysicalDevicePipelineRobustnessProperties.

Contract

Native structure VkPhysicalDevicePipelineRobustnessProperties.

Khronos reference: VkPhysicalDevicePipelineRobustnessProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

default_robustness_storage_buffers

Field
default_robustness_storage_buffers: PipelineRobustnessBufferBehavior

Native field defaultRobustnessStorageBuffers.

default_robustness_uniform_buffers

Field
default_robustness_uniform_buffers: PipelineRobustnessBufferBehavior

Native field defaultRobustnessUniformBuffers.

default_robustness_vertex_inputs

Field
default_robustness_vertex_inputs: PipelineRobustnessBufferBehavior

Native field defaultRobustnessVertexInputs.

default_robustness_images

Field
default_robustness_images: PipelineRobustnessImageBehavior

Native field defaultRobustnessImages.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_default_robustness_storage_buffers

Method
pub fn set_default_robustness_storage_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessStorageBuffers without native effects.

set_default_robustness_uniform_buffers

Method
pub fn set_default_robustness_uniform_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessUniformBuffers without native effects.

set_default_robustness_vertex_inputs

Method
pub fn set_default_robustness_vertex_inputs( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessVertexInputs without native effects.

set_default_robustness_images

Method
pub fn set_default_robustness_images( self, value: PipelineRobustnessImageBehavior, ) -> Self

Set native field defaultRobustnessImages 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::PhysicalDevicePointClippingProperties

pub struct PhysicalDevicePointClippingProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub point_clipping_behavior: PointClippingBehavior, /* private fields */ }
Native structure VkPhysicalDevicePointClippingProperties.

Contract

Native structure VkPhysicalDevicePointClippingProperties.

Khronos reference: VkPhysicalDevicePointClippingProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

point_clipping_behavior

Field
point_clipping_behavior: PointClippingBehavior

Native field pointClippingBehavior.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_point_clipping_behavior

Method
pub fn set_point_clipping_behavior(self, value: PointClippingBehavior) -> Self

Set native field pointClippingBehavior 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::PhysicalDevicePortabilitySubsetFeaturesKHR

pub struct PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub constant_alpha_color_blend_factors: Bool32, pub events: Bool32, pub image_view_format_reinterpretation: Bool32, pub image_view_format_swizzle: Bool32, pub image_view2_d_on3_d_image: Bool32, pub multisample_array_image: Bool32, pub mutable_comparison_samplers: Bool32, pub point_polygons: Bool32, pub sampler_mip_lod_bias: Bool32, pub separate_stencil_mask_ref: Bool32, pub shader_sample_rate_interpolation_functions: Bool32, pub tessellation_isolines: Bool32, pub tessellation_point_mode: Bool32, pub triangle_fans: Bool32, pub vertex_attribute_access_beyond_stride: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePortabilitySubsetFeaturesKHR.

Contract

Native structure VkPhysicalDevicePortabilitySubsetFeaturesKHR.

Khronos reference: VkPhysicalDevicePortabilitySubsetFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

constant_alpha_color_blend_factors

Field
constant_alpha_color_blend_factors: Bool32

Native field constantAlphaColorBlendFactors.

events

Field
events: Bool32

Native field events.

image_view_format_reinterpretation

Field
image_view_format_reinterpretation: Bool32

Native field imageViewFormatReinterpretation.

image_view_format_swizzle

Field
image_view_format_swizzle: Bool32

Native field imageViewFormatSwizzle.

image_view2_d_on3_d_image

Field
image_view2_d_on3_d_image: Bool32

Native field imageView2DOn3DImage.

multisample_array_image

Field
multisample_array_image: Bool32

Native field multisampleArrayImage.

mutable_comparison_samplers

Field
mutable_comparison_samplers: Bool32

Native field mutableComparisonSamplers.

point_polygons

Field
point_polygons: Bool32

Native field pointPolygons.

sampler_mip_lod_bias

Field
sampler_mip_lod_bias: Bool32

Native field samplerMipLodBias.

separate_stencil_mask_ref

Field
separate_stencil_mask_ref: Bool32

Native field separateStencilMaskRef.

shader_sample_rate_interpolation_functions

Field
shader_sample_rate_interpolation_functions: Bool32

Native field shaderSampleRateInterpolationFunctions.

tessellation_isolines

Field
tessellation_isolines: Bool32

Native field tessellationIsolines.

tessellation_point_mode

Field
tessellation_point_mode: Bool32

Native field tessellationPointMode.

triangle_fans

Field
triangle_fans: Bool32

Native field triangleFans.

vertex_attribute_access_beyond_stride

Field
vertex_attribute_access_beyond_stride: Bool32

Native field vertexAttributeAccessBeyondStride.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_constant_alpha_color_blend_factors

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

Set native field constantAlphaColorBlendFactors without native effects.

set_events

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

Set native field events without native effects.

set_image_view_format_reinterpretation

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

Set native field imageViewFormatReinterpretation without native effects.

set_image_view_format_swizzle

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

Set native field imageViewFormatSwizzle without native effects.

set_image_view2_d_on3_d_image

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

Set native field imageView2DOn3DImage without native effects.

set_multisample_array_image

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

Set native field multisampleArrayImage without native effects.

set_mutable_comparison_samplers

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

Set native field mutableComparisonSamplers without native effects.

set_point_polygons

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

Set native field pointPolygons without native effects.

set_sampler_mip_lod_bias

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

Set native field samplerMipLodBias without native effects.

set_separate_stencil_mask_ref

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

Set native field separateStencilMaskRef without native effects.

set_shader_sample_rate_interpolation_functions

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

Set native field shaderSampleRateInterpolationFunctions without native effects.

set_tessellation_isolines

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

Set native field tessellationIsolines without native effects.

set_tessellation_point_mode

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

Set native field tessellationPointMode without native effects.

set_triangle_fans

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

Set native field triangleFans without native effects.

set_vertex_attribute_access_beyond_stride

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

Set native field vertexAttributeAccessBeyondStride 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::PhysicalDevicePortabilitySubsetPropertiesKHR

pub struct PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_vertex_input_binding_stride_alignment: u32, /* private fields */ }
Native structure VkPhysicalDevicePortabilitySubsetPropertiesKHR.

Contract

Native structure VkPhysicalDevicePortabilitySubsetPropertiesKHR.

Khronos reference: VkPhysicalDevicePortabilitySubsetPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_vertex_input_binding_stride_alignment

Field
min_vertex_input_binding_stride_alignment: u32

Native field minVertexInputBindingStrideAlignment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_vertex_input_binding_stride_alignment

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

Set native field minVertexInputBindingStrideAlignment 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::PhysicalDevicePresentBarrierFeaturesNV

pub struct PhysicalDevicePresentBarrierFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_barrier: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentBarrierFeaturesNV.

Contract

Native structure VkPhysicalDevicePresentBarrierFeaturesNV.

Khronos reference: VkPhysicalDevicePresentBarrierFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_barrier

Field
present_barrier: Bool32

Native field presentBarrier.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_barrier

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

Set native field presentBarrier 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::PhysicalDevicePresentId2FeaturesKHR

pub struct PhysicalDevicePresentId2FeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_id2: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentId2FeaturesKHR.

Contract

Native structure VkPhysicalDevicePresentId2FeaturesKHR.

Khronos reference: VkPhysicalDevicePresentId2FeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_id2

Field
present_id2: Bool32

Native field presentId2.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_id2

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

Set native field presentId2 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::PhysicalDevicePresentIdFeaturesKHR

pub struct PhysicalDevicePresentIdFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_id: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentIdFeaturesKHR.

Contract

Native structure VkPhysicalDevicePresentIdFeaturesKHR.

Khronos reference: VkPhysicalDevicePresentIdFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_id

Field
present_id: Bool32

Native field presentId.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_id

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

Set native field presentId 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::PhysicalDevicePresentMeteringFeaturesNV

pub struct PhysicalDevicePresentMeteringFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_metering: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentMeteringFeaturesNV.

Contract

Native structure VkPhysicalDevicePresentMeteringFeaturesNV.

Khronos reference: VkPhysicalDevicePresentMeteringFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_metering

Field
present_metering: Bool32

Native field presentMetering.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_metering

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

Set native field presentMetering 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::PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR

pub struct PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_mode_fifo_latest_ready: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR.

Contract

Native structure VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR.

Khronos reference: VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_mode_fifo_latest_ready

Field
present_mode_fifo_latest_ready: Bool32

Native field presentModeFifoLatestReady.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_mode_fifo_latest_ready

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

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