Realm

vk · Structs · P27

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

StRustExperimental

Stvk::PhysicalDeviceSparseImageFormatInfo2

pub struct PhysicalDeviceSparseImageFormatInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub format: Format, pub type: ImageType, pub samples: SampleCountFlagBits, pub usage: ImageUsageFlags, pub tiling: ImageTiling, /* private fields */ }
Native structure VkPhysicalDeviceSparseImageFormatInfo2.

Contract

Native structure VkPhysicalDeviceSparseImageFormatInfo2.

Khronos reference: VkPhysicalDeviceSparseImageFormatInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

format

Field
format: Format

Native field format.

type

Field
type: ImageType

Native field type.

samples

Field
samples: SampleCountFlagBits

Native field samples.

usage

Field
usage: ImageUsageFlags

Native field usage.

tiling

Field
tiling: ImageTiling

Native field tiling.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_format

Method
pub fn set_format(self, value: Format) -> Self

Set native field format without native effects.

set_type

Method
pub fn set_type(self, value: ImageType) -> Self

Set native field type without native effects.

set_samples

Method
pub fn set_samples(self, value: SampleCountFlagBits) -> Self

Set native field samples without native effects.

set_usage

Method
pub fn set_usage(self, value: ImageUsageFlags) -> Self

Set native field usage without native effects.

set_tiling

Method
pub fn set_tiling(self, value: ImageTiling) -> Self

Set native field tiling 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::PhysicalDeviceSparseProperties

#[repr(C)]pub struct PhysicalDeviceSparseProperties { pub residency_standard2_d_block_shape: Bool32, pub residency_standard2_d_multisample_block_shape: Bool32, pub residency_standard3_d_block_shape: Bool32, pub residency_aligned_mip_size: Bool32, pub residency_non_resident_strict: Bool32, }
Native structure VkPhysicalDeviceSparseProperties.

Contract

Native structure VkPhysicalDeviceSparseProperties.

Khronos reference: VkPhysicalDeviceSparseProperties

Fields

residency_standard2_d_block_shape

Field
residency_standard2_d_block_shape: Bool32

Native field residencyStandard2DBlockShape.

residency_standard2_d_multisample_block_shape

Field
residency_standard2_d_multisample_block_shape: Bool32

Native field residencyStandard2DMultisampleBlockShape.

residency_standard3_d_block_shape

Field
residency_standard3_d_block_shape: Bool32

Native field residencyStandard3DBlockShape.

residency_aligned_mip_size

Field
residency_aligned_mip_size: Bool32

Native field residencyAlignedMipSize.

residency_non_resident_strict

Field
residency_non_resident_strict: Bool32

Native field residencyNonResidentStrict.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_residency_standard2_d_block_shape

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

Set native field residencyStandard2DBlockShape without native effects.

set_residency_standard2_d_multisample_block_shape

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

Set native field residencyStandard2DMultisampleBlockShape without native effects.

set_residency_standard3_d_block_shape

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

Set native field residencyStandard3DBlockShape without native effects.

set_residency_aligned_mip_size

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

Set native field residencyAlignedMipSize without native effects.

set_residency_non_resident_strict

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

Set native field residencyNonResidentStrict without native effects.

clone

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

Stvk::PhysicalDeviceSubgroupProperties

pub struct PhysicalDeviceSubgroupProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub subgroup_size: u32, pub supported_stages: ShaderStageFlags, pub supported_operations: SubgroupFeatureFlags, pub quad_operations_in_all_stages: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSubgroupProperties.

Contract

Native structure VkPhysicalDeviceSubgroupProperties.

Khronos reference: VkPhysicalDeviceSubgroupProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

subgroup_size

Field
subgroup_size: u32

Native field subgroupSize.

supported_stages

Field
supported_stages: ShaderStageFlags

Native field supportedStages.

supported_operations

Field
supported_operations: SubgroupFeatureFlags

Native field supportedOperations.

quad_operations_in_all_stages

Field
quad_operations_in_all_stages: Bool32

Native field quadOperationsInAllStages.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subgroup_size

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

Set native field subgroupSize without native effects.

set_supported_stages

Method
pub fn set_supported_stages(self, value: ShaderStageFlags) -> Self

Set native field supportedStages without native effects.

set_supported_operations

Method
pub fn set_supported_operations(self, value: SubgroupFeatureFlags) -> Self

Set native field supportedOperations without native effects.

set_quad_operations_in_all_stages

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

Set native field quadOperationsInAllStages 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::PhysicalDeviceSubgroupSizeControlFeatures

pub struct PhysicalDeviceSubgroupSizeControlFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub subgroup_size_control: Bool32, pub compute_full_subgroups: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSubgroupSizeControlFeatures.

Contract

Native structure VkPhysicalDeviceSubgroupSizeControlFeatures.

Khronos reference: VkPhysicalDeviceSubgroupSizeControlFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

subgroup_size_control

Field
subgroup_size_control: Bool32

Native field subgroupSizeControl.

compute_full_subgroups

Field
compute_full_subgroups: Bool32

Native field computeFullSubgroups.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subgroup_size_control

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

Set native field subgroupSizeControl without native effects.

set_compute_full_subgroups

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

Set native field computeFullSubgroups 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::PhysicalDeviceSubgroupSizeControlProperties

pub struct PhysicalDeviceSubgroupSizeControlProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_subgroup_size: u32, pub max_subgroup_size: u32, pub max_compute_workgroup_subgroups: u32, pub required_subgroup_size_stages: ShaderStageFlags, /* private fields */ }
Native structure VkPhysicalDeviceSubgroupSizeControlProperties.

Contract

Native structure VkPhysicalDeviceSubgroupSizeControlProperties.

Khronos reference: VkPhysicalDeviceSubgroupSizeControlProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_subgroup_size

Field
min_subgroup_size: u32

Native field minSubgroupSize.

max_subgroup_size

Field
max_subgroup_size: u32

Native field maxSubgroupSize.

max_compute_workgroup_subgroups

Field
max_compute_workgroup_subgroups: u32

Native field maxComputeWorkgroupSubgroups.

required_subgroup_size_stages

Field
required_subgroup_size_stages: ShaderStageFlags

Native field requiredSubgroupSizeStages.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_subgroup_size

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

Set native field minSubgroupSize without native effects.

set_max_subgroup_size

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

Set native field maxSubgroupSize without native effects.

set_max_compute_workgroup_subgroups

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

Set native field maxComputeWorkgroupSubgroups without native effects.

set_required_subgroup_size_stages

Method
pub fn set_required_subgroup_size_stages(self, value: ShaderStageFlags) -> Self

Set native field requiredSubgroupSizeStages 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::PhysicalDeviceSubpassMergeFeedbackFeaturesEXT

pub struct PhysicalDeviceSubpassMergeFeedbackFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub subpass_merge_feedback: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT.

Contract

Native structure VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT.

Khronos reference: VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

subpass_merge_feedback

Field
subpass_merge_feedback: Bool32

Native field subpassMergeFeedback.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subpass_merge_feedback

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

Set native field subpassMergeFeedback 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::PhysicalDeviceSubpassShadingFeaturesHUAWEI

pub struct PhysicalDeviceSubpassShadingFeaturesHUAWEI<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub subpass_shading: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSubpassShadingFeaturesHUAWEI.

Contract

Native structure VkPhysicalDeviceSubpassShadingFeaturesHUAWEI.

Khronos reference: VkPhysicalDeviceSubpassShadingFeaturesHUAWEI

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

subpass_shading

Field
subpass_shading: Bool32

Native field subpassShading.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subpass_shading

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

Set native field subpassShading 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::PhysicalDeviceSubpassShadingPropertiesHUAWEI

pub struct PhysicalDeviceSubpassShadingPropertiesHUAWEI<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_subpass_shading_workgroup_size_aspect_ratio: u32, /* private fields */ }
Native structure VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.

Contract

Native structure VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.

Khronos reference: VkPhysicalDeviceSubpassShadingPropertiesHUAWEI

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_subpass_shading_workgroup_size_aspect_ratio

Field
max_subpass_shading_workgroup_size_aspect_ratio: u32

Native field maxSubpassShadingWorkgroupSizeAspectRatio.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_subpass_shading_workgroup_size_aspect_ratio

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

Set native field maxSubpassShadingWorkgroupSizeAspectRatio 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::PhysicalDeviceSurfaceInfo2KHR

pub struct PhysicalDeviceSurfaceInfo2KHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub surface: SurfaceKHR, /* private fields */ }
Native structure VkPhysicalDeviceSurfaceInfo2KHR.

Contract

Native structure VkPhysicalDeviceSurfaceInfo2KHR.

Khronos reference: VkPhysicalDeviceSurfaceInfo2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

surface

Field
surface: SurfaceKHR

Native field surface.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_surface

Method
pub fn set_surface(self, value: SurfaceKHR) -> Self

Set native field surface 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::PhysicalDeviceSwapchainMaintenance1FeaturesKHR

pub struct PhysicalDeviceSwapchainMaintenance1FeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub swapchain_maintenance1: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR.

Contract

Native structure VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR.

Khronos reference: VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

swapchain_maintenance1

Field
swapchain_maintenance1: Bool32

Native field swapchainMaintenance1.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_swapchain_maintenance1

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

Set native field swapchainMaintenance1 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::PhysicalDeviceSynchronization2Features

pub struct PhysicalDeviceSynchronization2Features<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub synchronization2: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceSynchronization2Features.

Contract

Native structure VkPhysicalDeviceSynchronization2Features.

Khronos reference: VkPhysicalDeviceSynchronization2Features

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

synchronization2

Field
synchronization2: Bool32

Native field synchronization2.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_synchronization2

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

Set native field synchronization2 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::PhysicalDeviceTensorFeaturesARM

pub struct PhysicalDeviceTensorFeaturesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub tensor_non_packed: Bool32, pub shader_tensor_access: Bool32, pub shader_storage_tensor_array_dynamic_indexing: Bool32, pub shader_storage_tensor_array_non_uniform_indexing: Bool32, pub descriptor_binding_storage_tensor_update_after_bind: Bool32, pub tensors: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceTensorFeaturesARM.

Contract

Native structure VkPhysicalDeviceTensorFeaturesARM.

Khronos reference: VkPhysicalDeviceTensorFeaturesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

tensor_non_packed

Field
tensor_non_packed: Bool32

Native field tensorNonPacked.

shader_tensor_access

Field
shader_tensor_access: Bool32

Native field shaderTensorAccess.

shader_storage_tensor_array_dynamic_indexing

Field
shader_storage_tensor_array_dynamic_indexing: Bool32

Native field shaderStorageTensorArrayDynamicIndexing.

shader_storage_tensor_array_non_uniform_indexing

Field
shader_storage_tensor_array_non_uniform_indexing: Bool32

Native field shaderStorageTensorArrayNonUniformIndexing.

descriptor_binding_storage_tensor_update_after_bind

Field
descriptor_binding_storage_tensor_update_after_bind: Bool32

Native field descriptorBindingStorageTensorUpdateAfterBind.

tensors

Field
tensors: Bool32

Native field tensors.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor_non_packed

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

Set native field tensorNonPacked without native effects.

set_shader_tensor_access

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

Set native field shaderTensorAccess without native effects.

set_shader_storage_tensor_array_dynamic_indexing

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

Set native field shaderStorageTensorArrayDynamicIndexing without native effects.

set_shader_storage_tensor_array_non_uniform_indexing

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

Set native field shaderStorageTensorArrayNonUniformIndexing without native effects.

set_descriptor_binding_storage_tensor_update_after_bind

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

Set native field descriptorBindingStorageTensorUpdateAfterBind without native effects.

set_tensors

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

Set native field tensors 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::PhysicalDeviceTensorPropertiesARM

pub struct PhysicalDeviceTensorPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_tensor_dimension_count: u32, pub max_tensor_elements: u64, pub max_per_dimension_tensor_elements: u64, pub max_tensor_stride: i64, pub max_tensor_size: u64, pub max_tensor_shader_access_array_length: u32, pub max_tensor_shader_access_size: u32, pub max_descriptor_set_storage_tensors: u32, pub max_per_stage_descriptor_set_storage_tensors: u32, pub max_descriptor_set_update_after_bind_storage_tensors: u32, pub max_per_stage_descriptor_update_after_bind_storage_tensors: u32, pub shader_storage_tensor_array_non_uniform_indexing_native: Bool32, pub shader_tensor_supported_stages: ShaderStageFlags, /* private fields */ }
Native structure VkPhysicalDeviceTensorPropertiesARM.

Contract

Native structure VkPhysicalDeviceTensorPropertiesARM.

Khronos reference: VkPhysicalDeviceTensorPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_tensor_dimension_count

Field
max_tensor_dimension_count: u32

Native field maxTensorDimensionCount.

max_tensor_elements

Field
max_tensor_elements: u64

Native field maxTensorElements.

max_per_dimension_tensor_elements

Field
max_per_dimension_tensor_elements: u64

Native field maxPerDimensionTensorElements.

max_tensor_stride

Field
max_tensor_stride: i64

Native field maxTensorStride.

max_tensor_size

Field
max_tensor_size: u64

Native field maxTensorSize.

max_tensor_shader_access_array_length

Field
max_tensor_shader_access_array_length: u32

Native field maxTensorShaderAccessArrayLength.

max_tensor_shader_access_size

Field
max_tensor_shader_access_size: u32

Native field maxTensorShaderAccessSize.

max_descriptor_set_storage_tensors

Field
max_descriptor_set_storage_tensors: u32

Native field maxDescriptorSetStorageTensors.

max_per_stage_descriptor_set_storage_tensors

Field
max_per_stage_descriptor_set_storage_tensors: u32

Native field maxPerStageDescriptorSetStorageTensors.

max_descriptor_set_update_after_bind_storage_tensors

Field
max_descriptor_set_update_after_bind_storage_tensors: u32

Native field maxDescriptorSetUpdateAfterBindStorageTensors.

max_per_stage_descriptor_update_after_bind_storage_tensors

Field
max_per_stage_descriptor_update_after_bind_storage_tensors: u32

Native field maxPerStageDescriptorUpdateAfterBindStorageTensors.

shader_storage_tensor_array_non_uniform_indexing_native

Field
shader_storage_tensor_array_non_uniform_indexing_native: Bool32

Native field shaderStorageTensorArrayNonUniformIndexingNative.

shader_tensor_supported_stages

Field
shader_tensor_supported_stages: ShaderStageFlags

Native field shaderTensorSupportedStages.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_tensor_dimension_count

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

Set native field maxTensorDimensionCount without native effects.

set_max_tensor_elements

Method
pub fn set_max_tensor_elements(self, value: u64) -> Self

Set native field maxTensorElements without native effects.

set_max_per_dimension_tensor_elements

Method
pub fn set_max_per_dimension_tensor_elements(self, value: u64) -> Self

Set native field maxPerDimensionTensorElements without native effects.

set_max_tensor_stride

Method
pub fn set_max_tensor_stride(self, value: i64) -> Self

Set native field maxTensorStride without native effects.

set_max_tensor_size

Method
pub fn set_max_tensor_size(self, value: u64) -> Self

Set native field maxTensorSize without native effects.

set_max_tensor_shader_access_array_length

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

Set native field maxTensorShaderAccessArrayLength without native effects.

set_max_tensor_shader_access_size

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

Set native field maxTensorShaderAccessSize without native effects.

set_max_descriptor_set_storage_tensors

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

Set native field maxDescriptorSetStorageTensors without native effects.

set_max_per_stage_descriptor_set_storage_tensors

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

Set native field maxPerStageDescriptorSetStorageTensors without native effects.

set_max_descriptor_set_update_after_bind_storage_tensors

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

Set native field maxDescriptorSetUpdateAfterBindStorageTensors without native effects.

set_max_per_stage_descriptor_update_after_bind_storage_tensors

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

Set native field maxPerStageDescriptorUpdateAfterBindStorageTensors without native effects.

set_shader_storage_tensor_array_non_uniform_indexing_native

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

Set native field shaderStorageTensorArrayNonUniformIndexingNative without native effects.

set_shader_tensor_supported_stages

Method
pub fn set_shader_tensor_supported_stages(self, value: ShaderStageFlags) -> Self

Set native field shaderTensorSupportedStages 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::PhysicalDeviceTexelBufferAlignmentFeaturesEXT

pub struct PhysicalDeviceTexelBufferAlignmentFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub texel_buffer_alignment: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.

Contract

Native structure VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.

Khronos reference: VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

texel_buffer_alignment

Field
texel_buffer_alignment: Bool32

Native field texelBufferAlignment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_texel_buffer_alignment

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

Set native field texelBufferAlignment 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::PhysicalDeviceTexelBufferAlignmentProperties

pub struct PhysicalDeviceTexelBufferAlignmentProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub storage_texel_buffer_offset_alignment_bytes: DeviceSize, pub storage_texel_buffer_offset_single_texel_alignment: Bool32, pub uniform_texel_buffer_offset_alignment_bytes: DeviceSize, pub uniform_texel_buffer_offset_single_texel_alignment: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceTexelBufferAlignmentProperties.

Contract

Native structure VkPhysicalDeviceTexelBufferAlignmentProperties.

Khronos reference: VkPhysicalDeviceTexelBufferAlignmentProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

storage_texel_buffer_offset_alignment_bytes

Field
storage_texel_buffer_offset_alignment_bytes: DeviceSize

Native field storageTexelBufferOffsetAlignmentBytes.

storage_texel_buffer_offset_single_texel_alignment

Field
storage_texel_buffer_offset_single_texel_alignment: Bool32

Native field storageTexelBufferOffsetSingleTexelAlignment.

uniform_texel_buffer_offset_alignment_bytes

Field
uniform_texel_buffer_offset_alignment_bytes: DeviceSize

Native field uniformTexelBufferOffsetAlignmentBytes.

uniform_texel_buffer_offset_single_texel_alignment

Field
uniform_texel_buffer_offset_single_texel_alignment: Bool32

Native field uniformTexelBufferOffsetSingleTexelAlignment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_storage_texel_buffer_offset_alignment_bytes

Method
pub fn set_storage_texel_buffer_offset_alignment_bytes( self, value: DeviceSize, ) -> Self

Set native field storageTexelBufferOffsetAlignmentBytes without native effects.

set_storage_texel_buffer_offset_single_texel_alignment

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

Set native field storageTexelBufferOffsetSingleTexelAlignment without native effects.

set_uniform_texel_buffer_offset_alignment_bytes

Method
pub fn set_uniform_texel_buffer_offset_alignment_bytes( self, value: DeviceSize, ) -> Self

Set native field uniformTexelBufferOffsetAlignmentBytes without native effects.

set_uniform_texel_buffer_offset_single_texel_alignment

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

Set native field uniformTexelBufferOffsetSingleTexelAlignment 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::PhysicalDeviceTextureCompressionASTC3DFeaturesEXT

pub struct PhysicalDeviceTextureCompressionASTC3DFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub texture_compression_astc_3_d: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT.

Contract

Native structure VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT.

Khronos reference: VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

texture_compression_astc_3_d

Field
texture_compression_astc_3_d: Bool32

Native field textureCompressionASTC_3D.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_texture_compression_astc_3_d

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

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