Skip to main content

GpuDiagnosticHandler

Type Alias GpuDiagnosticHandler 

Source
pub type GpuDiagnosticHandler = Arc<dyn Fn(GpuDiagnostic) + Send + Sync + 'static>;
Expand description

Shared handler invoked for every GpuDiagnostic.

The driver may call it from an arbitrary thread, so it must not block.

Aliased Typeยง

pub struct GpuDiagnosticHandler { /* private fields */ }