pub struct VulkanFeatures {
pub subgroup_size: u32,
pub subgroup_arithmetic: bool,
pub subgroup_ballot: bool,
pub subgroup_shuffle: bool,
pub timeline_semaphores: bool,
pub max_push_constants_size: u32,
pub async_compute: bool,
}Fields§
§subgroup_size: u32Subgroup size (wave size).
subgroup_arithmetic: boolSupports subgroup arithmetic operations.
subgroup_ballot: boolSupports subgroup ballot.
subgroup_shuffle: boolSupports subgroup shuffle.
timeline_semaphores: boolSupports timeline semaphores.
max_push_constants_size: u32Maximum push constants size.
async_compute: boolSupports async compute.
Trait Implementations§
Source§impl Clone for VulkanFeatures
impl Clone for VulkanFeatures
Source§fn clone(&self) -> VulkanFeatures
fn clone(&self) -> VulkanFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VulkanFeatures
impl Debug for VulkanFeatures
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