pub struct PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
pub fn min_subgroup_size(self, min_subgroup_size: u32) -> Self
pub fn max_subgroup_size(self, max_subgroup_size: u32) -> Self
pub fn max_compute_workgroup_subgroups( self, max_compute_workgroup_subgroups: u32 ) -> Self
pub fn required_subgroup_size_stages( self, required_subgroup_size_stages: ShaderStageFlags ) -> Self
sourcepub fn build(self) -> PhysicalDeviceSubgroupSizeControlProperties
pub fn build(self) -> PhysicalDeviceSubgroupSizeControlProperties
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 PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'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