#[repr(C)]pub struct PhysicalDeviceAccelerationStructurePropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_geometry_count: u64,
pub max_instance_count: u64,
pub max_primitive_count: u64,
pub max_per_stage_descriptor_acceleration_structures: u32,
pub max_per_stage_descriptor_update_after_bind_acceleration_structures: u32,
pub max_descriptor_set_acceleration_structures: u32,
pub max_descriptor_set_update_after_bind_acceleration_structures: u32,
pub min_acceleration_structure_scratch_offset_alignment: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§max_geometry_count: u64
§max_instance_count: u64
§max_primitive_count: u64
§max_per_stage_descriptor_acceleration_structures: u32
§max_per_stage_descriptor_update_after_bind_acceleration_structures: u32
§max_descriptor_set_acceleration_structures: u32
§max_descriptor_set_update_after_bind_acceleration_structures: u32
§min_acceleration_structure_scratch_offset_alignment: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
pub fn max_geometry_count(self, max_geometry_count: u64) -> Self
pub fn max_instance_count(self, max_instance_count: u64) -> Self
pub fn max_primitive_count(self, max_primitive_count: u64) -> Self
pub fn max_per_stage_descriptor_acceleration_structures( self, max_per_stage_descriptor_acceleration_structures: u32, ) -> Self
pub fn max_per_stage_descriptor_update_after_bind_acceleration_structures( self, max_per_stage_descriptor_update_after_bind_acceleration_structures: u32, ) -> Self
pub fn max_descriptor_set_acceleration_structures( self, max_descriptor_set_acceleration_structures: u32, ) -> Self
pub fn max_descriptor_set_update_after_bind_acceleration_structures( self, max_descriptor_set_update_after_bind_acceleration_structures: u32, ) -> Self
pub fn min_acceleration_structure_scratch_offset_alignment( self, min_acceleration_structure_scratch_offset_alignment: u32, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> Clone for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
fn clone(&self) -> PhysicalDeviceAccelerationStructurePropertiesKHR<'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 PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> Debug for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR
impl<'a> Copy for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceAccelerationStructurePropertiesKHR<'_>
impl Send for PhysicalDeviceAccelerationStructurePropertiesKHR<'_>
impl Sync for PhysicalDeviceAccelerationStructurePropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> Unpin for PhysicalDeviceAccelerationStructurePropertiesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceAccelerationStructurePropertiesKHR<'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
)