Crate librashader_cache

Source
Expand description

This crate implements the librashader transparent cache.

This crate is exempt from semantic versioning guarantees and is an implementation detail of librashader runtimes.

Structs§

CachedCompilation

Traits§

CacheKey
Trait for objects that can be used as part of a key for a cached object.
Cacheable
Trait for objects that are cacheable.

Functions§

cache_pipeline
Cache a pipeline state object.
cache_shader_object
Cache a shader object (usually bytecode) created by the keyed objects.