librashader/librashader-cache/src/lib.rs

25 lines
469 B
Rust
Raw Normal View History

//! This crate implements the librashader transparent cache.
//!
//! This crate is exempt from semantic versioning guarantees and is an implementation
//! detail of librashader runtimes.
2023-02-16 09:40:24 +11:00
mod cache;
2023-02-16 09:40:24 +11:00
mod compilation;
mod key;
mod cacheable;
pub use cacheable::Cacheable;
pub use key::CacheKey;
2023-02-16 09:40:24 +11:00
pub use compilation::CachedCompilation;
2023-02-16 09:40:24 +11:00
pub use cache::cache_pipeline;
pub use cache::cache_shader_object;
#[cfg(all(target_os = "windows", feature = "d3d"))]
mod d3d;