new()
defaultFormat:PixelFormat
@:value({ flags : null, defaultDepth : true })allocTarget(name:String, width:Int, height:Int, defaultDepth:Bool = true, ?format:PixelFormat, ?flags:Array<TextureFlags>):Texture
@:value({ defaultDepth : true })allocTargetScale(name:String, scale:Float, defaultDepth:Bool = true, ?format:PixelFormat):Texture
@:value({ defaultDepth : false })allocTileTarget(name:String, tile:Tile, defaultDepth:Bool = false, ?format:PixelFormat):Texture
begin():Void
dispose():Void
@:value({ index : 0 })inlineget(index:Int = 0):Texture
getNamed(name:String):Texture
set(t:Texture, index:Int):Void