interface ShaderProgramSources {
    fragment: ShaderSource;
    vertex: ShaderSource;
    webGl2?: {
        fragment: ShaderSource;
        vertex: ShaderSource;
    };
}

Properties

fragment: ShaderSource
vertex: ShaderSource
webGl2?: {
    fragment: ShaderSource;
    vertex: ShaderSource;
}