Struct vulkano::instance::InstanceExtensions[][src]

pub struct InstanceExtensions {
Show fields pub khr_android_surface: bool, pub khr_device_group_creation: bool, pub khr_display: bool, pub khr_external_fence_capabilities: bool, pub khr_external_memory_capabilities: bool, pub khr_external_semaphore_capabilities: bool, pub khr_get_display_properties2: bool, pub khr_get_physical_device_properties2: bool, pub khr_get_surface_capabilities2: bool, pub khr_surface: bool, pub khr_surface_protected_capabilities: bool, pub khr_wayland_surface: bool, pub khr_win32_surface: bool, pub khr_xcb_surface: bool, pub khr_xlib_surface: bool, pub ext_acquire_xlib_display: bool, pub ext_debug_report: bool, pub ext_debug_utils: bool, pub ext_direct_mode_display: bool, pub ext_directfb_surface: bool, pub ext_display_surface_counter: bool, pub ext_headless_surface: bool, pub ext_metal_surface: bool, pub ext_swapchain_colorspace: bool, pub ext_validation_features: bool, pub ext_validation_flags: bool, pub fuchsia_imagepipe_surface: bool, pub ggp_stream_descriptor_surface: bool, pub mvk_ios_surface: bool, pub mvk_macos_surface: bool, pub nn_vi_surface: bool, pub nv_external_memory_capabilities: bool, pub _unbuildable: Unbuildable,
}
Expand description

List of extensions that are enabled or available.

Fields

khr_android_surface: bool
khr_device_group_creation: bool
khr_display: bool
khr_external_fence_capabilities: bool
khr_external_memory_capabilities: bool
khr_external_semaphore_capabilities: bool
khr_get_display_properties2: bool
khr_get_physical_device_properties2: bool
khr_get_surface_capabilities2: bool
khr_surface: boolkhr_surface_protected_capabilities: bool
khr_wayland_surface: bool
khr_win32_surface: bool
khr_xcb_surface: bool
khr_xlib_surface: bool
ext_acquire_xlib_display: bool
ext_debug_report: boolext_debug_utils: boolext_direct_mode_display: bool
ext_directfb_surface: bool
ext_display_surface_counter: bool
ext_headless_surface: bool
ext_metal_surface: bool
ext_swapchain_colorspace: bool
ext_validation_features: boolext_validation_flags: boolfuchsia_imagepipe_surface: bool
ggp_stream_descriptor_surface: bool
mvk_ios_surface: bool
mvk_macos_surface: bool
nn_vi_surface: bool
nv_external_memory_capabilities: 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

See the docs of supported_by_core().

Returns an InstanceExtensions object with extensions supported by the core driver.

Same as supported_by_core, but allows specifying a loader.

See the docs of supported_by_core().

Returns an Extensions object with all members set to false.

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.

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)

recently added

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.