Interface Renderable

Models and primitives implement this interface to be rendered

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

Implemented by

Methods

Methods

  • Called to render this render-able thing

    Parameters

    • gl: WebGL2RenderingContext
    • uniforms: UniformSet
    • OptionalmaterialOverride: Material
    • OptionalprogramOverride: ProgramInfo

    Returns void