Phaser.TextureSource = function (texture, source){ this.texture = texture; this.image = source; this.compressionAlgorithm = null ; this.resolution = 1; this.width = source.naturalWidth || source.width || 0; this.height = source.naturalHeight || source.height || 0; this.scaleMode = Phaser.scaleModes.DEFAULT; this.premultipliedAlpha = true ; this.mipmap = false ; this.renderable = true ; this.isPowerOf2 = Phaser.Math.isPowerOfTwo(this.width, this.height); this.glTexture = null ; this.glTextureIndex = 0; this.glLastUsed = 0; this.glDirty = true ; } ;