Fudge Core
    Preparing search index...

    Interface ShaderInterface

    Interface to access data from a WebGl shaderprogram. This should always mirror the (static) interface of Shader. It exposes the static members of Shader in an instance-based way. e.g.:

    let shader: ShaderInterface;
    

    can take values of type

    typeof Shader | ShaderInteface
    
    interface ShaderInterface {
        define: string[];
        program: WebGLProgram;
        uniforms: { [name: string]: WebGLUniformLocation };
        getFragmentShaderSource(): string;
        getVertexShaderSource(): string;
    }
    Index

    Properties

    define: string[]
    program: WebGLProgram
    uniforms: { [name: string]: WebGLUniformLocation }

    Methods