Struct ash::vk::definitions::PhysicalDeviceSubgroupProperties
source · #[repr(C)]pub struct PhysicalDeviceSubgroupProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub subgroup_size: u32,
pub supported_stages: ShaderStageFlags,
pub supported_operations: SubgroupFeatureFlags,
pub quad_operations_in_all_stages: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§subgroup_size: u32
§supported_stages: ShaderStageFlags
§supported_operations: SubgroupFeatureFlags
§quad_operations_in_all_stages: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceSubgroupProperties<'a>
impl<'a> PhysicalDeviceSubgroupProperties<'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
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceSubgroupProperties<'a>
impl<'a> Clone for PhysicalDeviceSubgroupProperties<'a>
source§fn clone(&self) -> PhysicalDeviceSubgroupProperties<'a>
fn clone(&self) -> PhysicalDeviceSubgroupProperties<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for PhysicalDeviceSubgroupProperties<'a>
impl<'a> Debug for PhysicalDeviceSubgroupProperties<'a>
source§impl Default for PhysicalDeviceSubgroupProperties<'_>
impl Default for PhysicalDeviceSubgroupProperties<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceSubgroupProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceSubgroupProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SUBGROUP_PROPERTIES
impl<'a> Copy for PhysicalDeviceSubgroupProperties<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSubgroupProperties<'_>
impl Send for PhysicalDeviceSubgroupProperties<'_>
impl Sync for PhysicalDeviceSubgroupProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSubgroupProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSubgroupProperties<'a>
impl<'a> Unpin for PhysicalDeviceSubgroupProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceSubgroupProperties<'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