Struct vulkano::instance::InstanceExtensions [−][src]
pub struct InstanceExtensions {}Show fields
pub khr_surface: bool, pub khr_display: bool, pub khr_xlib_surface: bool, pub khr_xcb_surface: bool, pub khr_wayland_surface: bool, pub khr_android_surface: bool, pub khr_win32_surface: bool, pub ext_debug_utils: bool, pub mvk_ios_surface: bool, pub mvk_macos_surface: bool, pub mvk_moltenvk: bool, pub nn_vi_surface: bool, pub ext_swapchain_colorspace: bool, pub khr_get_physical_device_properties2: bool, pub khr_get_surface_capabilities2: bool, pub khr_device_group_creation: 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 ext_acquire_xlib_display: bool, pub ext_debug_report: bool, pub ext_direct_mode_display: bool, pub ext_display_surface_counter: bool, pub _unbuildable: Unbuildable,
List of extensions that are enabled or available.
Fields
khr_surface: bool
khr_display: bool
khr_xlib_surface: bool
khr_xcb_surface: bool
khr_wayland_surface: bool
khr_android_surface: bool
khr_win32_surface: bool
ext_debug_utils: bool
mvk_ios_surface: bool
mvk_macos_surface: bool
mvk_moltenvk: bool
nn_vi_surface: bool
ext_swapchain_colorspace: bool
khr_get_physical_device_properties2: bool
khr_get_surface_capabilities2: bool
khr_device_group_creation: bool
khr_external_fence_capabilities: bool
khr_external_memory_capabilities: bool
khr_external_semaphore_capabilities: bool
khr_get_display_properties2: bool
ext_acquire_xlib_display: bool
ext_debug_report: bool
ext_direct_mode_display: bool
ext_display_surface_counter: 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
impl InstanceExtensions
[src]
impl InstanceExtensions
[src]pub const fn none() -> InstanceExtensions
[src]
pub const fn none() -> InstanceExtensions
[src]Returns an Extensions
object with all members set to false
.
pub const fn union(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]
pub const fn union(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]Returns the union of this list and another list.
pub const fn intersection(
&self,
other: &InstanceExtensions
) -> InstanceExtensions
[src]
pub const fn intersection(
&self,
other: &InstanceExtensions
) -> InstanceExtensions
[src]Returns the intersection of this list and another list.
pub const fn difference(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]
pub const fn difference(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]Returns the difference of another list from this list.
impl InstanceExtensions
[src]
impl InstanceExtensions
[src]pub fn supported_by_core_raw() -> Result<Self, SupportedExtensionsError>
[src]
pub fn supported_by_core_raw() -> Result<Self, SupportedExtensionsError>
[src]See the docs of supported_by_core().
pub fn supported_by_core_raw_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, SupportedExtensionsError> where
L: Loader,
[src]
pub fn supported_by_core_raw_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, SupportedExtensionsError> where
L: Loader,
[src]See the docs of supported_by_core().
pub fn supported_by_core() -> Result<Self, LoadingError>
[src]
pub fn supported_by_core() -> Result<Self, LoadingError>
[src]Returns a RawExtensions
object with extensions supported by the core driver.
pub fn supported_by_core_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, LoadingError> where
L: Loader,
[src]
pub fn supported_by_core_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, LoadingError> where
L: Loader,
[src]Same as supported_by_core
, but allows specifying a loader.
Trait Implementations
impl Clone for InstanceExtensions
[src]
impl Clone for InstanceExtensions
[src]fn clone(&self) -> InstanceExtensions
[src]
fn clone(&self) -> InstanceExtensions
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for InstanceExtensions
[src]
impl Debug for InstanceExtensions
[src]impl<'a> From<&'a InstanceExtensions> for RawInstanceExtensions
[src]
impl<'a> From<&'a InstanceExtensions> for RawInstanceExtensions
[src]fn from(x: &'a InstanceExtensions) -> Self
[src]
fn from(x: &'a InstanceExtensions) -> Self
[src]Performs the conversion.
impl<'a> From<&'a RawInstanceExtensions> for InstanceExtensions
[src]
impl<'a> From<&'a RawInstanceExtensions> for InstanceExtensions
[src]fn from(x: &'a RawInstanceExtensions) -> Self
[src]
fn from(x: &'a RawInstanceExtensions) -> Self
[src]Performs the conversion.
impl PartialEq<InstanceExtensions> for InstanceExtensions
[src]
impl PartialEq<InstanceExtensions> for InstanceExtensions
[src]fn eq(&self, other: &InstanceExtensions) -> bool
[src]
fn eq(&self, other: &InstanceExtensions) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &InstanceExtensions) -> bool
[src]
fn ne(&self, other: &InstanceExtensions) -> bool
[src]This method tests for !=
.
impl Copy for InstanceExtensions
[src]
impl Eq for InstanceExtensions
[src]
impl StructuralEq for InstanceExtensions
[src]
impl StructuralPartialEq for InstanceExtensions
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceExtensions
impl Send for InstanceExtensions
impl Sync for InstanceExtensions
impl Unpin for InstanceExtensions
impl UnwindSafe for InstanceExtensions
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more