Class MainLoop

Hierarchy

  • MainLoop

Constructors

  • Parameters

    • engine: C3DEngine

    Returns MainLoop

Properties

_changeSources: Set<unknown>
_gfxEngine: C3DEngine
_lastTimestamp: number
_needsRedraw: boolean
_renderingState: RenderingState
_updateLoopRestarted: boolean

Accessors

  • get gfxEngine(): C3DEngine
  • Returns C3DEngine

    Deprecated

    Use engine

Methods

  • Parameters

    • instance: Instance
    • forceRedraw: boolean
    • changeSource: unknown = undefined

    Returns void

  • Parameters

    Returns void

  • Parameters

    • instance: Instance
    • updateSources: Set<unknown>
    • dt: number

    Returns void

Generated using TypeDoc