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

A trait for maps that can return texture semantic units.

Required Methods§

source

fn get_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<String, UniformSemantic>

source§

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

Implementors§