pub struct PhysicalDeviceVulkan12Properties<'a> {Show 54 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub driver_id: DriverId,
pub driver_name: [c_char; 256],
pub driver_info: [c_char; 256],
pub conformance_version: ConformanceVersion,
pub denorm_behavior_independence: ShaderFloatControlsIndependence,
pub rounding_mode_independence: ShaderFloatControlsIndependence,
pub shader_signed_zero_inf_nan_preserve_float16: Bool32,
pub shader_signed_zero_inf_nan_preserve_float32: Bool32,
pub shader_signed_zero_inf_nan_preserve_float64: Bool32,
pub shader_denorm_preserve_float16: Bool32,
pub shader_denorm_preserve_float32: Bool32,
pub shader_denorm_preserve_float64: Bool32,
pub shader_denorm_flush_to_zero_float16: Bool32,
pub shader_denorm_flush_to_zero_float32: Bool32,
pub shader_denorm_flush_to_zero_float64: Bool32,
pub shader_rounding_mode_rte_float16: Bool32,
pub shader_rounding_mode_rte_float32: Bool32,
pub shader_rounding_mode_rte_float64: Bool32,
pub shader_rounding_mode_rtz_float16: Bool32,
pub shader_rounding_mode_rtz_float32: Bool32,
pub shader_rounding_mode_rtz_float64: Bool32,
pub max_update_after_bind_descriptors_in_all_pools: u32,
pub shader_uniform_buffer_array_non_uniform_indexing_native: Bool32,
pub shader_sampled_image_array_non_uniform_indexing_native: Bool32,
pub shader_storage_buffer_array_non_uniform_indexing_native: Bool32,
pub shader_storage_image_array_non_uniform_indexing_native: Bool32,
pub shader_input_attachment_array_non_uniform_indexing_native: Bool32,
pub robust_buffer_access_update_after_bind: Bool32,
pub quad_divergent_implicit_lod: Bool32,
pub max_per_stage_descriptor_update_after_bind_samplers: u32,
pub max_per_stage_descriptor_update_after_bind_uniform_buffers: u32,
pub max_per_stage_descriptor_update_after_bind_storage_buffers: u32,
pub max_per_stage_descriptor_update_after_bind_sampled_images: u32,
pub max_per_stage_descriptor_update_after_bind_storage_images: u32,
pub max_per_stage_descriptor_update_after_bind_input_attachments: u32,
pub max_per_stage_update_after_bind_resources: u32,
pub max_descriptor_set_update_after_bind_samplers: u32,
pub max_descriptor_set_update_after_bind_uniform_buffers: u32,
pub max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32,
pub max_descriptor_set_update_after_bind_storage_buffers: u32,
pub max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32,
pub max_descriptor_set_update_after_bind_sampled_images: u32,
pub max_descriptor_set_update_after_bind_storage_images: u32,
pub max_descriptor_set_update_after_bind_input_attachments: u32,
pub supported_depth_resolve_modes: ResolveModeFlags,
pub supported_stencil_resolve_modes: ResolveModeFlags,
pub independent_resolve_none: Bool32,
pub independent_resolve: Bool32,
pub filter_minmax_single_component_formats: Bool32,
pub filter_minmax_image_component_mapping: Bool32,
pub max_timeline_semaphore_value_difference: u64,
pub framebuffer_integer_color_sample_counts: SampleCountFlags,
/* private fields */
}Expand description
Native structure VkPhysicalDeviceVulkan12Properties.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
driver_id: DriverIdNative field driverID.
driver_name: [c_char; 256]Native field driverName.
driver_info: [c_char; 256]Native field driverInfo.
conformance_version: ConformanceVersionNative field conformanceVersion.
denorm_behavior_independence: ShaderFloatControlsIndependenceNative field denormBehaviorIndependence.
rounding_mode_independence: ShaderFloatControlsIndependenceNative field roundingModeIndependence.
shader_signed_zero_inf_nan_preserve_float16: Bool32Native field shaderSignedZeroInfNanPreserveFloat16.
shader_signed_zero_inf_nan_preserve_float32: Bool32Native field shaderSignedZeroInfNanPreserveFloat32.
shader_signed_zero_inf_nan_preserve_float64: Bool32Native field shaderSignedZeroInfNanPreserveFloat64.
shader_denorm_preserve_float16: Bool32Native field shaderDenormPreserveFloat16.
shader_denorm_preserve_float32: Bool32Native field shaderDenormPreserveFloat32.
shader_denorm_preserve_float64: Bool32Native field shaderDenormPreserveFloat64.
shader_denorm_flush_to_zero_float16: Bool32Native field shaderDenormFlushToZeroFloat16.
shader_denorm_flush_to_zero_float32: Bool32Native field shaderDenormFlushToZeroFloat32.
shader_denorm_flush_to_zero_float64: Bool32Native field shaderDenormFlushToZeroFloat64.
shader_rounding_mode_rte_float16: Bool32Native field shaderRoundingModeRTEFloat16.
shader_rounding_mode_rte_float32: Bool32Native field shaderRoundingModeRTEFloat32.
shader_rounding_mode_rte_float64: Bool32Native field shaderRoundingModeRTEFloat64.
shader_rounding_mode_rtz_float16: Bool32Native field shaderRoundingModeRTZFloat16.
shader_rounding_mode_rtz_float32: Bool32Native field shaderRoundingModeRTZFloat32.
shader_rounding_mode_rtz_float64: Bool32Native field shaderRoundingModeRTZFloat64.
max_update_after_bind_descriptors_in_all_pools: u32Native field maxUpdateAfterBindDescriptorsInAllPools.
shader_uniform_buffer_array_non_uniform_indexing_native: Bool32Native field shaderUniformBufferArrayNonUniformIndexingNative.
shader_sampled_image_array_non_uniform_indexing_native: Bool32Native field shaderSampledImageArrayNonUniformIndexingNative.
shader_storage_buffer_array_non_uniform_indexing_native: Bool32Native field shaderStorageBufferArrayNonUniformIndexingNative.
shader_storage_image_array_non_uniform_indexing_native: Bool32Native field shaderStorageImageArrayNonUniformIndexingNative.
shader_input_attachment_array_non_uniform_indexing_native: Bool32Native field shaderInputAttachmentArrayNonUniformIndexingNative.
robust_buffer_access_update_after_bind: Bool32Native field robustBufferAccessUpdateAfterBind.
quad_divergent_implicit_lod: Bool32Native field quadDivergentImplicitLod.
max_per_stage_descriptor_update_after_bind_samplers: u32Native field maxPerStageDescriptorUpdateAfterBindSamplers.
max_per_stage_descriptor_update_after_bind_uniform_buffers: u32Native field maxPerStageDescriptorUpdateAfterBindUniformBuffers.
max_per_stage_descriptor_update_after_bind_storage_buffers: u32Native field maxPerStageDescriptorUpdateAfterBindStorageBuffers.
max_per_stage_descriptor_update_after_bind_sampled_images: u32Native field maxPerStageDescriptorUpdateAfterBindSampledImages.
max_per_stage_descriptor_update_after_bind_storage_images: u32Native field maxPerStageDescriptorUpdateAfterBindStorageImages.
max_per_stage_descriptor_update_after_bind_input_attachments: u32Native field maxPerStageDescriptorUpdateAfterBindInputAttachments.
max_per_stage_update_after_bind_resources: u32Native field maxPerStageUpdateAfterBindResources.
max_descriptor_set_update_after_bind_samplers: u32Native field maxDescriptorSetUpdateAfterBindSamplers.
max_descriptor_set_update_after_bind_uniform_buffers: u32Native field maxDescriptorSetUpdateAfterBindUniformBuffers.
max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32Native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic.
max_descriptor_set_update_after_bind_storage_buffers: u32Native field maxDescriptorSetUpdateAfterBindStorageBuffers.
max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32Native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic.
max_descriptor_set_update_after_bind_sampled_images: u32Native field maxDescriptorSetUpdateAfterBindSampledImages.
max_descriptor_set_update_after_bind_storage_images: u32Native field maxDescriptorSetUpdateAfterBindStorageImages.
max_descriptor_set_update_after_bind_input_attachments: u32Native field maxDescriptorSetUpdateAfterBindInputAttachments.
supported_depth_resolve_modes: ResolveModeFlagsNative field supportedDepthResolveModes.
supported_stencil_resolve_modes: ResolveModeFlagsNative field supportedStencilResolveModes.
independent_resolve_none: Bool32Native field independentResolveNone.
independent_resolve: Bool32Native field independentResolve.
filter_minmax_single_component_formats: Bool32Native field filterMinmaxSingleComponentFormats.
filter_minmax_image_component_mapping: Bool32Native field filterMinmaxImageComponentMapping.
max_timeline_semaphore_value_difference: u64Native field maxTimelineSemaphoreValueDifference.
framebuffer_integer_color_sample_counts: SampleCountFlagsNative field framebufferIntegerColorSampleCounts.
Implementations§
Source§impl<'a> PhysicalDeviceVulkan12Properties<'a>
impl<'a> PhysicalDeviceVulkan12Properties<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_driver_id(self, value: DriverId) -> Self
pub fn set_driver_id(self, value: DriverId) -> Self
Set native field driverID without native effects.
Sourcepub fn set_driver_name(self, value: [c_char; 256]) -> Self
pub fn set_driver_name(self, value: [c_char; 256]) -> Self
Set native field driverName without native effects.
Sourcepub fn set_driver_info(self, value: [c_char; 256]) -> Self
pub fn set_driver_info(self, value: [c_char; 256]) -> Self
Set native field driverInfo without native effects.
Sourcepub fn set_conformance_version(self, value: ConformanceVersion) -> Self
pub fn set_conformance_version(self, value: ConformanceVersion) -> Self
Set native field conformanceVersion without native effects.
Sourcepub fn set_denorm_behavior_independence(
self,
value: ShaderFloatControlsIndependence,
) -> Self
pub fn set_denorm_behavior_independence( self, value: ShaderFloatControlsIndependence, ) -> Self
Set native field denormBehaviorIndependence without native effects.
Sourcepub fn set_rounding_mode_independence(
self,
value: ShaderFloatControlsIndependence,
) -> Self
pub fn set_rounding_mode_independence( self, value: ShaderFloatControlsIndependence, ) -> Self
Set native field roundingModeIndependence without native effects.
Sourcepub fn set_shader_signed_zero_inf_nan_preserve_float16(
self,
value: Bool32,
) -> Self
pub fn set_shader_signed_zero_inf_nan_preserve_float16( self, value: Bool32, ) -> Self
Set native field shaderSignedZeroInfNanPreserveFloat16 without native effects.
Sourcepub fn set_shader_signed_zero_inf_nan_preserve_float32(
self,
value: Bool32,
) -> Self
pub fn set_shader_signed_zero_inf_nan_preserve_float32( self, value: Bool32, ) -> Self
Set native field shaderSignedZeroInfNanPreserveFloat32 without native effects.
Sourcepub fn set_shader_signed_zero_inf_nan_preserve_float64(
self,
value: Bool32,
) -> Self
pub fn set_shader_signed_zero_inf_nan_preserve_float64( self, value: Bool32, ) -> Self
Set native field shaderSignedZeroInfNanPreserveFloat64 without native effects.
Sourcepub fn set_shader_denorm_preserve_float16(self, value: Bool32) -> Self
pub fn set_shader_denorm_preserve_float16(self, value: Bool32) -> Self
Set native field shaderDenormPreserveFloat16 without native effects.
Sourcepub fn set_shader_denorm_preserve_float32(self, value: Bool32) -> Self
pub fn set_shader_denorm_preserve_float32(self, value: Bool32) -> Self
Set native field shaderDenormPreserveFloat32 without native effects.
Sourcepub fn set_shader_denorm_preserve_float64(self, value: Bool32) -> Self
pub fn set_shader_denorm_preserve_float64(self, value: Bool32) -> Self
Set native field shaderDenormPreserveFloat64 without native effects.
Sourcepub fn set_shader_denorm_flush_to_zero_float16(self, value: Bool32) -> Self
pub fn set_shader_denorm_flush_to_zero_float16(self, value: Bool32) -> Self
Set native field shaderDenormFlushToZeroFloat16 without native effects.
Sourcepub fn set_shader_denorm_flush_to_zero_float32(self, value: Bool32) -> Self
pub fn set_shader_denorm_flush_to_zero_float32(self, value: Bool32) -> Self
Set native field shaderDenormFlushToZeroFloat32 without native effects.
Sourcepub fn set_shader_denorm_flush_to_zero_float64(self, value: Bool32) -> Self
pub fn set_shader_denorm_flush_to_zero_float64(self, value: Bool32) -> Self
Set native field shaderDenormFlushToZeroFloat64 without native effects.
Sourcepub fn set_shader_rounding_mode_rte_float16(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rte_float16(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTEFloat16 without native effects.
Sourcepub fn set_shader_rounding_mode_rte_float32(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rte_float32(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTEFloat32 without native effects.
Sourcepub fn set_shader_rounding_mode_rte_float64(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rte_float64(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTEFloat64 without native effects.
Sourcepub fn set_shader_rounding_mode_rtz_float16(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rtz_float16(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTZFloat16 without native effects.
Sourcepub fn set_shader_rounding_mode_rtz_float32(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rtz_float32(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTZFloat32 without native effects.
Sourcepub fn set_shader_rounding_mode_rtz_float64(self, value: Bool32) -> Self
pub fn set_shader_rounding_mode_rtz_float64(self, value: Bool32) -> Self
Set native field shaderRoundingModeRTZFloat64 without native effects.
Sourcepub fn set_max_update_after_bind_descriptors_in_all_pools(
self,
value: u32,
) -> Self
pub fn set_max_update_after_bind_descriptors_in_all_pools( self, value: u32, ) -> Self
Set native field maxUpdateAfterBindDescriptorsInAllPools without native effects.
Sourcepub fn set_shader_uniform_buffer_array_non_uniform_indexing_native(
self,
value: Bool32,
) -> Self
pub fn set_shader_uniform_buffer_array_non_uniform_indexing_native( self, value: Bool32, ) -> Self
Set native field shaderUniformBufferArrayNonUniformIndexingNative without native effects.
Sourcepub fn set_shader_sampled_image_array_non_uniform_indexing_native(
self,
value: Bool32,
) -> Self
pub fn set_shader_sampled_image_array_non_uniform_indexing_native( self, value: Bool32, ) -> Self
Set native field shaderSampledImageArrayNonUniformIndexingNative without native effects.
Sourcepub fn set_shader_storage_buffer_array_non_uniform_indexing_native(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_buffer_array_non_uniform_indexing_native( self, value: Bool32, ) -> Self
Set native field shaderStorageBufferArrayNonUniformIndexingNative without native effects.
Sourcepub fn set_shader_storage_image_array_non_uniform_indexing_native(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_image_array_non_uniform_indexing_native( self, value: Bool32, ) -> Self
Set native field shaderStorageImageArrayNonUniformIndexingNative without native effects.
Sourcepub fn set_shader_input_attachment_array_non_uniform_indexing_native(
self,
value: Bool32,
) -> Self
pub fn set_shader_input_attachment_array_non_uniform_indexing_native( self, value: Bool32, ) -> Self
Set native field shaderInputAttachmentArrayNonUniformIndexingNative without native effects.
Sourcepub fn set_robust_buffer_access_update_after_bind(self, value: Bool32) -> Self
pub fn set_robust_buffer_access_update_after_bind(self, value: Bool32) -> Self
Set native field robustBufferAccessUpdateAfterBind without native effects.
Sourcepub fn set_quad_divergent_implicit_lod(self, value: Bool32) -> Self
pub fn set_quad_divergent_implicit_lod(self, value: Bool32) -> Self
Set native field quadDivergentImplicitLod without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_samplers(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_samplers( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindSamplers without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_uniform_buffers(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_uniform_buffers( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindUniformBuffers without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_storage_buffers(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_storage_buffers( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindStorageBuffers without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_sampled_images(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_sampled_images( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindSampledImages without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_storage_images(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_storage_images( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindStorageImages without native effects.
Sourcepub fn set_max_per_stage_descriptor_update_after_bind_input_attachments(
self,
value: u32,
) -> Self
pub fn set_max_per_stage_descriptor_update_after_bind_input_attachments( self, value: u32, ) -> Self
Set native field maxPerStageDescriptorUpdateAfterBindInputAttachments without native effects.
Sourcepub fn set_max_per_stage_update_after_bind_resources(self, value: u32) -> Self
pub fn set_max_per_stage_update_after_bind_resources(self, value: u32) -> Self
Set native field maxPerStageUpdateAfterBindResources without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_samplers(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_samplers( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindSamplers without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_uniform_buffers(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_uniform_buffers( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindUniformBuffers without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_uniform_buffers_dynamic(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_uniform_buffers_dynamic( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_storage_buffers(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_storage_buffers( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindStorageBuffers without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_storage_buffers_dynamic(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_storage_buffers_dynamic( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_sampled_images(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_sampled_images( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindSampledImages without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_storage_images(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_storage_images( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindStorageImages without native effects.
Sourcepub fn set_max_descriptor_set_update_after_bind_input_attachments(
self,
value: u32,
) -> Self
pub fn set_max_descriptor_set_update_after_bind_input_attachments( self, value: u32, ) -> Self
Set native field maxDescriptorSetUpdateAfterBindInputAttachments without native effects.
Sourcepub fn set_supported_depth_resolve_modes(self, value: ResolveModeFlags) -> Self
pub fn set_supported_depth_resolve_modes(self, value: ResolveModeFlags) -> Self
Set native field supportedDepthResolveModes without native effects.
Sourcepub fn set_supported_stencil_resolve_modes(
self,
value: ResolveModeFlags,
) -> Self
pub fn set_supported_stencil_resolve_modes( self, value: ResolveModeFlags, ) -> Self
Set native field supportedStencilResolveModes without native effects.
Sourcepub fn set_independent_resolve_none(self, value: Bool32) -> Self
pub fn set_independent_resolve_none(self, value: Bool32) -> Self
Set native field independentResolveNone without native effects.
Sourcepub fn set_independent_resolve(self, value: Bool32) -> Self
pub fn set_independent_resolve(self, value: Bool32) -> Self
Set native field independentResolve without native effects.
Sourcepub fn set_filter_minmax_single_component_formats(self, value: Bool32) -> Self
pub fn set_filter_minmax_single_component_formats(self, value: Bool32) -> Self
Set native field filterMinmaxSingleComponentFormats without native effects.
Sourcepub fn set_filter_minmax_image_component_mapping(self, value: Bool32) -> Self
pub fn set_filter_minmax_image_component_mapping(self, value: Bool32) -> Self
Set native field filterMinmaxImageComponentMapping without native effects.
Sourcepub fn set_max_timeline_semaphore_value_difference(self, value: u64) -> Self
pub fn set_max_timeline_semaphore_value_difference(self, value: u64) -> Self
Set native field maxTimelineSemaphoreValueDifference without native effects.
Sourcepub fn set_framebuffer_integer_color_sample_counts(
self,
value: SampleCountFlags,
) -> Self
pub fn set_framebuffer_integer_color_sample_counts( self, value: SampleCountFlags, ) -> Self
Set native field framebufferIntegerColorSampleCounts without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
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.