euv-core 0.55.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Progressive texture mipmap residency tier managed by the O(1) Clock-LRU residency pool.
#[repr(u8)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum TextureResidencyTier {
    /// Texture data is not yet resident in RAM or VRAM.
    #[default]
    Unloaded = 0,
    /// Instant low-resolution `16x16`/`32x32` mip-tail is resident without blank pop-in.
    MipTail = 1,
    /// Intermediate mip levels are resident for mid-distance viewing.
    MidMip = 2,
    /// Full-resolution top mip chain is resident in GPU VRAM.
    FullRes = 3,
}

/// Asset category tracked inside `ProgressiveResidencyPool` for RAM and VRAM accounting.
#[repr(u8)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum ResidencyAssetKind {
    /// Progressive mipmapped texture resource.
    #[default]
    Texture = 0,
    /// Decoded 3D mesh geometry buffer.
    Mesh = 1,
    /// Audio bank or decoded PCM buffer.
    Audio = 2,
    /// Font binary asset.
    Font = 3,
    /// Shader binary or pipeline cache entry.
    ShaderCache = 4,
    /// Generic binary blob.
    RawBytes = 5,
}