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

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

setMipmaps (mipmaps:Array<Image>):Void

unload ():Void

unlock ():Void

Static variables

staticread onlymaxSize:Int

staticread onlynonPow2Supported:Bool

Static methods

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

@:value({ usage : null, format : null })staticcreate3D (width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage):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({ usage : null, format : null })staticfromBytes (bytes:Bytes, width:Int, height:Int, ?format:TextureFormat, ?usage:Usage):Image

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

staticget_maxSize ():Int

staticget_nonPow2Supported ():Bool