pub struct PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'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
Sourcepub fn build(self) -> PhysicalDeviceAccelerationStructureFeaturesKHR
pub fn build(self) -> PhysicalDeviceAccelerationStructureFeaturesKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> Deref for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> !Send for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> !Sync for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> Unpin for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'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