Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderTarget

Hierarchy

Index

Constructors

constructor

  • new RenderTarget(width?: Size, height?: Size, rgba?: undefined | false | true, persistent?: undefined | false | true, filtering?: undefined | number, cubeMap?: undefined | false | true): RenderTarget

Events

sizeChanged

sizeChanged: VoidAsyncEvent = new VoidAsyncEvent()

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

height

  • set height(height: Size): void

textureId

  • get textureId(): null | WebGLTexture

valid

  • get valid(): boolean

width

  • set width(width: Size): void

Methods

begin

  • begin(stage: number): boolean

bind

  • bind(cubeMapFace?: undefined | 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

setProperty

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

setState

upgrade