Hierarchy

Constructors

  • Parameters

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

    Returns SpritePackerWebGl

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

  • Parameters

    • parallel: Parallel

    Returns Promise<boolean>

Generated using TypeDoc