<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)
skipRender : boolean A BaseTexture can be set to skip the rendering phase in the WebGL Sprite Batch. You may want to do
updateSourceImage(newSrc) This method is deprecated and should not be used. It may be removed in the future. Changes
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
dirty() Sets all glTextures to be dirty. Source code:
source :Image The image source that is used to create the texture. Source
[readonly] hasLoaded : boolean [read-only] Set to true once the base texture has loaded
Page 1 of 2