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
) -> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
pub fn max_subgroup_size(
self,
max_subgroup_size: u32
) -> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
pub fn max_compute_workgroup_subgroups(
self,
max_compute_workgroup_subgroups: u32
) -> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
pub fn required_subgroup_size_stages(
self,
required_subgroup_size_stages: ShaderStageFlags
) -> PhysicalDeviceSubgroupSizeControlPropertiesBuilder<'a>
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>
§type Target = PhysicalDeviceSubgroupSizeControlProperties
type Target = PhysicalDeviceSubgroupSizeControlProperties
The resulting type after dereferencing.