d84914ef1e5a
worker_preview.rs
//! Cached state of a worker-rendered preview
use egui::TextureHandle;
/// A pending, ready or failed preview
pub enum WorkerPreview {
/// Requested; the worker has not answered yet
Rendering,
Ready(TextureHandle),
/// The asset is unknown or the worker could not render it (the tile keeps its loading icon)
Failed,
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.