pub trait Shader {
// Required methods
fn handle(&self) -> ShaderKey;
fn attributes(&self) -> &[Attribute];
fn uniforms(&self) -> &[Uniform];
}
pub trait Shader {
// Required methods
fn handle(&self) -> ShaderKey;
fn attributes(&self) -> &[Attribute];
fn uniforms(&self) -> &[Uniform];
}