wgpu_core::resource

Trait AccelerationStructure

source
pub(crate) trait AccelerationStructure: Trackable {
    // Required method
    fn try_raw<'a>(
        &'a self,
        guard: &'a SnatchGuard<'_>,
    ) -> Result<&'a dyn DynAccelerationStructure, DestroyedResourceError>;
}

Required Methods§

source

fn try_raw<'a>( &'a self, guard: &'a SnatchGuard<'_>, ) -> Result<&'a dyn DynAccelerationStructure, DestroyedResourceError>

Implementors§