#[repr(C)]pub struct PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_work_group_count: [u32; 3],
pub max_work_group_size: [u32; 3],
pub max_output_cluster_count: u32,
pub indirect_buffer_offset_alignment: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§max_work_group_count: [u32; 3]
§max_work_group_size: [u32; 3]
§max_output_cluster_count: u32
§indirect_buffer_offset_alignment: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
pub fn max_work_group_count(self, max_work_group_count: [u32; 3]) -> Self
pub fn max_work_group_size(self, max_work_group_size: [u32; 3]) -> Self
pub fn max_output_cluster_count(self, max_output_cluster_count: u32) -> Self
pub fn indirect_buffer_offset_alignment( self, indirect_buffer_offset_alignment: DeviceSize, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> Clone for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
source§fn clone(&self) -> PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
fn clone(&self) -> PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'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 PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> Debug for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> TaggedStructure for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI
impl<'a> Copy for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'_>
impl Send for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'_>
impl Sync for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> Unpin for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a>
impl<'a> UnwindSafe for PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)