Options
All
  • Public
  • Public/Protected
  • All
Menu

Types which implement ISuspendable can have updates suspended/resumed. Useful for batch operations.

Hierarchy

  • ISuspendable

Implemented by

Index

Properties

Readonly isSuspended

isSuspended: boolean

Gets a value indicating whether updates for the target are currently suspended

Readonly suspendableId

suspendableId: string

A unique ID for this suspendable instance. Consider using the generateGuid function to ensure this is unique

Methods

decrementSuspend

  • decrementSuspend(): void
  • Called by IUpdateSuspender each time a target suspender is resumed. When the final target suspender has been resumed, resumeUpdates is called

    Returns void

resumeUpdates

  • USED INTERNALLY. Resumes updates on the target

    Parameters

    Returns void

suspendUpdates

  • Suspends drawing updates on the target until the returned object IUpdateSuspender.resume is called, when a final draw call will be issued

    Returns IUpdateSuspender

Generated using TypeDoc