mixin vaseOpenGl::GlContext
vaseOpenGl::GlContext
@Js
OpenGL graphical context
- activeTexture
- attachShader
-
abstract Void attachShader(GlProgram program, GlShader shader)
- bindAttribLocation
-
abstract Void bindAttribLocation(GlProgram program, Int index, Str name)
- bindBuffer
- bindFramebuffer
-
abstract Void bindFramebuffer(GlEnum target, GlFramebuffer framebuffer)
- bindRenderbuffer
-
abstract Void bindRenderbuffer(GlEnum target, GlRenderbuffer renderbuffer)
- bindTexture
-
abstract Void bindTexture(GlEnum target, GlTexture? texture)
- blendColor
-
abstract Void blendColor(Float red, Float green, Float blue, Float alpha)
- blendEquation
- blendEquationSeparate
-
abstract Void blendEquationSeparate(GlEnum modeRGB, GlEnum modeAlpha)
- blendFunc
- blendFuncSeparate
-
abstract Void blendFuncSeparate(GlEnum srcRGB, GlEnum dstRGB, GlEnum srcAlpha, GlEnum dstAlpha)
- bufferData
-
abstract Void bufferData(GlEnum target, ArrayBuffer data, GlEnum usage)
- clear
- clearColor
-
abstract Void clearColor(Float red, Float green, Float blue, Float alpha)
- clearDepth
- clearStencil
- colorMask
-
abstract Void colorMask(Bool red, Bool green, Bool blue, Bool alpha)
- compileShader
- copyTexImage2D
-
abstract Void copyTexImage2D(GlEnum target, Int level, GlEnum internalformat, Int x, Int y, Int width, Int height, Int border)
- copyTexSubImage2D
-
abstract Void copyTexSubImage2D(GlEnum target, Int level, Int xoffset, Int yoffset, Int x, Int y, Int width, Int height)
- createBuffer
-
abstract GlBuffer createBuffer()
- createFramebuffer
-
abstract GlFramebuffer createFramebuffer()
- createProgram
-
abstract GlProgram createProgram()
- createRenderbuffer
-
abstract GlRenderbuffer createRenderbuffer()
- createShader
- createTexture
-
abstract GlTexture createTexture()
- cullFace
- deleteBuffer
- deleteFramebuffer
-
abstract Void deleteFramebuffer(GlFramebuffer framebuffer)
- deleteProgram
- deleteRenderbuffer
-
abstract Void deleteRenderbuffer(GlRenderbuffer renderbuffer)
- deleteShader
- deleteTexture
- depthFunc
- depthMask
- depthRange
- detachShader
-
abstract Void detachShader(GlProgram program, GlShader shader)
- disable
- disableVertexAttribArray
- drawArrays
- drawElements
-
abstract Void drawElements(GlEnum mode, Int count, GlEnum type, Int offset)
- enable
- enableVertexAttribArray
- finish
-
abstract Void finish()
- flush
-
abstract Void flush()
- framebufferRenderbuffer
-
abstract Void framebufferRenderbuffer(GlEnum target, GlEnum attachment, GlEnum renderbuffertarget, GlRenderbuffer renderbuffer)
- framebufferTexture2D
-
abstract Void framebufferTexture2D(GlEnum target, GlEnum attachment, GlEnum textarget, GlTexture texture, Int level)
- frontFace
- generateMipmap
- getAttribLocation
- getProgramParameter
-
abstract Int getProgramParameter(GlProgram program, GlEnum pname)
- getShaderInfoLog
- getShaderParameter
-
abstract Int getShaderParameter(GlShader shader, GlEnum pname)
- getUniformLocation
-
abstract GlUniformLocation getUniformLocation(GlProgram program, Str name)
- hint
- isBuffer
- isEnabled
- isFramebuffer
-
abstract Bool isFramebuffer(GlFramebuffer framebuffer)
- isProgram
- isRenderbuffer
-
abstract Bool isRenderbuffer(GlRenderbuffer renderbuffer)
- isShader
- isTexture
- lineWidth
- linkProgram
- pixelStorei
- polygonOffset
- renderbufferStorage
-
abstract Void renderbufferStorage(GlEnum target, GlEnum internalformat, Int width, Int height)
- sampleCoverage
- scissor
- shaderSource
- stencilFunc
- stencilFuncSeparate
-
abstract Void stencilFuncSeparate(GlEnum face, GlEnum func, Int ref, Int mask)
- stencilMask
- stencilMaskSeparate
- stencilOp
-
abstract Void stencilOp(GlEnum fail, GlEnum zfail, GlEnum zpass)
- stencilOpSeparate
-
abstract Void stencilOpSeparate(GlEnum face, GlEnum fail, GlEnum zfail, GlEnum zpass)
- texImage2D
-
abstract Void texImage2D(GlEnum target, Int level, GlEnum internalformat, GlEnum format, GlEnum type, GlImage image)
- texImage2DBuffer
-
abstract Void texImage2DBuffer(GlEnum target, Int level, GlEnum internalformat, Int width, Int height, Int border, GlEnum format, GlEnum type, ArrayBuffer pixels)
- texParameterf
-
abstract Void texParameterf(GlEnum target, GlEnum pname, Float param)
- texParameteri
-
abstract Void texParameteri(GlEnum target, GlEnum pname, Int param)
- uniform1f
-
abstract Void uniform1f(GlUniformLocation location, Float x)
- uniform1i
-
abstract Void uniform1i(GlUniformLocation location, Int x)
- uniform2f
-
abstract Void uniform2f(GlUniformLocation location, Float x, Float y)
- uniform2i
-
abstract Void uniform2i(GlUniformLocation location, Int x, Int y)
- uniform3f
-
abstract Void uniform3f(GlUniformLocation location, Float x, Float y, Float z)
- uniform3i
-
abstract Void uniform3i(GlUniformLocation location, Int x, Int y, Int z)
- uniform4f
-
abstract Void uniform4f(GlUniformLocation location, Float x, Float y, Float z, Float w)
- uniform4i
-
abstract Void uniform4i(GlUniformLocation location, Int x, Int y, Int z, Int w)
- uniformMatrix4fv
-
abstract Void uniformMatrix4fv(GlUniformLocation location, Bool transpose, ArrayBuffer value)
- useProgram
- validateProgram
- vertexAttrib1f
- vertexAttrib2f
- vertexAttrib3f
-
abstract Void vertexAttrib3f(Int indx, Float x, Float y, Float z)
- vertexAttrib4f
-
abstract Void vertexAttrib4f(Int indx, Float x, Float y, Float z, Float w)
- vertexAttribPointer
-
abstract Void vertexAttribPointer(Int indx, Int size, GlEnum type, Bool normalized, Int stride, Int offset)
- viewport