Static methods

staticaudioThread (lock:Bool):Void

staticbegin (renderTarget:Canvas, additionalRenderTargets:Array<Canvas>):Void

staticbeginFace (renderTarget:Canvas, face:Int):Void

staticclear (flags:Int, color:Int, depth:Float, stencil:Int):Void

staticclearTexture (target:Dynamic, x:Int, y:Int, z:Int, width:Int, height:Int, depth:Int, color:Int):Void

staticcompilePipeline (pipeline:Dynamic, structure0:Array<VertexElement>, structure1:Array<VertexElement>, structure2:Array<VertexElement>, structure3:Array<VertexElement>, length:Int, vertexShader:Dynamic, fragmentShader:Dynamic, geometryShader:Dynamic, tessellationControlShader:Dynamic, tessellationEvaluationShader:Dynamic, state:Dynamic):Void

staticcompute (x:Int, y:Int, z:Int):Void

staticcreateRenderTarget (width:Int, height:Int, depthBufferBits:Int, format:Int, stencilBufferBits:Int, contextId:Int):Dynamic

staticcreateRenderTargetCubeMap (cubeMapSize:Int, depthBufferBits:Int, format:Int, stencilBufferBits:Int, contextId:Int):Dynamic

staticcreateTexture (width:Int, height:Int, format:Int):Dynamic

staticcreateTexture3D (width:Int, height:Int, depth:Int, format:Int):Dynamic

staticcreateTextureFromBytes (data:BytesData, width:Int, height:Int, format:Int, readable:Bool):Dynamic

staticcreateTextureFromBytes3D (data:BytesData, width:Int, height:Int, depth:Int, format:Int, readable:Bool):Dynamic

staticcreateVertexBuffer (count:Int, structure:Array<VertexElement>, usage:Int, instanceDataStepRate:Int):Dynamic

staticdeletePipeline (pipeline:Dynamic):Dynamic

staticdisplayCount ():Int

staticdisplayHeight (index:Int):Int

staticdisplayIsPrimary (index:Int):Bool

staticdisplayWidth (index:Int):Int

staticdisplayX (index:Int):Int

staticdisplayY (index:Int):Int

staticdrawIndexedVertices (start:Int, count:Int):Void

staticdrawIndexedVerticesInstanced (instanceCount:Int, start:Int, count:Int):Void

staticend ():Void

staticfileSaveBytes (path:String, bytes:BytesData):Void

staticgenerateRenderTargetMipmaps (renderTarget:Dynamic, levels:Int):Void

staticgenerateTextureMipmaps (texture:Dynamic, levels:Int):Void

staticgetArg (index:Int):String

staticgetArgCount ():Int

staticgetConstantLocation (pipeline:Dynamic, name:String):Dynamic

staticgetRenderTargetPixels (renderTarget:Dynamic, data:BytesData):Void

staticgetTextureUnit (pipeline:Dynamic, name:String):Dynamic

staticgetTime ():Float

staticinit (title:String, width:Int, height:Int, samplesPerPixel:Int, vSync:Bool, windowMode:Int, windowFeatures:Int):Void

staticloadImage (file:String, readable:Bool):Dynamic

staticloadSound (file:String):Dynamic

staticlockMouse ():Void

staticlockTexture (texture:Dynamic, level:Int):ArrayBuffer

staticlog (v:Dynamic):Void

staticsavePath ():String

staticscissor (x:Int, y:Int, width:Int, height:Int):Void

staticscreenDpi ():Int

staticsetAudioCallback (callback:Int ‑> Void):Void

staticsetBool (location:ConstantLocation, value:Bool):Void

staticsetBoolCompute (location:ConstantLocation, value:Bool):Void

staticsetCallback (callback:Void ‑> Void):Void

staticsetDepthStencilFrom (target:Dynamic, source:Dynamic):Void

staticsetDropFilesCallback (callback:String ‑> Void):Void

staticsetFloat (location:ConstantLocation, value:Float):Void

staticsetFloat2 (location:ConstantLocation, value1:Float, value2:Float):Void

staticsetFloat2Compute (location:ConstantLocation, value1:Float, value2:Float):Void

staticsetFloat3 (location:ConstantLocation, value1:Float, value2:Float, value3:Float):Void

staticsetFloat3Compute (location:ConstantLocation, value1:Float, value2:Float, value3:Float):Void

staticsetFloat4 (location:ConstantLocation, value1:Float, value2:Float, value3:Float, value4:Float):Void

staticsetFloat4Compute (location:ConstantLocation, value1:Float, value2:Float, value3:Float, value4:Float):Void

staticsetFloatCompute (location:ConstantLocation, value:Float):Void

staticsetFloats (location:ConstantLocation, values:ArrayBuffer):Void

staticsetGamepadAxisCallback (callback:Int ‑> Int ‑> Float ‑> Void):Void

staticsetGamepadButtonCallback (callback:Int ‑> Int ‑> Float ‑> Void):Void

staticsetImageTexture (stage:TextureUnit, texture:Dynamic):Void

staticsetIndexBuffer (buffer:Dynamic):Void

staticsetInt (location:ConstantLocation, value:Int):Void

staticsetIntCompute (location:ConstantLocation, value:Int):Void

staticsetKeyboardDownCallback (callback:Int ‑> Void):Void

staticsetKeyboardPressCallback (callback:Int ‑> Void):Void

staticsetKeyboardUpCallback (callback:Int ‑> Void):Void

staticsetMatrix (location:ConstantLocation, matrix:ArrayBuffer):Void

staticsetMatrix3 (location:ConstantLocation, matrix:ArrayBuffer):Void

staticsetMipmaps (texture:Dynamic, mipmaps:Array<Image>):Void

staticsetMouseDownCallback (callback:Int ‑> Int ‑> Int ‑> Void):Void

staticsetMouseMoveCallback (callback:Int ‑> Int ‑> Int ‑> Int ‑> Void):Void

staticsetMouseUpCallback (callback:Int ‑> Int ‑> Int ‑> Void):Void

staticsetMouseWheelCallback (callback:Int ‑> Void):Void

staticsetPenDownCallback (callback:Int ‑> Int ‑> Float ‑> Void):Void

staticsetPenMoveCallback (callback:Int ‑> Int ‑> Float ‑> Void):Void

staticsetPenUpCallback (callback:Int ‑> Int ‑> Float ‑> Void):Void

staticsetPipeline (pipeline:Dynamic):Void

staticsetRenderTarget (stage:TextureUnit, renderTarget:Dynamic):Void

staticsetRenderTargetCompute (unit:TextureUnit, renderTarget:Dynamic, access:Int):Void

staticsetTexture (stage:TextureUnit, texture:Dynamic):Void

staticsetTexture3DParameters (texunit:TextureUnit, uAddressing:Int, vAddressing:Int, wAddressing:Int, minificationFilter:Int, magnificationFilter:Int, mipmapFilter:Int):Void

staticsetTexture3DParametersCompute (texunit:TextureUnit, uAddressing:Int, vAddressing:Int, wAddressing:Int, minificationFilter:Int, magnificationFilter:Int, mipmapFilter:Int):Void

staticsetTextureCompute (unit:TextureUnit, texture:Dynamic, access:Int):Void

staticsetTextureDepth (unit:TextureUnit, texture:Dynamic):Void

staticsetTextureParameters (texunit:TextureUnit, uAddressing:Int, vAddressing:Int, minificationFilter:Int, magnificationFilter:Int, mipmapFilter:Int):Void

staticsetTextureParametersCompute (texunit:TextureUnit, uAddressing:Int, vAddressing:Int, minificationFilter:Int, magnificationFilter:Int, mipmapFilter:Int):Void

staticsetVertexBuffers (vertexBuffers:Array<VertexBuffer>):Void

staticshowMouse (show:Bool):Void

staticsysCommand (cmd:String, ?args:Array<String>):Int

staticsystemId ():String

staticunloadImage (image:Image):Void

staticunlockMouse ():Void

staticunlockTexture (texture:Dynamic):Void

staticviewport (x:Int, y:Int, width:Int, height:Int):Void

staticwindowHeight (id:Int):Int

staticwindowWidth (id:Int):Int

staticwriteAudioBuffer (bufferValue:Float):Dynamic

staticwriteStorage (name:String, data:BytesData):Void