Struct ash::vk::PhysicalDeviceSubgroupPropertiesBuilder
source · pub struct PhysicalDeviceSubgroupPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> PhysicalDeviceSubgroupPropertiesBuilder<'a>
pub fn subgroup_size(self, subgroup_size: u32) -> Self
pub fn supported_stages(self, supported_stages: ShaderStageFlags) -> Self
pub fn supported_operations( self, supported_operations: SubgroupFeatureFlags ) -> Self
pub fn quad_operations_in_all_stages( self, quad_operations_in_all_stages: bool ) -> Self
sourcepub fn build(self) -> PhysicalDeviceSubgroupProperties
pub fn build(self) -> PhysicalDeviceSubgroupProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceSubgroupPropertiesBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSubgroupPropertiesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceSubgroupPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceSubgroupPropertiesBuilder<'a>
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