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§
sourcefn get_texture_semantic(&self, name: &str) -> Option<Semantic<TextureSemantics>>
fn get_texture_semantic(&self, name: &str) -> Option<Semantic<TextureSemantics>>
Get the texture semantic for the given variable name.