Interface Renderable

Models and primitives implement this interface to be rendered

interface Renderable {
    render(gl, uniforms, materialOverride?, programOverride?): void;
}

Implemented by

Methods

Methods

  • Called to render this render-able thing

    Parameters

    • gl: WebGL2RenderingContext
    • uniforms: UniformSet
    • Optional materialOverride: Material
    • Optional programOverride: ProgramInfo

    Returns void

Generated using TypeDoc