#[repr(C)]pub struct PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_vertices_per_cluster: u32,
pub max_triangles_per_cluster: u32,
pub cluster_scratch_byte_alignment: u32,
pub cluster_byte_alignment: u32,
pub cluster_template_byte_alignment: u32,
pub cluster_bottom_level_byte_alignment: u32,
pub cluster_template_bounds_byte_alignment: u32,
pub max_cluster_geometry_index: u32,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§max_vertices_per_cluster: u32§max_triangles_per_cluster: u32§cluster_scratch_byte_alignment: u32§cluster_byte_alignment: u32§cluster_template_byte_alignment: u32§cluster_bottom_level_byte_alignment: u32§cluster_template_bounds_byte_alignment: u32§max_cluster_geometry_index: u32§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
pub fn max_vertices_per_cluster(self, max_vertices_per_cluster: u32) -> Self
pub fn max_triangles_per_cluster(self, max_triangles_per_cluster: u32) -> Self
pub fn cluster_scratch_byte_alignment( self, cluster_scratch_byte_alignment: u32, ) -> Self
pub fn cluster_byte_alignment(self, cluster_byte_alignment: u32) -> Self
pub fn cluster_template_byte_alignment( self, cluster_template_byte_alignment: u32, ) -> Self
pub fn cluster_bottom_level_byte_alignment( self, cluster_bottom_level_byte_alignment: u32, ) -> Self
pub fn cluster_template_bounds_byte_alignment( self, cluster_template_bounds_byte_alignment: u32, ) -> Self
pub fn max_cluster_geometry_index(self, max_cluster_geometry_index: u32) -> Self
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> Clone for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
Source§fn clone(&self) -> PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
fn clone(&self) -> PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
Returns a duplicate 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 PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> Debug for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
Source§impl<'a> TaggedStructure for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_PROPERTIES_NV
impl<'a> Copy for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'_>
impl Send for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'_>
impl Sync for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> Unpin for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceClusterAccelerationStructurePropertiesNV<'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