Static variables

staticread onlymaxSize:Int

staticread onlynonPow2Supported:Bool

Static methods

static_fromTexture(texture:Dynamic):Image

@:value({ readable : false, usage : null, format : null })staticcreate(width:Int, height:Int, ?format:TextureFormat, ?usage:Usage, readable:Bool = false):Image

@:value({ readable : false, usage : null, format : null })staticcreate3D(width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage, readable:Bool = false):Image

@:value({ antiAliasingSamples : 1, depthStencil : DepthStencilFormat.NoDepthAndStencil, format : null })staticcreateRenderTarget(width:Int, height:Int, ?format:TextureFormat, depthStencil:DepthStencilFormat = DepthStencilFormat.NoDepthAndStencil, antiAliasingSamples:Int = 1):Image

@:value({ readable : false, usage : null, format : null })staticfromBytes(bytes:Bytes, width:Int, height:Int, ?format:TextureFormat, ?usage:Usage, readable:Bool = false):Image

@:value({ readable : false, usage : null, format : null })staticfromBytes3D(bytes:Bytes, width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage, readable:Bool = false):Image

@:value({ readable : false })staticfromEncodedBytes(bytes:Bytes, format:String, doneCallback:Image ‑> Void, errorCallback:String ‑> Void, readable:Bool = false):Void

Variables

read onlydepth:Int

read onlyg1:Graphics

read onlyg2:Graphics

read onlyg4:Graphics

read onlyheight:Int

read onlyrealHeight:Int

read onlyrealWidth:Int

read onlystride:Int

read onlywidth:Int

Methods

at(x:Int, y:Int):Color

clear(x:Int, y:Int, z:Int, width:Int, height:Int, depth:Int, color:Color):Void

@:value({ level : 0 })lock(level:Int = 0):Bytes