pub trait ShaderDescriptor<const TEXTURES: usize> {
    type VertexUniformType: Std140Struct;
    type VertexDescriptor: VertexDescriptor + Copy;

    const VERTEX_SHADER: &'static str;
    const FRAGMENT_SHADER: &'static str;
    const TEXTURE_NAMES: [&'static str; TEXTURES];
    const VERTEX_UNIFORM_NAME: &'static str;
}
Expand description

A trait to describe a shader’s inputs and outputs so they can be represented without using the heap.

Required Associated Types

Required Associated Constants

Implementors