librashader/librashader-cache/src/lib.rs
chyyran 0adf3505ec rt: mark frame and create APIs unsafe
This doesn't cause an API break in the C API but we don't actually make an attempt to verify that it's safe to access any of the device contexts.
2023-02-16 17:33:47 -05:00

23 lines
467 B
Rust

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