pub struct VulkanFeatures {
pub descriptor_indexing: bool,
pub buffer_device_address: bool,
pub subgroup_operations: bool,
pub ray_tracing: bool,
}Expand description
Vulkan-specific features and extensions
Fields§
§descriptor_indexing: boolDescriptor indexing support
buffer_device_address: boolBuffer device address support
subgroup_operations: boolShader subgroup support
ray_tracing: boolRay tracing support
Implementations§
Source§impl VulkanFeatures
impl VulkanFeatures
Sourcepub fn has_advanced_features(&self) -> bool
pub fn has_advanced_features(&self) -> bool
Check if any advanced features are available
Auto Trait Implementations§
impl Freeze for VulkanFeatures
impl RefUnwindSafe for VulkanFeatures
impl Send for VulkanFeatures
impl Sync for VulkanFeatures
impl Unpin for VulkanFeatures
impl UnsafeUnpin for VulkanFeatures
impl UnwindSafe for VulkanFeatures
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more