
allocTarget(name:String, width:Int, height:Int, defaultDepth:Bool = true, ?format:PixelFormat, ?flags:Array<TextureFlags>, layers:Int = 1):TextureallocTargetScale(name:String, scale:Float, defaultDepth:Bool = true, ?format:PixelFormat, ?flags:Array<TextureFlags>, layers:Int = 1):Texture