#[repr(C)]pub struct PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub clusterculling_shader: Bool32,
pub multiview_cluster_culling_shader: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§clusterculling_shader: Bool32
§multiview_cluster_culling_shader: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
pub fn clusterculling_shader(self, clusterculling_shader: bool) -> Self
pub fn multiview_cluster_culling_shader( self, multiview_cluster_culling_shader: bool, ) -> Self
sourcepub fn push_next<T: ExtendsPhysicalDeviceClusterCullingShaderFeaturesHUAWEI + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPhysicalDeviceClusterCullingShaderFeaturesHUAWEI + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> Clone for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
source§fn clone(&self) -> PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
fn clone(&self) -> PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'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 PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> Debug for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> TaggedStructure for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI
impl<'a> Copy for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'_>
impl Send for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'_>
impl Sync for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> Unpin for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a>
impl<'a> UnwindSafe for PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'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