Skip to main content

PhysicalDeviceVulkan12Properties

Struct PhysicalDeviceVulkan12Properties 

Source
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.

Khronos reference: VkPhysicalDeviceVulkan12Properties

Fields§

§s_type: StructureType

Native field sType.

§p_next: *mut c_void

Native field pNext.

§driver_id: DriverId

Native field driverID.

§driver_name: [c_char; 256]

Native field driverName.

§driver_info: [c_char; 256]

Native field driverInfo.

§conformance_version: ConformanceVersion

Native field conformanceVersion.

§denorm_behavior_independence: ShaderFloatControlsIndependence

Native field denormBehaviorIndependence.

§rounding_mode_independence: ShaderFloatControlsIndependence

Native field roundingModeIndependence.

§shader_signed_zero_inf_nan_preserve_float16: Bool32

Native field shaderSignedZeroInfNanPreserveFloat16.

§shader_signed_zero_inf_nan_preserve_float32: Bool32

Native field shaderSignedZeroInfNanPreserveFloat32.

§shader_signed_zero_inf_nan_preserve_float64: Bool32

Native field shaderSignedZeroInfNanPreserveFloat64.

§shader_denorm_preserve_float16: Bool32

Native field shaderDenormPreserveFloat16.

§shader_denorm_preserve_float32: Bool32

Native field shaderDenormPreserveFloat32.

§shader_denorm_preserve_float64: Bool32

Native field shaderDenormPreserveFloat64.

§shader_denorm_flush_to_zero_float16: Bool32

Native field shaderDenormFlushToZeroFloat16.

§shader_denorm_flush_to_zero_float32: Bool32

Native field shaderDenormFlushToZeroFloat32.

§shader_denorm_flush_to_zero_float64: Bool32

Native field shaderDenormFlushToZeroFloat64.

§shader_rounding_mode_rte_float16: Bool32

Native field shaderRoundingModeRTEFloat16.

§shader_rounding_mode_rte_float32: Bool32

Native field shaderRoundingModeRTEFloat32.

§shader_rounding_mode_rte_float64: Bool32

Native field shaderRoundingModeRTEFloat64.

§shader_rounding_mode_rtz_float16: Bool32

Native field shaderRoundingModeRTZFloat16.

§shader_rounding_mode_rtz_float32: Bool32

Native field shaderRoundingModeRTZFloat32.

§shader_rounding_mode_rtz_float64: Bool32

Native field shaderRoundingModeRTZFloat64.

§max_update_after_bind_descriptors_in_all_pools: u32

Native field maxUpdateAfterBindDescriptorsInAllPools.

§shader_uniform_buffer_array_non_uniform_indexing_native: Bool32

Native field shaderUniformBufferArrayNonUniformIndexingNative.

§shader_sampled_image_array_non_uniform_indexing_native: Bool32

Native field shaderSampledImageArrayNonUniformIndexingNative.

§shader_storage_buffer_array_non_uniform_indexing_native: Bool32

Native field shaderStorageBufferArrayNonUniformIndexingNative.

§shader_storage_image_array_non_uniform_indexing_native: Bool32

Native field shaderStorageImageArrayNonUniformIndexingNative.

§shader_input_attachment_array_non_uniform_indexing_native: Bool32

Native field shaderInputAttachmentArrayNonUniformIndexingNative.

§robust_buffer_access_update_after_bind: Bool32

Native field robustBufferAccessUpdateAfterBind.

§quad_divergent_implicit_lod: Bool32

Native field quadDivergentImplicitLod.

§max_per_stage_descriptor_update_after_bind_samplers: u32

Native field maxPerStageDescriptorUpdateAfterBindSamplers.

§max_per_stage_descriptor_update_after_bind_uniform_buffers: u32

Native field maxPerStageDescriptorUpdateAfterBindUniformBuffers.

§max_per_stage_descriptor_update_after_bind_storage_buffers: u32

Native field maxPerStageDescriptorUpdateAfterBindStorageBuffers.

§max_per_stage_descriptor_update_after_bind_sampled_images: u32

Native field maxPerStageDescriptorUpdateAfterBindSampledImages.

§max_per_stage_descriptor_update_after_bind_storage_images: u32

Native field maxPerStageDescriptorUpdateAfterBindStorageImages.

§max_per_stage_descriptor_update_after_bind_input_attachments: u32

Native field maxPerStageDescriptorUpdateAfterBindInputAttachments.

§max_per_stage_update_after_bind_resources: u32

Native field maxPerStageUpdateAfterBindResources.

§max_descriptor_set_update_after_bind_samplers: u32

Native field maxDescriptorSetUpdateAfterBindSamplers.

§max_descriptor_set_update_after_bind_uniform_buffers: u32

Native field maxDescriptorSetUpdateAfterBindUniformBuffers.

§max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32

Native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic.

§max_descriptor_set_update_after_bind_storage_buffers: u32

Native field maxDescriptorSetUpdateAfterBindStorageBuffers.

§max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32

Native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic.

§max_descriptor_set_update_after_bind_sampled_images: u32

Native field maxDescriptorSetUpdateAfterBindSampledImages.

§max_descriptor_set_update_after_bind_storage_images: u32

Native field maxDescriptorSetUpdateAfterBindStorageImages.

§max_descriptor_set_update_after_bind_input_attachments: u32

Native field maxDescriptorSetUpdateAfterBindInputAttachments.

§supported_depth_resolve_modes: ResolveModeFlags

Native field supportedDepthResolveModes.

§supported_stencil_resolve_modes: ResolveModeFlags

Native field supportedStencilResolveModes.

§independent_resolve_none: Bool32

Native field independentResolveNone.

§independent_resolve: Bool32

Native field independentResolve.

§filter_minmax_single_component_formats: Bool32

Native field filterMinmaxSingleComponentFormats.

§filter_minmax_image_component_mapping: Bool32

Native field filterMinmaxImageComponentMapping.

§max_timeline_semaphore_value_difference: u64

Native field maxTimelineSemaphoreValueDifference.

§framebuffer_integer_color_sample_counts: SampleCountFlags

Native field framebufferIntegerColorSampleCounts.

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan12Properties<'a>

Source

pub fn new() -> Self

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

Source

pub fn set_driver_id(self, value: DriverId) -> Self

Set native field driverID without native effects.

Source

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

Set native field driverName without native effects.

Source

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

Set native field driverInfo without native effects.

Source

pub fn set_conformance_version(self, value: ConformanceVersion) -> Self

Set native field conformanceVersion without native effects.

Source

pub fn set_denorm_behavior_independence( self, value: ShaderFloatControlsIndependence, ) -> Self

Set native field denormBehaviorIndependence without native effects.

Source

pub fn set_rounding_mode_independence( self, value: ShaderFloatControlsIndependence, ) -> Self

Set native field roundingModeIndependence without native effects.

Source

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

Set native field shaderSignedZeroInfNanPreserveFloat16 without native effects.

Source

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

Set native field shaderSignedZeroInfNanPreserveFloat32 without native effects.

Source

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

Set native field shaderSignedZeroInfNanPreserveFloat64 without native effects.

Source

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

Set native field shaderDenormPreserveFloat16 without native effects.

Source

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

Set native field shaderDenormPreserveFloat32 without native effects.

Source

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

Set native field shaderDenormPreserveFloat64 without native effects.

Source

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

Set native field shaderDenormFlushToZeroFloat16 without native effects.

Source

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

Set native field shaderDenormFlushToZeroFloat32 without native effects.

Source

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

Set native field shaderDenormFlushToZeroFloat64 without native effects.

Source

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

Set native field shaderRoundingModeRTEFloat16 without native effects.

Source

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

Set native field shaderRoundingModeRTEFloat32 without native effects.

Source

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

Set native field shaderRoundingModeRTEFloat64 without native effects.

Source

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

Set native field shaderRoundingModeRTZFloat16 without native effects.

Source

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

Set native field shaderRoundingModeRTZFloat32 without native effects.

Source

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

Set native field shaderRoundingModeRTZFloat64 without native effects.

Source

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

Set native field maxUpdateAfterBindDescriptorsInAllPools without native effects.

Source

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

Set native field shaderUniformBufferArrayNonUniformIndexingNative without native effects.

Source

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

Set native field shaderSampledImageArrayNonUniformIndexingNative without native effects.

Source

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

Set native field shaderStorageBufferArrayNonUniformIndexingNative without native effects.

Source

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

Set native field shaderStorageImageArrayNonUniformIndexingNative without native effects.

Source

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

Set native field shaderInputAttachmentArrayNonUniformIndexingNative without native effects.

Source

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

Set native field robustBufferAccessUpdateAfterBind without native effects.

Source

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

Set native field quadDivergentImplicitLod without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindSamplers without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindUniformBuffers without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindStorageBuffers without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindSampledImages without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindStorageImages without native effects.

Source

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

Set native field maxPerStageDescriptorUpdateAfterBindInputAttachments without native effects.

Source

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

Set native field maxPerStageUpdateAfterBindResources without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindSamplers without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindUniformBuffers without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindStorageBuffers without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindSampledImages without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindStorageImages without native effects.

Source

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

Set native field maxDescriptorSetUpdateAfterBindInputAttachments without native effects.

Source

pub fn set_supported_depth_resolve_modes(self, value: ResolveModeFlags) -> Self

Set native field supportedDepthResolveModes without native effects.

Source

pub fn set_supported_stencil_resolve_modes( self, value: ResolveModeFlags, ) -> Self

Set native field supportedStencilResolveModes without native effects.

Source

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

Set native field independentResolveNone without native effects.

Source

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

Set native field independentResolve without native effects.

Source

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

Set native field filterMinmaxSingleComponentFormats without native effects.

Source

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

Set native field filterMinmaxImageComponentMapping without native effects.

Source

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

Set native field maxTimelineSemaphoreValueDifference without native effects.

Source

pub fn set_framebuffer_integer_color_sample_counts( self, value: SampleCountFlags, ) -> Self

Set native field framebufferIntegerColorSampleCounts without native effects.

Source

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.

Trait Implementations§

Source§

impl<'a> Default for PhysicalDeviceVulkan12Properties<'a>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, 'root> Extends<PhysicalDeviceProperties2<'root>> for PhysicalDeviceVulkan12Properties<'a>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.