lactea-host 0.3.3

Host-side helpers for embedding lactea: directory texture provider, image decoding, headless GPU setup, non-blocking frame read-back, rendering on the host's own Vulkan or Metal device, WAV reading.
Documentation
//! Host-side helpers shared by the lactea binaries, the C API and Rust hosts embedding the engine.
//! The engine crates never touch the filesystem or open a GPU; the hosts do, and they all need the
//! same pieces: a directory-backed [`lactea::TextureProvider`], image decoding, headless GPU setup,
//! frame read-back ([`readback`]), running on the host's own Vulkan or Metal device (`vulkan`,
//! `metal`) and a WAV reader.

pub mod gpu;
#[cfg(target_vendor = "apple")]
pub mod metal;
pub mod presets;
pub mod readback;
pub mod textures;
#[cfg(any(windows, all(unix, not(target_vendor = "apple"))))]
pub mod vulkan;
pub mod wav;

pub use presets::{PlaylistFs, is_preset_file, scan_preset_files, scan_presets};
pub use readback::FrameReader;
pub use textures::{DirTextures, TEXTURE_EXTENSIONS, decode_file, decode_image, decode_media};