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