<static> fromCanvas(canvas, scaleMode) → {
[readonly] height : number [read-only] The height of the base texture set when the image has
[readonly] width : number [read-only] The width of the base texture set when the image has
premultipliedAlpha : boolean Controls if RGB channels should be pre-multiplied by Alpha (WebGL only)
updateSourceImage(newSrc) This method is deprecated and should not be used. It may be removed in the future. Changes
skipRender : boolean A BaseTexture can be set to skip the rendering phase in the WebGL Sprite Batch. You may want to do
unloadFromGPU() Removes the base texture from the GPU, useful for managing resources on the GPU.Atexture is still 100% usable
source :Image The image source that is used to create the texture. Source
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
[readonly] hasLoaded : boolean [read-only] Set to true once the base texture has loaded
Page 1 of 2