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