The initializable contract.

Implemented by objects that can be initialized.

interface Initializable {
    initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
}

Implemented by

Methods

Methods

  • Performs initialization tasks.

    Parameters

    • renderer: WebGLRenderer

      A renderer.

    • alpha: boolean

      Whether the renderer uses the alpha channel.

    • frameBufferType: number

      The type of the main frame buffers.

    Returns void