[−][src]Struct vulkano::device::DeviceExtensions
List of extensions that are enabled or available.
Fields
khr_swapchain: bool
khr_display_swapchain: bool
khr_sampler_mirror_clamp_to_edge: bool
khr_maintenance1: bool
khr_get_memory_requirements2: bool
khr_dedicated_allocation: bool
khr_incremental_present: bool
ext_debug_marker: 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.
Methods
impl DeviceExtensions
[src]
pub fn none() -> DeviceExtensions
[src]
Returns an Extensions
object with all members set to false
.
pub fn union(&self, other: &DeviceExtensions) -> DeviceExtensions
[src]
Returns the union of this list and another list.
pub fn intersection(&self, other: &DeviceExtensions) -> DeviceExtensions
[src]
Returns the intersection of this list and another list.
pub fn difference(&self, other: &DeviceExtensions) -> DeviceExtensions
[src]
Returns the difference of another list from this list.
impl DeviceExtensions
[src]
pub fn supported_by_device_raw(
physical_device: PhysicalDevice
) -> Result<Self, SupportedExtensionsError>
[src]
physical_device: PhysicalDevice
) -> Result<Self, SupportedExtensionsError>
See the docs of supported_by_device().
pub fn supported_by_device(physical_device: PhysicalDevice) -> Self
[src]
Returns an Extensions
object with extensions supported by the PhysicalDevice
.
Trait Implementations
impl Eq for DeviceExtensions
[src]
impl Clone for DeviceExtensions
[src]
fn clone(&self) -> DeviceExtensions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<DeviceExtensions> for DeviceExtensions
[src]
fn eq(&self, other: &DeviceExtensions) -> bool
[src]
fn ne(&self, other: &DeviceExtensions) -> bool
[src]
impl<'a> From<&'a DeviceExtensions> for RawDeviceExtensions
[src]
fn from(x: &'a DeviceExtensions) -> Self
[src]
impl<'a> From<&'a RawDeviceExtensions> for DeviceExtensions
[src]
fn from(x: &'a RawDeviceExtensions) -> Self
[src]
impl Copy for DeviceExtensions
[src]
impl Debug for DeviceExtensions
[src]
Auto Trait Implementations
impl Send for DeviceExtensions
impl Unpin for DeviceExtensions
impl Sync for DeviceExtensions
impl UnwindSafe for DeviceExtensions
impl RefUnwindSafe for DeviceExtensions
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,