pub struct AccelerationStructureFeatures {
pub acceleration_structure: bool,
pub acceleration_structure_capture_replay: bool,
pub acceleration_structure_indirect_build: bool,
pub acceleration_structure_host_commands: bool,
pub descriptor_binding_acceleration_structure_update_after_bind: bool,
}Expand description
Features of the physical device for acceleration structures.
Fields§
§acceleration_structure: boolIndicates whether the implementation supports acceleration structure functionality.
acceleration_structure_capture_replay: boolIndicates whether acceleration structure capture and replay is supported.
acceleration_structure_indirect_build: boolIndicates whether indirect acceleration structure build commands are supported.
acceleration_structure_host_commands: boolIndicates whether acceleration structures can be built on the host.
descriptor_binding_acceleration_structure_update_after_bind: boolIndicates whether acceleration structure descriptors can be updated after bind.
Trait Implementations§
Source§impl Clone for AccelerationStructureFeatures
impl Clone for AccelerationStructureFeatures
Source§fn clone(&self) -> AccelerationStructureFeatures
fn clone(&self) -> AccelerationStructureFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccelerationStructureFeatures
Source§impl From<PhysicalDeviceAccelerationStructureFeaturesKHR<'_>> for AccelerationStructureFeatures
impl From<PhysicalDeviceAccelerationStructureFeaturesKHR<'_>> for AccelerationStructureFeatures
Source§fn from(features: PhysicalDeviceAccelerationStructureFeaturesKHR<'_>) -> Self
fn from(features: PhysicalDeviceAccelerationStructureFeaturesKHR<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccelerationStructureFeatures
impl RefUnwindSafe for AccelerationStructureFeatures
impl Send for AccelerationStructureFeatures
impl Sync for AccelerationStructureFeatures
impl Unpin for AccelerationStructureFeatures
impl UnsafeUnpin for AccelerationStructureFeatures
impl UnwindSafe for AccelerationStructureFeatures
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