Realm

vk · Structs · P26

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

StRustExperimental

Stvk::PhysicalDeviceShaderReplicatedCompositesFeaturesEXT

pub struct PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_replicated_composites: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.

Contract

Native structure VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.

Khronos reference: VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_replicated_composites

Field
shader_replicated_composites: Bool32

Native field shaderReplicatedComposites.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_replicated_composites

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

Set native field shaderReplicatedComposites 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::PhysicalDeviceShaderSMBuiltinsFeaturesNV

pub struct PhysicalDeviceShaderSMBuiltinsFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_sm_builtins: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.

Contract

Native structure VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.

Khronos reference: VkPhysicalDeviceShaderSMBuiltinsFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_sm_builtins

Field
shader_sm_builtins: Bool32

Native field shaderSMBuiltins.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_sm_builtins

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

Set native field shaderSMBuiltins 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::PhysicalDeviceShaderSMBuiltinsPropertiesNV

pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_sm_count: u32, pub shader_warps_per_sm: u32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.

Contract

Native structure VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.

Khronos reference: VkPhysicalDeviceShaderSMBuiltinsPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_sm_count

Field
shader_sm_count: u32

Native field shaderSMCount.

shader_warps_per_sm

Field
shader_warps_per_sm: u32

Native field shaderWarpsPerSM.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_sm_count

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

Set native field shaderSMCount without native effects.

set_shader_warps_per_sm

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

Set native field shaderWarpsPerSM 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::PhysicalDeviceShaderSplitBarrierFeaturesEXT

pub struct PhysicalDeviceShaderSplitBarrierFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_split_barrier: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSplitBarrierFeaturesEXT.

Contract

Native structure VkPhysicalDeviceShaderSplitBarrierFeaturesEXT.

Khronos reference: VkPhysicalDeviceShaderSplitBarrierFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_split_barrier

Field
shader_split_barrier: Bool32

Native field shaderSplitBarrier.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_split_barrier

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

Set native field shaderSplitBarrier 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::PhysicalDeviceShaderSplitBarrierPropertiesEXT

pub struct PhysicalDeviceShaderSplitBarrierPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub split_barrier_reserved_shared_memory: u32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSplitBarrierPropertiesEXT.

Contract

Native structure VkPhysicalDeviceShaderSplitBarrierPropertiesEXT.

Khronos reference: VkPhysicalDeviceShaderSplitBarrierPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

split_barrier_reserved_shared_memory

Field
split_barrier_reserved_shared_memory: u32

Native field splitBarrierReservedSharedMemory.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_split_barrier_reserved_shared_memory

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

Set native field splitBarrierReservedSharedMemory 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::PhysicalDeviceShaderSubgroupExtendedTypesFeatures

pub struct PhysicalDeviceShaderSubgroupExtendedTypesFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_subgroup_extended_types: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.

Contract

Native structure VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.

Khronos reference: VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_subgroup_extended_types

Field
shader_subgroup_extended_types: Bool32

Native field shaderSubgroupExtendedTypes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_subgroup_extended_types

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

Set native field shaderSubgroupExtendedTypes 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::PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT

pub struct PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_subgroup_partitioned: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT.

Contract

Native structure VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT.

Khronos reference: VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_subgroup_partitioned

Field
shader_subgroup_partitioned: Bool32

Native field shaderSubgroupPartitioned.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_subgroup_partitioned

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

Set native field shaderSubgroupPartitioned 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::PhysicalDeviceShaderSubgroupRotateFeatures

pub struct PhysicalDeviceShaderSubgroupRotateFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_subgroup_rotate: Bool32, pub shader_subgroup_rotate_clustered: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSubgroupRotateFeatures.

Contract

Native structure VkPhysicalDeviceShaderSubgroupRotateFeatures.

Khronos reference: VkPhysicalDeviceShaderSubgroupRotateFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_subgroup_rotate

Field
shader_subgroup_rotate: Bool32

Native field shaderSubgroupRotate.

shader_subgroup_rotate_clustered

Field
shader_subgroup_rotate_clustered: Bool32

Native field shaderSubgroupRotateClustered.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_subgroup_rotate

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

Set native field shaderSubgroupRotate without native effects.

set_shader_subgroup_rotate_clustered

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

Set native field shaderSubgroupRotateClustered 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::PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR

pub struct PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_subgroup_uniform_control_flow: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.

Contract

Native structure VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.

Khronos reference: VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_subgroup_uniform_control_flow

Field
shader_subgroup_uniform_control_flow: Bool32

Native field shaderSubgroupUniformControlFlow.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_subgroup_uniform_control_flow

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

Set native field shaderSubgroupUniformControlFlow 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::PhysicalDeviceShaderTerminateInvocationFeatures

pub struct PhysicalDeviceShaderTerminateInvocationFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_terminate_invocation: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderTerminateInvocationFeatures.

Contract

Native structure VkPhysicalDeviceShaderTerminateInvocationFeatures.

Khronos reference: VkPhysicalDeviceShaderTerminateInvocationFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_terminate_invocation

Field
shader_terminate_invocation: Bool32

Native field shaderTerminateInvocation.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_terminate_invocation

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

Set native field shaderTerminateInvocation 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::PhysicalDeviceShaderTileImageFeaturesEXT

pub struct PhysicalDeviceShaderTileImageFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_tile_image_color_read_access: Bool32, pub shader_tile_image_depth_read_access: Bool32, pub shader_tile_image_stencil_read_access: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderTileImageFeaturesEXT.

Contract

Native structure VkPhysicalDeviceShaderTileImageFeaturesEXT.

Khronos reference: VkPhysicalDeviceShaderTileImageFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_tile_image_color_read_access

Field
shader_tile_image_color_read_access: Bool32

Native field shaderTileImageColorReadAccess.

shader_tile_image_depth_read_access

Field
shader_tile_image_depth_read_access: Bool32

Native field shaderTileImageDepthReadAccess.

shader_tile_image_stencil_read_access

Field
shader_tile_image_stencil_read_access: Bool32

Native field shaderTileImageStencilReadAccess.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_tile_image_color_read_access

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

Set native field shaderTileImageColorReadAccess without native effects.

set_shader_tile_image_depth_read_access

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

Set native field shaderTileImageDepthReadAccess without native effects.

set_shader_tile_image_stencil_read_access

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

Set native field shaderTileImageStencilReadAccess 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::PhysicalDeviceShaderTileImagePropertiesEXT

pub struct PhysicalDeviceShaderTileImagePropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_tile_image_coherent_read_accelerated: Bool32, pub shader_tile_image_read_sample_from_pixel_rate_invocation: Bool32, pub shader_tile_image_read_from_helper_invocation: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderTileImagePropertiesEXT.

Contract

Native structure VkPhysicalDeviceShaderTileImagePropertiesEXT.

Khronos reference: VkPhysicalDeviceShaderTileImagePropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_tile_image_coherent_read_accelerated

Field
shader_tile_image_coherent_read_accelerated: Bool32

Native field shaderTileImageCoherentReadAccelerated.

shader_tile_image_read_sample_from_pixel_rate_invocation

Field
shader_tile_image_read_sample_from_pixel_rate_invocation: Bool32

Native field shaderTileImageReadSampleFromPixelRateInvocation.

shader_tile_image_read_from_helper_invocation

Field
shader_tile_image_read_from_helper_invocation: Bool32

Native field shaderTileImageReadFromHelperInvocation.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_tile_image_coherent_read_accelerated

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

Set native field shaderTileImageCoherentReadAccelerated without native effects.

set_shader_tile_image_read_sample_from_pixel_rate_invocation

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

Set native field shaderTileImageReadSampleFromPixelRateInvocation without native effects.

set_shader_tile_image_read_from_helper_invocation

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

Set native field shaderTileImageReadFromHelperInvocation 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::PhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT

pub struct PhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_uniform_buffer_unsized_array: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT.

Contract

Native structure VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT.

Khronos reference: VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_uniform_buffer_unsized_array

Field
shader_uniform_buffer_unsized_array: Bool32

Native field shaderUniformBufferUnsizedArray.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_uniform_buffer_unsized_array

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

Set native field shaderUniformBufferUnsizedArray 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::PhysicalDeviceShaderUntypedPointersFeaturesKHR

pub struct PhysicalDeviceShaderUntypedPointersFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_untyped_pointers: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShaderUntypedPointersFeaturesKHR.

Contract

Native structure VkPhysicalDeviceShaderUntypedPointersFeaturesKHR.

Khronos reference: VkPhysicalDeviceShaderUntypedPointersFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_untyped_pointers

Field
shader_untyped_pointers: Bool32

Native field shaderUntypedPointers.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shader_untyped_pointers

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

Set native field shaderUntypedPointers 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::PhysicalDeviceShadingRateImageFeaturesNV

pub struct PhysicalDeviceShadingRateImageFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shading_rate_image: Bool32, pub shading_rate_coarse_sample_order: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceShadingRateImageFeaturesNV.

Contract

Native structure VkPhysicalDeviceShadingRateImageFeaturesNV.

Khronos reference: VkPhysicalDeviceShadingRateImageFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shading_rate_image

Field
shading_rate_image: Bool32

Native field shadingRateImage.

shading_rate_coarse_sample_order

Field
shading_rate_coarse_sample_order: Bool32

Native field shadingRateCoarseSampleOrder.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shading_rate_image

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

Set native field shadingRateImage without native effects.

set_shading_rate_coarse_sample_order

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

Set native field shadingRateCoarseSampleOrder 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::PhysicalDeviceShadingRateImagePropertiesNV

pub struct PhysicalDeviceShadingRateImagePropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shading_rate_texel_size: Extent2D, pub shading_rate_palette_size: u32, pub shading_rate_max_coarse_samples: u32, /* private fields */ }
Native structure VkPhysicalDeviceShadingRateImagePropertiesNV.

Contract

Native structure VkPhysicalDeviceShadingRateImagePropertiesNV.

Khronos reference: VkPhysicalDeviceShadingRateImagePropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shading_rate_texel_size

Field
shading_rate_texel_size: Extent2D

Native field shadingRateTexelSize.

shading_rate_palette_size

Field
shading_rate_palette_size: u32

Native field shadingRatePaletteSize.

shading_rate_max_coarse_samples

Field
shading_rate_max_coarse_samples: u32

Native field shadingRateMaxCoarseSamples.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_shading_rate_texel_size

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

Set native field shadingRateTexelSize without native effects.

set_shading_rate_palette_size

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

Set native field shadingRatePaletteSize without native effects.

set_shading_rate_max_coarse_samples

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

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