#[repr(C)]pub struct PhysicalDeviceAccelerationStructureFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub acceleration_structure: Bool32,
pub acceleration_structure_capture_replay: Bool32,
pub acceleration_structure_indirect_build: Bool32,
pub acceleration_structure_host_commands: Bool32,
pub descriptor_binding_acceleration_structure_update_after_bind: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§acceleration_structure: Bool32
§acceleration_structure_capture_replay: Bool32
§acceleration_structure_indirect_build: Bool32
§acceleration_structure_host_commands: Bool32
§descriptor_binding_acceleration_structure_update_after_bind: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
pub fn acceleration_structure(self, acceleration_structure: bool) -> Self
pub fn acceleration_structure_capture_replay( self, acceleration_structure_capture_replay: bool, ) -> Self
pub fn acceleration_structure_indirect_build( self, acceleration_structure_indirect_build: bool, ) -> Self
pub fn acceleration_structure_host_commands( self, acceleration_structure_host_commands: bool, ) -> Self
pub fn descriptor_binding_acceleration_structure_update_after_bind( self, descriptor_binding_acceleration_structure_update_after_bind: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> Clone for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
fn clone(&self) -> PhysicalDeviceAccelerationStructureFeaturesKHR<'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 PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> Debug for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR
impl<'a> Copy for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceAccelerationStructureFeaturesKHR<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceAccelerationStructureFeaturesKHR<'_>
impl Send for PhysicalDeviceAccelerationStructureFeaturesKHR<'_>
impl Sync for PhysicalDeviceAccelerationStructureFeaturesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> Unpin for PhysicalDeviceAccelerationStructureFeaturesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceAccelerationStructureFeaturesKHR<'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
)