WebGLRenderer#updateTexture()

updateTexture(texture) → {Boolean}

Updates and Creates a WebGL texture for the renderers context.

Parameters
Name Type Description
texture PIXI.Texture

the texture to update

Returns
Boolean -

True if the texture was successfully bound, otherwise false.

Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 341)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.