BaseTexture.fromCanvas()
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

<static> fromCanvas(canvas, scaleMode) → {

2025-01-10 15:47:30
BaseTexture#height
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

[readonly] height : number [read-only] The height of the base texture set when the image has

2025-01-10 15:47:30
BaseTexture#width
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

[readonly] width : number [read-only] The width of the base texture set when the image has

2025-01-10 15:47:30
BaseTexture#premultipliedAlpha
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

premultipliedAlpha : boolean Controls if RGB channels should be pre-multiplied by Alpha (WebGL only)

2025-01-10 15:47:30
BaseTexture#updateSourceImage()
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

updateSourceImage(newSrc) This method is deprecated and should not be used. It may be removed in the future. Changes

2025-01-10 15:47:30
BaseTexture#skipRender
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

skipRender : boolean A BaseTexture can be set to skip the rendering phase in the WebGL Sprite Batch. You may want to do

2025-01-10 15:47:30
BaseTexture#unloadFromGPU()
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

unloadFromGPU() Removes the base texture from the GPU, useful for managing resources on the GPU.Atexture is still 100% usable

2025-01-10 15:47:30
BaseTexture#source
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

source :Image The image source that is used to create the texture. Source

2025-01-10 15:47:30
BaseTexture#mipmap
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

mipmap : boolean Set this to true if a mipmap of this texture needs to be generated. This value needs to be set before the texture

2025-01-10 15:47:30
BaseTexture#hasLoaded
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

[readonly] hasLoaded : boolean [read-only] Set to true once the base texture has loaded

2025-01-10 15:47:30