Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SurfaceAtlas

Hierarchy

  • SurfaceAtlas

Implements

Index

Constructors

constructor

Properties

Private _accessScore

_accessScore: number

Private _emptySurfaceAtlasSlotHead

_emptySurfaceAtlasSlotHead: SurfaceAtlasSlot

Private _surface

_surface: Surface

Private _usedRectangleAreaSize

_usedRectangleAreaSize: CommonSize

Methods

Private _acquireSurfaceAtlasSlot

  • Parameters

    • width: number
    • height: number

    Returns SurfaceAtlasSlot

Private _updateUsedRectangleAreaSize

addSurface

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

duplicateSurface

Generated using TypeDoc