#[repr(transparent)]pub struct PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'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) -> PhysicalDeviceSubgroupSizeControlPropertiesEXT
pub fn build(self) -> PhysicalDeviceSubgroupSizeControlPropertiesEXT
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
sourceimpl<'a> Deref for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
type Target = PhysicalDeviceSubgroupSizeControlPropertiesEXT
type Target = PhysicalDeviceSubgroupSizeControlPropertiesEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more