Static variables

Static methods

Constructor

new()

Variables

@:value(null)currentG:Graphics = null

@:value(0)currentProbeIndex:Int = 0

@:value(null)currentTarget:RenderTarget = null

@:value(new Map())depthToRenderTarget:Map<String, RenderTarget> = new Map()

@:value(DrawOrder.Distance)drawOrder:DrawOrder = DrawOrder.Distance

@:value(0)frame:Int = 0

@:value(false)frameScissor:Bool = false

@:value(0)frameScissorH:Int = 0

@:value(0)frameScissorW:Int = 0

@:value(0)frameScissorX:Int = 0

@:value(0)frameScissorY:Int = 0

@:value(0.0)frameTime:Float = 0.0

@:value(false)isProbe:Bool = false

@:value(false)isProbeCube:Bool = false

@:value(false)isProbePlanar:Bool = false

@:value(null)light:LightObject = null

@:value(false)paused:Bool = false

@:value(null)point:LightObject = null

read onlyready:Bool

@:value(new Map())renderTargets:Map<String, RenderTarget> = new Map()

@:value(null)sun:LightObject = null

@:value(null)commands:() ‑> Void = null

@:value(null)setupDepthTexture:() ‑> Void = null

Methods

bindTarget(target:String, uniform:String):Void

clearImage(target:String, color:Int):Void

@:value({ depthFlag : null, colorFlag : null })clearTarget(?colorFlag:Int, ?depthFlag:Float):Void

@:value({ format : null })createDepthBuffer(name:String, ?format:String):Void

drawVolume(object:Object, handle:String):Void

setCurrentViewportWithOffset(viewW:Int, viewH:Int, offsetX:Int, offsetY:Int):Void

@:value({ viewportScale : 1.0, additional : null })setTarget(target:String, ?additional:Array<String>, viewportScale:Float = 1.0):Void

setViewport(viewW:Int, viewH:Int):Void