Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Controllable

This internal interface is not intended for module export and should not be used as generic rendering/controller interface. The renderer interface should be used for rendering related tasks instead.

Hierarchy

  • Controllable

Implemented by

Index

Methods

frame

  • frame(frameNumber: number): void
  • Used to trigger rendering of a single, intermediate frame.

    Parameters

    • frameNumber: number

    Returns void

prepare

  • prepare(): void
  • Used to prepare rendering of a multi-frame.

    Returns void

swap

  • swap(): void
  • Used to swap/blit frame from back to front buffer.

    Returns void

update

  • update(multiFrameNumber: number): boolean
  • Used to trigger an renderer update. Returns true iff rendering is invalidated and a new multi-frame should be rendered-

    Parameters

    • multiFrameNumber: number

    Returns boolean