librashader-common 0.11.1

RetroArch shaders for all.
Documentation
1
2
3
4
5
6
7
8
/// A hashmap optimized for small sets of size less than 32 with a fast hash implementation.
///
/// Used widely for shader reflection.
pub type FastHashMap<K, V> =
    halfbrown::SizedHashMap<K, V, core::hash::BuildHasherDefault<rustc_hash::FxHasher>, 32>;

/// Common string type for parameters and uniform names with small string optimizations up to 23 bytes.
pub type ShortString = crate::string::ParamString;