Struct luminance::shader::program::Sem
[−]
[src]
pub struct Sem { /* fields omitted */ }
A shader uniform semantic. It holds information on the variable it represents such as a name, its type and its dimension.
Methods
impl Sem
[src]
fn new(name: &str, index: SemIndex, ty: Type, dim: Dim) -> Self
fn name(&self) -> &str
fn index(&self) -> SemIndex
fn ty(&self) -> Type
fn dim(&self) -> Dim
Trait Implementations
impl Clone for Sem
[src]
fn clone(&self) -> Sem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more