Hierarchy

  • default

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • resourceLoader: default
    • gl: WebGL2RenderingContext
    • size: number
    • addNullSprite: boolean
    • packLargeToSmall: boolean = false

    Returns default

Properties

inverseTextureSize: default
size: number
texture: WebGLTexture

Accessors

  • get loadedSpriteCount(): number
  • Returns number

Methods

  • Parameters

    • src: string
    • Optional frontPack: boolean

    Returns Promise<ISpriteInfo>

  • Returns void

  • Returns Promise<boolean>

Generated using TypeDoc