logo
pub struct DeviceExtensions {
Show 236 fields pub khr_16bit_storage: bool, pub khr_8bit_storage: bool, pub khr_acceleration_structure: bool, pub khr_bind_memory2: bool, pub khr_buffer_device_address: bool, pub khr_copy_commands2: bool, pub khr_create_renderpass2: bool, pub khr_dedicated_allocation: bool, pub khr_deferred_host_operations: bool, pub khr_depth_stencil_resolve: bool, pub khr_descriptor_update_template: bool, pub khr_device_group: bool, pub khr_display_swapchain: bool, pub khr_draw_indirect_count: bool, pub khr_driver_properties: bool, pub khr_dynamic_rendering: bool, pub khr_external_fence: bool, pub khr_external_fence_fd: bool, pub khr_external_fence_win32: bool, pub khr_external_memory: bool, pub khr_external_memory_fd: bool, pub khr_external_memory_win32: bool, pub khr_external_semaphore: bool, pub khr_external_semaphore_fd: bool, pub khr_external_semaphore_win32: bool, pub khr_format_feature_flags2: bool, pub khr_fragment_shading_rate: bool, pub khr_get_memory_requirements2: bool, pub khr_image_format_list: bool, pub khr_imageless_framebuffer: bool, pub khr_incremental_present: bool, pub khr_maintenance1: bool, pub khr_maintenance2: bool, pub khr_maintenance3: bool, pub khr_maintenance4: bool, pub khr_multiview: bool, pub khr_performance_query: bool, pub khr_pipeline_executable_properties: bool, pub khr_pipeline_library: bool, pub khr_portability_subset: bool, pub khr_present_id: bool, pub khr_present_wait: bool, pub khr_push_descriptor: bool, pub khr_ray_query: bool, pub khr_ray_tracing_pipeline: bool, pub khr_relaxed_block_layout: bool, pub khr_sampler_mirror_clamp_to_edge: bool, pub khr_sampler_ycbcr_conversion: bool, pub khr_separate_depth_stencil_layouts: bool, pub khr_shader_atomic_int64: bool, pub khr_shader_clock: bool, pub khr_shader_draw_parameters: bool, pub khr_shader_float16_int8: bool, pub khr_shader_float_controls: bool, pub khr_shader_integer_dot_product: bool, pub khr_shader_non_semantic_info: bool, pub khr_shader_subgroup_extended_types: bool, pub khr_shader_subgroup_uniform_control_flow: bool, pub khr_shader_terminate_invocation: bool, pub khr_shared_presentable_image: bool, pub khr_spirv_1_4: bool, pub khr_storage_buffer_storage_class: bool, pub khr_swapchain: bool, pub khr_swapchain_mutable_format: bool, pub khr_synchronization2: bool, pub khr_timeline_semaphore: bool, pub khr_uniform_buffer_standard_layout: bool, pub khr_variable_pointers: bool, pub khr_video_decode_queue: bool, pub khr_video_encode_queue: bool, pub khr_video_queue: bool, pub khr_vulkan_memory_model: bool, pub khr_win32_keyed_mutex: bool, pub khr_workgroup_memory_explicit_layout: bool, pub khr_zero_initialize_workgroup_memory: bool, pub ext_4444_formats: bool, pub ext_astc_decode_mode: bool, pub ext_blend_operation_advanced: bool, pub ext_border_color_swizzle: bool, pub ext_buffer_device_address: bool, pub ext_calibrated_timestamps: bool, pub ext_color_write_enable: bool, pub ext_conditional_rendering: bool, pub ext_conservative_rasterization: bool, pub ext_custom_border_color: bool, pub ext_debug_marker: bool, pub ext_depth_clip_control: bool, pub ext_depth_clip_enable: bool, pub ext_depth_range_unrestricted: bool, pub ext_descriptor_indexing: bool, pub ext_device_memory_report: bool, pub ext_discard_rectangles: bool, pub ext_display_control: bool, pub ext_extended_dynamic_state: bool, pub ext_extended_dynamic_state2: bool, pub ext_external_memory_dma_buf: bool, pub ext_external_memory_host: bool, pub ext_filter_cubic: bool, pub ext_fragment_density_map: bool, pub ext_fragment_density_map2: bool, pub ext_fragment_shader_interlock: bool, pub ext_full_screen_exclusive: bool, pub ext_global_priority: bool, pub ext_global_priority_query: bool, pub ext_hdr_metadata: bool, pub ext_host_query_reset: bool, pub ext_image_drm_format_modifier: bool, pub ext_image_robustness: bool, pub ext_image_view_min_lod: bool, pub ext_index_type_uint8: bool, pub ext_inline_uniform_block: bool, pub ext_line_rasterization: bool, pub ext_load_store_op_none: bool, pub ext_memory_budget: bool, pub ext_memory_priority: bool, pub ext_multi_draw: bool, pub ext_pageable_device_local_memory: bool, pub ext_pci_bus_info: bool, pub ext_physical_device_drm: bool, pub ext_pipeline_creation_cache_control: bool, pub ext_pipeline_creation_feedback: bool, pub ext_post_depth_coverage: bool, pub ext_primitive_topology_list_restart: bool, pub ext_private_data: bool, pub ext_provoking_vertex: bool, pub ext_queue_family_foreign: bool, pub ext_rgba10x6_formats: bool, pub ext_robustness2: bool, pub ext_sample_locations: bool, pub ext_sampler_filter_minmax: bool, pub ext_scalar_block_layout: bool, pub ext_separate_stencil_usage: bool, pub ext_shader_atomic_float: bool, pub ext_shader_atomic_float2: bool, pub ext_shader_demote_to_helper_invocation: bool, pub ext_shader_image_atomic_int64: bool, pub ext_shader_stencil_export: bool, pub ext_shader_subgroup_ballot: bool, pub ext_shader_subgroup_vote: bool, pub ext_shader_viewport_index_layer: bool, pub ext_subgroup_size_control: bool, pub ext_texel_buffer_alignment: bool, pub ext_texture_compression_astc_hdr: bool, pub ext_tooling_info: bool, pub ext_transform_feedback: bool, pub ext_validation_cache: bool, pub ext_vertex_attribute_divisor: bool, pub ext_vertex_input_dynamic_state: bool, pub ext_video_decode_h264: bool, pub ext_video_decode_h265: bool, pub ext_video_encode_h264: bool, pub ext_video_encode_h265: bool, pub ext_ycbcr_2plane_444_formats: bool, pub ext_ycbcr_image_arrays: bool, pub amd_buffer_marker: bool, pub amd_device_coherent_memory: bool, pub amd_display_native_hdr: bool, pub amd_draw_indirect_count: bool, pub amd_gcn_shader: bool, pub amd_gpu_shader_half_float: bool, pub amd_gpu_shader_int16: bool, pub amd_memory_overallocation_behavior: bool, pub amd_mixed_attachment_samples: bool, pub amd_pipeline_compiler_control: bool, pub amd_rasterization_order: bool, pub amd_shader_ballot: bool, pub amd_shader_core_properties: bool, pub amd_shader_core_properties2: bool, pub amd_shader_explicit_vertex_parameter: bool, pub amd_shader_fragment_mask: bool, pub amd_shader_image_load_store_lod: bool, pub amd_shader_info: bool, pub amd_shader_trinary_minmax: bool, pub amd_texture_gather_bias_lod: bool, pub android_external_memory_android_hardware_buffer: bool, pub arm_rasterization_order_attachment_access: bool, pub fuchsia_buffer_collection: bool, pub fuchsia_external_memory: bool, pub fuchsia_external_semaphore: bool, pub ggp_frame_token: bool, pub google_decorate_string: bool, pub google_display_timing: bool, pub google_hlsl_functionality1: bool, pub google_user_type: bool, pub huawei_invocation_mask: bool, pub huawei_subpass_shading: bool, pub img_filter_cubic: bool, pub img_format_pvrtc: bool, pub intel_performance_query: bool, pub intel_shader_integer_functions2: bool, pub nvx_binary_import: bool, pub nvx_image_view_handle: bool, pub nvx_multiview_per_view_attributes: bool, pub nv_acquire_winrt_display: bool, pub nv_clip_space_w_scaling: bool, pub nv_compute_shader_derivatives: bool, pub nv_cooperative_matrix: bool, pub nv_corner_sampled_image: bool, pub nv_coverage_reduction_mode: bool, pub nv_dedicated_allocation: bool, pub nv_dedicated_allocation_image_aliasing: bool, pub nv_device_diagnostic_checkpoints: bool, pub nv_device_diagnostics_config: bool, pub nv_device_generated_commands: bool, pub nv_external_memory: bool, pub nv_external_memory_rdma: bool, pub nv_external_memory_win32: bool, pub nv_fill_rectangle: bool, pub nv_fragment_coverage_to_color: bool, pub nv_fragment_shader_barycentric: bool, pub nv_fragment_shading_rate_enums: bool, pub nv_framebuffer_mixed_samples: bool, pub nv_geometry_shader_passthrough: bool, pub nv_glsl_shader: bool, pub nv_inherited_viewport_scissor: bool, pub nv_linear_color_attachment: bool, pub nv_mesh_shader: bool, pub nv_ray_tracing: bool, pub nv_ray_tracing_motion_blur: bool, pub nv_representative_fragment_test: bool, pub nv_sample_mask_override_coverage: bool, pub nv_scissor_exclusive: bool, pub nv_shader_image_footprint: bool, pub nv_shader_sm_builtins: bool, pub nv_shader_subgroup_partitioned: bool, pub nv_shading_rate_image: bool, pub nv_viewport_array2: bool, pub nv_viewport_swizzle: bool, pub nv_win32_keyed_mutex: bool, pub qcom_fragment_density_map_offset: bool, pub qcom_render_pass_shader_resolve: bool, pub qcom_render_pass_store_ops: bool, pub qcom_render_pass_transform: bool, pub qcom_rotated_copy_commands: bool, pub valve_mutable_descriptor_type: bool, pub _unbuildable: Unbuildable,
}
Expand description

List of extensions that are enabled or available.

Fields

khr_16bit_storage: bool
khr_8bit_storage: bool
khr_acceleration_structure: bool
khr_bind_memory2: bool
khr_buffer_device_address: bool
khr_copy_commands2: boolkhr_create_renderpass2: bool
khr_dedicated_allocation: bool
khr_deferred_host_operations: boolkhr_depth_stencil_resolve: bool
khr_descriptor_update_template: bool
khr_device_group: bool
khr_display_swapchain: bool
khr_draw_indirect_count: bool
khr_driver_properties: bool
khr_dynamic_rendering: bool
khr_external_fence: bool
khr_external_fence_fd: bool
khr_external_fence_win32: bool
khr_external_memory: bool
khr_external_memory_fd: bool
khr_external_memory_win32: bool
khr_external_semaphore: bool
khr_external_semaphore_fd: bool
khr_external_semaphore_win32: bool
khr_format_feature_flags2: bool
khr_fragment_shading_rate: bool
khr_get_memory_requirements2: bool
khr_image_format_list: bool
khr_imageless_framebuffer: bool
khr_incremental_present: bool
khr_maintenance1: bool
khr_maintenance2: bool
khr_maintenance3: bool
khr_maintenance4: bool
khr_multiview: bool
khr_performance_query: bool
khr_pipeline_executable_properties: bool
khr_pipeline_library: boolkhr_portability_subset: bool
khr_present_id: bool
khr_present_wait: bool
khr_push_descriptor: bool
khr_ray_query: bool
khr_ray_tracing_pipeline: bool
khr_relaxed_block_layout: bool
khr_sampler_mirror_clamp_to_edge: bool
khr_sampler_ycbcr_conversion: bool
khr_separate_depth_stencil_layouts: bool
khr_shader_atomic_int64: bool
khr_shader_clock: bool
khr_shader_draw_parameters: bool
khr_shader_float16_int8: bool
khr_shader_float_controls: bool
khr_shader_integer_dot_product: bool
khr_shader_non_semantic_info: boolkhr_shader_subgroup_extended_types: bool
khr_shader_subgroup_uniform_control_flow: bool
khr_shader_terminate_invocation: bool
khr_shared_presentable_image: bool
khr_spirv_1_4: bool
khr_storage_buffer_storage_class: bool
khr_swapchain: bool
khr_swapchain_mutable_format: bool
khr_synchronization2: bool
khr_timeline_semaphore: bool
khr_uniform_buffer_standard_layout: bool
khr_variable_pointers: bool
khr_video_decode_queue: bool
khr_video_encode_queue: bool
khr_video_queue: bool
khr_vulkan_memory_model: bool
khr_win32_keyed_mutex: bool
khr_workgroup_memory_explicit_layout: bool
khr_zero_initialize_workgroup_memory: bool
ext_4444_formats: bool
ext_astc_decode_mode: bool
ext_blend_operation_advanced: boolext_border_color_swizzle: bool
ext_buffer_device_address: bool
ext_calibrated_timestamps: bool
ext_color_write_enable: bool
ext_conditional_rendering: boolext_conservative_rasterization: bool
ext_custom_border_color: boolext_debug_marker: bool
ext_depth_clip_control: bool
ext_depth_clip_enable: boolext_depth_range_unrestricted: boolext_descriptor_indexing: bool
ext_device_memory_report: bool
ext_discard_rectangles: bool
ext_display_control: bool
ext_extended_dynamic_state: bool
ext_extended_dynamic_state2: bool
ext_external_memory_dma_buf: bool
ext_external_memory_host: bool
ext_filter_cubic: boolext_fragment_density_map: bool
ext_fragment_density_map2: bool
ext_fragment_shader_interlock: bool
ext_full_screen_exclusive: bool
ext_global_priority: boolext_global_priority_query: bool
ext_hdr_metadata: bool
ext_host_query_reset: bool
ext_image_drm_format_modifier: bool
ext_image_robustness: bool
ext_image_view_min_lod: bool
ext_index_type_uint8: boolext_inline_uniform_block: bool
ext_line_rasterization: bool
ext_load_store_op_none: boolext_memory_budget: bool
ext_memory_priority: bool
ext_multi_draw: boolext_pageable_device_local_memory: bool
ext_pci_bus_info: bool
ext_physical_device_drm: bool
ext_pipeline_creation_cache_control: boolext_pipeline_creation_feedback: boolext_post_depth_coverage: boolext_primitive_topology_list_restart: boolext_private_data: boolext_provoking_vertex: bool
ext_queue_family_foreign: bool
ext_rgba10x6_formats: bool
ext_robustness2: boolext_sample_locations: bool
ext_sampler_filter_minmax: bool
ext_scalar_block_layout: bool
ext_separate_stencil_usage: bool
ext_shader_atomic_float: bool
ext_shader_atomic_float2: bool
ext_shader_demote_to_helper_invocation: bool
ext_shader_image_atomic_int64: bool
ext_shader_stencil_export: boolext_shader_subgroup_ballot: bool
ext_shader_subgroup_vote: bool
ext_shader_viewport_index_layer: bool
ext_subgroup_size_control: bool
ext_texel_buffer_alignment: bool
ext_texture_compression_astc_hdr: bool
ext_tooling_info: boolext_transform_feedback: bool
ext_validation_cache: boolext_vertex_attribute_divisor: bool
ext_vertex_input_dynamic_state: bool
ext_video_decode_h264: bool
ext_video_decode_h265: bool
ext_video_encode_h264: bool
ext_video_encode_h265: bool
ext_ycbcr_2plane_444_formats: bool
ext_ycbcr_image_arrays: bool
amd_buffer_marker: boolamd_device_coherent_memory: boolamd_display_native_hdr: bool
amd_draw_indirect_count: boolamd_gcn_shader: boolamd_gpu_shader_half_float: boolamd_gpu_shader_int16: boolamd_memory_overallocation_behavior: boolamd_mixed_attachment_samples: boolamd_pipeline_compiler_control: boolamd_rasterization_order: boolamd_shader_ballot: boolamd_shader_core_properties: bool
amd_shader_core_properties2: boolamd_shader_explicit_vertex_parameter: boolamd_shader_fragment_mask: boolamd_shader_image_load_store_lod: boolamd_shader_info: boolamd_shader_trinary_minmax: boolamd_texture_gather_bias_lod: bool
android_external_memory_android_hardware_buffer: bool
arm_rasterization_order_attachment_access: bool
fuchsia_buffer_collection: bool
fuchsia_external_memory: bool
fuchsia_external_semaphore: bool
ggp_frame_token: bool
google_decorate_string: boolgoogle_display_timing: bool
google_hlsl_functionality1: boolgoogle_user_type: boolhuawei_invocation_mask: bool
huawei_subpass_shading: bool
img_filter_cubic: boolimg_format_pvrtc: boolintel_performance_query: boolintel_shader_integer_functions2: bool
nvx_binary_import: boolnvx_image_view_handle: boolnvx_multiview_per_view_attributes: bool
nv_acquire_winrt_display: bool
nv_clip_space_w_scaling: boolnv_compute_shader_derivatives: bool
nv_cooperative_matrix: bool
nv_corner_sampled_image: bool
nv_coverage_reduction_mode: boolnv_dedicated_allocation: boolnv_dedicated_allocation_image_aliasing: bool
nv_device_diagnostic_checkpoints: bool
nv_device_diagnostics_config: bool
nv_device_generated_commands: bool
nv_external_memory: bool
nv_external_memory_rdma: bool
nv_external_memory_win32: bool
nv_fill_rectangle: boolnv_fragment_coverage_to_color: boolnv_fragment_shader_barycentric: bool
nv_fragment_shading_rate_enums: bool
nv_framebuffer_mixed_samples: boolnv_geometry_shader_passthrough: boolnv_glsl_shader: bool
nv_inherited_viewport_scissor: boolnv_linear_color_attachment: boolnv_mesh_shader: bool
nv_ray_tracing: bool
nv_ray_tracing_motion_blur: bool
nv_representative_fragment_test: boolnv_sample_mask_override_coverage: boolnv_scissor_exclusive: bool
nv_shader_image_footprint: bool
nv_shader_sm_builtins: bool
nv_shader_subgroup_partitioned: bool
nv_shading_rate_image: bool
nv_viewport_array2: boolnv_viewport_swizzle: boolnv_win32_keyed_mutex: boolqcom_fragment_density_map_offset: bool
qcom_render_pass_shader_resolve: boolqcom_render_pass_store_ops: boolqcom_render_pass_transform: bool
qcom_rotated_copy_commands: bool
valve_mutable_descriptor_type: bool
_unbuildable: Unbuildable

This field ensures that an instance of this Extensions struct can only be created through Vulkano functions and the update syntax. This way, extensions can be added to Vulkano without breaking existing code.

Implementations

Returns an Extensions object with all members set to false.

Returns true if self is a superset of the parameter.

That is, for each extension of the parameter that is true, the corresponding value in self is true as well.

Returns the union of this list and another list.

Returns the intersection of this list and another list.

Returns the difference of another list from this list.

👎 Deprecated since 0.25:

Use PhysicalDevice::supported_extensions instead

See the docs of supported_by_device().

👎 Deprecated since 0.25:

Use PhysicalDevice::supported_extensions instead

Returns a DeviceExtensions object with extensions supported by the PhysicalDevice.

👎 Deprecated since 0.25:

Use PhysicalDevice::required_extensions instead

Returns a DeviceExtensions object with extensions required as well as supported by the PhysicalDevice. They are needed to be passed to Device::new(...).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.