RenderTexture#getBase64()

getBase64() → {String}

Will return a base64 encoded string of this texture. It works by calling RenderTexture.getCanvas and then running toDataURL on that.

Returns
String -

A base64 encoded string of the texture.

Inherited From
Source code: pixi/textures/RenderTexture.js (Line 309)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.