Variables

read onlydepth:Int

read onlyg1:Graphics

read onlyg2:Graphics

read onlyg4:Graphics

read onlyheight:Int

read onlyrealHeight:Int

read onlyrealWidth: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

generateMipmaps (levels:Int):Void

getPixels ():Bytes

isOpaque (x:Int, y:Int):Bool

lock (level:Int = 0):Bytes

setMipmaps (mipmaps:Array<Image>):Void

unload ():Void

unlock ():Void

Static variables

staticread onlymaxSize:Int

staticread onlynonPow2Supported:Bool

Static methods

staticcreate (width:Int, height:Int, ?format:TextureFormat, ?usage:Usage):Image

staticcreate3D (width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage):Image

staticcreateRenderTarget (width:Int, height:Int, ?format:TextureFormat, depthStencil:DepthStencilFormat = DepthStencilFormat.NoDepthAndStencil, antiAliasingSamples:Int = 1):Image

staticfromBytes (bytes:Bytes, width:Int, height:Int, ?format:TextureFormat, ?usage:Usage):Image

staticfromBytes3D (bytes:Bytes, width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage):Image

staticget_maxSize ():Int

staticget_nonPow2Supported ():Bool