Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DrawableTexture

Hierarchy

Index

Constructors

constructor

Properties

Protected _textureId

_textureId: WebGLTexture | null = null

deleted

deleted: AsyncEvent<string> = new AsyncEvent<string>()

id

id: string

isPersistent

isPersistent: boolean = false

name

name: string

Optional templatePath

templatePath: undefined | string

Accessors

data

  • get data(): Uint8Array
  • set data(data: Uint8Array): void

height

  • set height(height: number): void

rgba

  • get rgba(): boolean
  • set rgba(rgba: boolean): void

textureId

  • get textureId(): null | WebGLTexture

width

  • set width(width: number): void

Methods

begin

  • begin(stage: number): boolean

copy

deserialize

destroy

  • destroy(): void

getHeight

  • getHeight(): number

getWidth

  • getWidth(): number

graphicLoad

  • graphicLoad(): boolean

graphicUnload

  • graphicUnload(): void

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

save

  • save(folderPath?: undefined | string): void

serialize

setPixel

  • setPixel(x: number, y: number, color: Color): void

setProperty

  • setProperty(name: string, value: any): void

setState

upgrade