UniformMeta

Trait UniformMeta 

Source
pub trait UniformMeta {
    // Required methods
    fn offset(&self) -> MemberOffset;
    fn id(&self) -> &str;
}
Expand description

Metadata about a uniform variable.

Required Methods§

Source

fn offset(&self) -> MemberOffset

The offset of this uniform.

Source

fn id(&self) -> &str

The name of this uniform in the shader.

Implementors§