TextureSemanticMap

Trait TextureSemanticMap 

Source
pub trait TextureSemanticMap {
    // Required method
    fn texture_semantic(&self, name: &str) -> Option<Semantic<TextureSemantics>>;
}
Expand description

A trait for maps that can return texture semantic units.

Required Methods§

Source

fn texture_semantic(&self, name: &str) -> Option<Semantic<TextureSemantics>>

Get the texture semantic for the given variable name.

Implementations on Foreign Types§

Source§

impl TextureSemanticMap for FastHashMap<ShortString, UniformSemantic>

Source§

impl TextureSemanticMap for FastHashMap<ShortString, Semantic<TextureSemantics>>

Implementors§