WebGLRenderingContextBase

JS
1.1
interface WebGLRenderingContextBase

Properties

JS
1.1

canvas

abstract val canvas: HTMLCanvasElement
JS
1.1

drawingBufferHeight

abstract val drawingBufferHeight: Int
JS
1.1

drawingBufferWidth

abstract val drawingBufferWidth: Int

Functions

JS
1.1

activeTexture

abstract fun activeTexture(texture: Int)
JS
1.1

attachShader

abstract fun attachShader(
    program: WebGLProgram?,
    shader: WebGLShader?)
JS
1.1

bindAttribLocation

abstract fun bindAttribLocation(
    program: WebGLProgram?,
    index: Int,
    name: String)
JS
1.1

bindBuffer

abstract fun bindBuffer(target: Int, buffer: WebGLBuffer?)
JS
1.1

bindFramebuffer

abstract fun bindFramebuffer(
    target: Int,
    framebuffer: WebGLFramebuffer?)
JS
1.1

bindRenderbuffer

abstract fun bindRenderbuffer(
    target: Int,
    renderbuffer: WebGLRenderbuffer?)
JS
1.1

bindTexture

abstract fun bindTexture(target: Int, texture: WebGLTexture?)
JS
1.1

blendColor

abstract fun blendColor(
    red: Float,
    green: Float,
    blue: Float,
    alpha: Float)
JS
1.1

blendEquation

abstract fun blendEquation(mode: Int)
JS
1.1

blendEquationSeparate

abstract fun blendEquationSeparate(
    modeRGB: Int,
    modeAlpha: Int)
JS
1.1

blendFunc

abstract fun blendFunc(sfactor: Int, dfactor: Int)
JS
1.1

blendFuncSeparate

abstract fun blendFuncSeparate(
    srcRGB: Int,
    dstRGB: Int,
    srcAlpha: Int,
    dstAlpha: Int)
JS
1.1

bufferData

abstract fun bufferData(target: Int, size: Int, usage: Int)
abstract fun bufferData(
    target: Int,
    data: BufferDataSource?,
    usage: Int)
JS
1.1

bufferSubData

abstract fun bufferSubData(
    target: Int,
    offset: Int,
    data: BufferDataSource?)
JS
1.1

checkFramebufferStatus

abstract fun checkFramebufferStatus(target: Int): Int
JS
1.1

clear

abstract fun clear(mask: Int)
JS
1.1

clearColor

abstract fun clearColor(
    red: Float,
    green: Float,
    blue: Float,
    alpha: Float)
JS
1.1

clearDepth

abstract fun clearDepth(depth: Float)
JS
1.1

clearStencil

abstract fun clearStencil(s: Int)
JS
1.1

colorMask

abstract fun colorMask(
    red: Boolean,
    green: Boolean,
    blue: Boolean,
    alpha: Boolean)
JS
1.1

compileShader

abstract fun compileShader(shader: WebGLShader?)
JS
1.1

compressedTexImage2D

abstract fun compressedTexImage2D(
    target: Int,
    level: Int,
    internalformat: Int,
    width: Int,
    height: Int,
    border: Int,
    data: ArrayBufferView)
JS
1.1

compressedTexSubImage2D

abstract fun compressedTexSubImage2D(
    target: Int,
    level: Int,
    xoffset: Int,
    yoffset: Int,
    width: Int,
    height: Int,
    format: Int,
    data: ArrayBufferView)
JS
1.1

copyTexImage2D

abstract fun copyTexImage2D(
    target: Int,
    level: Int,
    internalformat: Int,
    x: Int,
    y: Int,
    width: Int,
    height: Int,
    border: Int)
JS
1.1

copyTexSubImage2D

abstract fun copyTexSubImage2D(
    target: Int,
    level: Int,
    xoffset: Int,
    yoffset: Int,
    x: Int,
    y: Int,
    width: Int,
    height: Int)
JS
1.1

createBuffer

abstract fun createBuffer(): WebGLBuffer?
JS
1.1

createFramebuffer

abstract fun createFramebuffer(): WebGLFramebuffer?
JS
1.1

createProgram

abstract fun createProgram(): WebGLProgram?
JS
1.1

createRenderbuffer

abstract fun createRenderbuffer(): WebGLRenderbuffer?
JS
1.1

createShader

abstract fun createShader(type: Int): WebGLShader?
JS
1.1

createTexture

abstract fun createTexture(): WebGLTexture?
JS
1.1

cullFace

abstract fun cullFace(mode: Int)
JS
1.1

deleteBuffer

abstract fun deleteBuffer(buffer: WebGLBuffer?)
JS
1.1

deleteFramebuffer

abstract fun deleteFramebuffer(
    framebuffer: WebGLFramebuffer?)
JS
1.1

deleteProgram

abstract fun deleteProgram(program: WebGLProgram?)
JS
1.1

deleteRenderbuffer

abstract fun deleteRenderbuffer(
    renderbuffer: WebGLRenderbuffer?)
JS
1.1

deleteShader

abstract fun deleteShader(shader: WebGLShader?)
JS
1.1

deleteTexture

abstract fun deleteTexture(texture: WebGLTexture?)
JS
1.1

depthFunc

abstract fun depthFunc(func: Int)
JS
1.1

depthMask

abstract fun depthMask(flag: Boolean)
JS
1.1

depthRange

abstract fun depthRange(zNear: Float, zFar: Float)
JS
1.1

detachShader

abstract fun detachShader(
    program: WebGLProgram?,
    shader: WebGLShader?)
JS
1.1

disable

abstract fun disable(cap: Int)
JS
1.1

disableVertexAttribArray

abstract fun disableVertexAttribArray(index: Int)
JS
1.1

drawArrays

abstract fun drawArrays(mode: Int, first: Int, count: Int)
JS
1.1

drawElements

abstract fun drawElements(
    mode: Int,
    count: Int,
    type: Int,
    offset: Int)
JS
1.1

enable

abstract fun enable(cap: Int)
JS
1.1

enableVertexAttribArray

abstract fun enableVertexAttribArray(index: Int)
JS
1.1

finish

abstract fun finish()
JS
1.1

flush

abstract fun flush()
JS
1.1

framebufferRenderbuffer

abstract fun framebufferRenderbuffer(
    target: Int,
    attachment: Int,
    renderbuffertarget: Int,
    renderbuffer: WebGLRenderbuffer?)
JS
1.1

framebufferTexture2D

abstract fun framebufferTexture2D(
    target: Int,
    attachment: Int,
    textarget: Int,
    texture: WebGLTexture?,
    level: Int)
JS
1.1

frontFace

abstract fun frontFace(mode: Int)
JS
1.1

generateMipmap

abstract fun generateMipmap(target: Int)
JS
1.1

getActiveAttrib

abstract fun getActiveAttrib(
    program: WebGLProgram?,
    index: Int
): WebGLActiveInfo?
JS
1.1

getActiveUniform

abstract fun getActiveUniform(
    program: WebGLProgram?,
    index: Int
): WebGLActiveInfo?
JS
1.1

getAttachedShaders

abstract fun getAttachedShaders(
    program: WebGLProgram?
): Array<WebGLShader>?
JS
1.1

getAttribLocation

abstract fun getAttribLocation(
    program: WebGLProgram?,
    name: String
): Int
JS
1.1

getBufferParameter

abstract fun getBufferParameter(
    target: Int,
    pname: Int
): Any?
JS
1.1

getContextAttributes

abstract fun getContextAttributes(): WebGLContextAttributes?
JS
1.1

getError

abstract fun getError(): Int
JS
1.1

getExtension

abstract fun getExtension(name: String): dynamic
JS
1.1

getFramebufferAttachmentParameter

abstract fun getFramebufferAttachmentParameter(
    target: Int,
    attachment: Int,
    pname: Int
): Any?
JS
1.1

getParameter

abstract fun getParameter(pname: Int): Any?
JS
1.1

getProgramInfoLog

abstract fun getProgramInfoLog(
    program: WebGLProgram?
): String?
JS
1.1

getProgramParameter

abstract fun getProgramParameter(
    program: WebGLProgram?,
    pname: Int
): Any?
JS
1.1

getRenderbufferParameter

abstract fun getRenderbufferParameter(
    target: Int,
    pname: Int
): Any?
JS
1.1

getShaderInfoLog

abstract fun getShaderInfoLog(shader: WebGLShader?): String?
JS
1.1

getShaderParameter

abstract fun getShaderParameter(
    shader: WebGLShader?,
    pname: Int
): Any?
JS
1.1

getShaderPrecisionFormat

abstract fun getShaderPrecisionFormat(
    shadertype: Int,
    precisiontype: Int
): WebGLShaderPrecisionFormat?
JS
1.1

getShaderSource

abstract fun getShaderSource(shader: WebGLShader?): String?
JS
1.1

getSupportedExtensions

abstract fun getSupportedExtensions(): Array<String>?
JS
1.1

getTexParameter

abstract fun getTexParameter(target: Int, pname: Int): Any?
JS
1.1

getUniform

abstract fun getUniform(
    program: WebGLProgram?,
    location: WebGLUniformLocation?
): Any?
JS
1.1

getUniformLocation

abstract fun getUniformLocation(
    program: WebGLProgram?,
    name: String
): WebGLUniformLocation?
JS
1.1

getVertexAttrib

abstract fun getVertexAttrib(index: Int, pname: Int): Any?
JS
1.1

getVertexAttribOffset

abstract fun getVertexAttribOffset(
    index: Int,
    pname: Int
): Int
JS
1.1

hint

abstract fun hint(target: Int, mode: Int)
JS
1.1

isBuffer

abstract fun isBuffer(buffer: WebGLBuffer?): Boolean
JS
1.1

isContextLost

abstract fun isContextLost(): Boolean
JS
1.1

isEnabled

abstract fun isEnabled(cap: Int): Boolean
JS
1.1

isFramebuffer

abstract fun isFramebuffer(
    framebuffer: WebGLFramebuffer?
): Boolean
JS
1.1

isProgram

abstract fun isProgram(program: WebGLProgram?): Boolean
JS
1.1

isRenderbuffer

abstract fun isRenderbuffer(
    renderbuffer: WebGLRenderbuffer?
): Boolean
JS
1.1

isShader

abstract fun isShader(shader: WebGLShader?): Boolean
JS
1.1

isTexture

abstract fun isTexture(texture: WebGLTexture?): Boolean
JS
1.1

lineWidth

abstract fun lineWidth(width: Float)
JS
1.1

linkProgram

abstract fun linkProgram(program: WebGLProgram?)
JS
1.1

pixelStorei

abstract fun pixelStorei(pname: Int, param: Int)
JS
1.1

polygonOffset

abstract fun polygonOffset(factor: Float, units: Float)
JS
1.1

readPixels

abstract fun readPixels(
    x: Int,
    y: Int,
    width: Int,
    height: Int,
    format: Int,
    type: Int,
    pixels: ArrayBufferView?)
JS
1.1

renderbufferStorage

abstract fun renderbufferStorage(
    target: Int,
    internalformat: Int,
    width: Int,
    height: Int)
JS
1.1

sampleCoverage

abstract fun sampleCoverage(value: Float, invert: Boolean)
JS
1.1

scissor

abstract fun scissor(x: Int, y: Int, width: Int, height: Int)
JS
1.1

shaderSource

abstract fun shaderSource(
    shader: WebGLShader?,
    source: String)
JS
1.1

stencilFunc

abstract fun stencilFunc(func: Int, ref: Int, mask: Int)
JS
1.1

stencilFuncSeparate

abstract fun stencilFuncSeparate(
    face: Int,
    func: Int,
    ref: Int,
    mask: Int)
JS
1.1

stencilMask

abstract fun stencilMask(mask: Int)
JS
1.1

stencilMaskSeparate

abstract fun stencilMaskSeparate(face: Int, mask: Int)
JS
1.1

stencilOp

abstract fun stencilOp(fail: Int, zfail: Int, zpass: Int)
JS
1.1

stencilOpSeparate

abstract fun stencilOpSeparate(
    face: Int,
    fail: Int,
    zfail: Int,
    zpass: Int)
JS
1.1

texImage2D

abstract fun texImage2D(
    target: Int,
    level: Int,
    internalformat: Int,
    width: Int,
    height: Int,
    border: Int,
    format: Int,
    type: Int,
    pixels: ArrayBufferView?)
abstract fun texImage2D(
    target: Int,
    level: Int,
    internalformat: Int,
    format: Int,
    type: Int,
    source: TexImageSource?)
JS
1.1

texParameterf

abstract fun texParameterf(
    target: Int,
    pname: Int,
    param: Float)
JS
1.1

texParameteri

abstract fun texParameteri(
    target: Int,
    pname: Int,
    param: Int)
JS
1.1

texSubImage2D

abstract fun texSubImage2D(
    target: Int,
    level: Int,
    xoffset: Int,
    yoffset: Int,
    width: Int,
    height: Int,
    format: Int,
    type: Int,
    pixels: ArrayBufferView?)
abstract fun texSubImage2D(
    target: Int,
    level: Int,
    xoffset: Int,
    yoffset: Int,
    format: Int,
    type: Int,
    source: TexImageSource?)
JS
1.1

uniform1f

abstract fun uniform1f(
    location: WebGLUniformLocation?,
    x: Float)
JS
1.1

uniform1fv

abstract fun uniform1fv(
    location: WebGLUniformLocation?,
    v: Float32Array)
abstract fun uniform1fv(
    location: WebGLUniformLocation?,
    v: Array<Float>)
JS
1.1

uniform1i

abstract fun uniform1i(
    location: WebGLUniformLocation?,
    x: Int)
JS
1.1

uniform1iv

abstract fun uniform1iv(
    location: WebGLUniformLocation?,
    v: Int32Array)
abstract fun uniform1iv(
    location: WebGLUniformLocation?,
    v: Array<Int>)
JS
1.1

uniform2f

abstract fun uniform2f(
    location: WebGLUniformLocation?,
    x: Float,
    y: Float)
JS
1.1

uniform2fv

abstract fun uniform2fv(
    location: WebGLUniformLocation?,
    v: Float32Array)
abstract fun uniform2fv(
    location: WebGLUniformLocation?,
    v: Array<Float>)
JS
1.1

uniform2i

abstract fun uniform2i(
    location: WebGLUniformLocation?,
    x: Int,
    y: Int)
JS
1.1

uniform2iv

abstract fun uniform2iv(
    location: WebGLUniformLocation?,
    v: Int32Array)
abstract fun uniform2iv(
    location: WebGLUniformLocation?,
    v: Array<Int>)
JS
1.1

uniform3f

abstract fun uniform3f(
    location: WebGLUniformLocation?,
    x: Float,
    y: Float,
    z: Float)
JS
1.1

uniform3fv

abstract fun uniform3fv(
    location: WebGLUniformLocation?,
    v: Float32Array)
abstract fun uniform3fv(
    location: WebGLUniformLocation?,
    v: Array<Float>)
JS
1.1

uniform3i

abstract fun uniform3i(
    location: WebGLUniformLocation?,
    x: Int,
    y: Int,
    z: Int)
JS
1.1

uniform3iv

abstract fun uniform3iv(
    location: WebGLUniformLocation?,
    v: Int32Array)
abstract fun uniform3iv(
    location: WebGLUniformLocation?,
    v: Array<Int>)
JS
1.1

uniform4f

abstract fun uniform4f(
    location: WebGLUniformLocation?,
    x: Float,
    y: Float,
    z: Float,
    w: Float)
JS
1.1

uniform4fv

abstract fun uniform4fv(
    location: WebGLUniformLocation?,
    v: Float32Array)
abstract fun uniform4fv(
    location: WebGLUniformLocation?,
    v: Array<Float>)
JS
1.1

uniform4i

abstract fun uniform4i(
    location: WebGLUniformLocation?,
    x: Int,
    y: Int,
    z: Int,
    w: Int)
JS
1.1

uniform4iv

abstract fun uniform4iv(
    location: WebGLUniformLocation?,
    v: Int32Array)
abstract fun uniform4iv(
    location: WebGLUniformLocation?,
    v: Array<Int>)
JS
1.1

uniformMatrix2fv

abstract fun uniformMatrix2fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Float32Array)
abstract fun uniformMatrix2fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Array<Float>)
JS
1.1

uniformMatrix3fv

abstract fun uniformMatrix3fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Float32Array)
abstract fun uniformMatrix3fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Array<Float>)
JS
1.1

uniformMatrix4fv

abstract fun uniformMatrix4fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Float32Array)
abstract fun uniformMatrix4fv(
    location: WebGLUniformLocation?,
    transpose: Boolean,
    value: Array<Float>)
JS
1.1

useProgram

abstract fun useProgram(program: WebGLProgram?)
JS
1.1

validateProgram

abstract fun validateProgram(program: WebGLProgram?)
JS
1.1

vertexAttrib1f

abstract fun vertexAttrib1f(index: Int, x: Float)
JS
1.1

vertexAttrib1fv

abstract fun vertexAttrib1fv(index: Int, values: dynamic)
JS
1.1

vertexAttrib2f

abstract fun vertexAttrib2f(index: Int, x: Float, y: Float)
JS
1.1

vertexAttrib2fv

abstract fun vertexAttrib2fv(index: Int, values: dynamic)
JS
1.1

vertexAttrib3f

abstract fun vertexAttrib3f(
    index: Int,
    x: Float,
    y: Float,
    z: Float)
JS
1.1

vertexAttrib3fv

abstract fun vertexAttrib3fv(index: Int, values: dynamic)
JS
1.1

vertexAttrib4f

abstract fun vertexAttrib4f(
    index: Int,
    x: Float,
    y: Float,
    z: Float,
    w: Float)
JS
1.1

vertexAttrib4fv

abstract fun vertexAttrib4fv(index: Int, values: dynamic)
JS
1.1

vertexAttribPointer

abstract fun vertexAttribPointer(
    index: Int,
    size: Int,
    type: Int,
    normalized: Boolean,
    stride: Int,
    offset: Int)
JS
1.1

viewport

abstract fun viewport(
    x: Int,
    y: Int,
    width: Int,
    height: Int)

Companion Object Properties

JS
1.1

ACTIVE_ATTRIBUTES

val ACTIVE_ATTRIBUTES: Int
JS
1.1

ACTIVE_TEXTURE

val ACTIVE_TEXTURE: Int
JS
1.1

ACTIVE_UNIFORMS

val ACTIVE_UNIFORMS: Int
JS
1.1

ALIASED_LINE_WIDTH_RANGE

val ALIASED_LINE_WIDTH_RANGE: Int
JS
1.1

ALIASED_POINT_SIZE_RANGE

val ALIASED_POINT_SIZE_RANGE: Int
JS
1.1

ALPHA

val ALPHA: Int
JS
1.1

ALPHA_BITS

val ALPHA_BITS: Int
JS
1.1

ALWAYS

val ALWAYS: Int
JS
1.1

ARRAY_BUFFER

val ARRAY_BUFFER: Int
JS
1.1

ARRAY_BUFFER_BINDING

val ARRAY_BUFFER_BINDING: Int
JS
1.1

ATTACHED_SHADERS

val ATTACHED_SHADERS: Int
JS
1.1

BACK

val BACK: Int
JS
1.1

BLEND

val BLEND: Int
JS
1.1

BLEND_COLOR

val BLEND_COLOR: Int
JS
1.1

BLEND_DST_ALPHA

val BLEND_DST_ALPHA: Int
JS
1.1

BLEND_DST_RGB

val BLEND_DST_RGB: Int
JS
1.1

BLEND_EQUATION

val BLEND_EQUATION: Int
JS
1.1

BLEND_EQUATION_ALPHA

val BLEND_EQUATION_ALPHA: Int
JS
1.1

BLEND_EQUATION_RGB

val BLEND_EQUATION_RGB: Int
JS
1.1

BLEND_SRC_ALPHA

val BLEND_SRC_ALPHA: Int
JS
1.1

BLEND_SRC_RGB

val BLEND_SRC_RGB: Int
JS
1.1

BLUE_BITS

val BLUE_BITS: Int
JS
1.1

BOOL

val BOOL: Int
JS
1.1

BOOL_VEC2

val BOOL_VEC2: Int
JS
1.1

BOOL_VEC3

val BOOL_VEC3: Int
JS
1.1

BOOL_VEC4

val BOOL_VEC4: Int
JS
1.1

BROWSER_DEFAULT_WEBGL

val BROWSER_DEFAULT_WEBGL: Int
JS
1.1

BUFFER_SIZE

val BUFFER_SIZE: Int
JS
1.1

BUFFER_USAGE

val BUFFER_USAGE: Int
JS
1.1

BYTE

val BYTE: Int
JS
1.1

CCW

val CCW: Int
JS
1.1

CLAMP_TO_EDGE

val CLAMP_TO_EDGE: Int
JS
1.1

COLOR_ATTACHMENT0

val COLOR_ATTACHMENT0: Int
JS
1.1

COLOR_BUFFER_BIT

val COLOR_BUFFER_BIT: Int
JS
1.1

COLOR_CLEAR_VALUE

val COLOR_CLEAR_VALUE: Int
JS
1.1

COLOR_WRITEMASK

val COLOR_WRITEMASK: Int
JS
1.1

COMPILE_STATUS

val COMPILE_STATUS: Int
JS
1.1

COMPRESSED_TEXTURE_FORMATS

val COMPRESSED_TEXTURE_FORMATS: Int
JS
1.1

CONSTANT_ALPHA

val CONSTANT_ALPHA: Int
JS
1.1

CONSTANT_COLOR

val CONSTANT_COLOR: Int
JS
1.1

CONTEXT_LOST_WEBGL

val CONTEXT_LOST_WEBGL: Int
JS
1.1

CULL_FACE

val CULL_FACE: Int
JS
1.1

CULL_FACE_MODE

val CULL_FACE_MODE: Int
JS
1.1

CURRENT_PROGRAM

val CURRENT_PROGRAM: Int
JS
1.1

CURRENT_VERTEX_ATTRIB

val CURRENT_VERTEX_ATTRIB: Int
JS
1.1

CW

val CW: Int
JS
1.1

DECR

val DECR: Int
JS
1.1

DECR_WRAP

val DECR_WRAP: Int
JS
1.1

DELETE_STATUS

val DELETE_STATUS: Int
JS
1.1

DEPTH_ATTACHMENT

val DEPTH_ATTACHMENT: Int
JS
1.1

DEPTH_BITS

val DEPTH_BITS: Int
JS
1.1

DEPTH_BUFFER_BIT

val DEPTH_BUFFER_BIT: Int
JS
1.1

DEPTH_CLEAR_VALUE

val DEPTH_CLEAR_VALUE: Int
JS
1.1

DEPTH_COMPONENT

val DEPTH_COMPONENT: Int
JS
1.1

DEPTH_COMPONENT16

val DEPTH_COMPONENT16: Int
JS
1.1

DEPTH_FUNC

val DEPTH_FUNC: Int
JS
1.1

DEPTH_RANGE

val DEPTH_RANGE: Int
JS
1.1

DEPTH_STENCIL

val DEPTH_STENCIL: Int
JS
1.1

DEPTH_STENCIL_ATTACHMENT

val DEPTH_STENCIL_ATTACHMENT: Int
JS
1.1

DEPTH_TEST

val DEPTH_TEST: Int
JS
1.1

DEPTH_WRITEMASK

val DEPTH_WRITEMASK: Int
JS
1.1

DITHER

val DITHER: Int
JS
1.1

DONT_CARE

val DONT_CARE: Int
JS
1.1

DST_ALPHA

val DST_ALPHA: Int
JS
1.1

DST_COLOR

val DST_COLOR: Int
JS
1.1

DYNAMIC_DRAW

val DYNAMIC_DRAW: Int
JS
1.1

ELEMENT_ARRAY_BUFFER

val ELEMENT_ARRAY_BUFFER: Int
JS
1.1

ELEMENT_ARRAY_BUFFER_BINDING

val ELEMENT_ARRAY_BUFFER_BINDING: Int
JS
1.1

EQUAL

val EQUAL: Int
JS
1.1

FASTEST

val FASTEST: Int
JS
1.1

FLOAT

val FLOAT: Int
JS
1.1

FLOAT_MAT2

val FLOAT_MAT2: Int
JS
1.1

FLOAT_MAT3

val FLOAT_MAT3: Int
JS
1.1

FLOAT_MAT4

val FLOAT_MAT4: Int
JS
1.1

FLOAT_VEC2

val FLOAT_VEC2: Int
JS
1.1

FLOAT_VEC3

val FLOAT_VEC3: Int
JS
1.1

FLOAT_VEC4

val FLOAT_VEC4: Int
JS
1.1

FRAGMENT_SHADER

val FRAGMENT_SHADER: Int
JS
1.1

FRAMEBUFFER

val FRAMEBUFFER: Int
JS
1.1

FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int
JS
1.1

FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int
JS
1.1

FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int
JS
1.1

FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int
JS
1.1

FRAMEBUFFER_BINDING

val FRAMEBUFFER_BINDING: Int
JS
1.1

FRAMEBUFFER_COMPLETE

val FRAMEBUFFER_COMPLETE: Int
JS
1.1

FRAMEBUFFER_INCOMPLETE_ATTACHMENT

val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int
JS
1.1

FRAMEBUFFER_INCOMPLETE_DIMENSIONS

val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int
JS
1.1

FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int
JS
1.1

FRAMEBUFFER_UNSUPPORTED

val FRAMEBUFFER_UNSUPPORTED: Int
JS
1.1

FRONT

val FRONT: Int
JS
1.1

FRONT_AND_BACK

val FRONT_AND_BACK: Int
JS
1.1

FRONT_FACE

val FRONT_FACE: Int
JS
1.1

FUNC_ADD

val FUNC_ADD: Int
JS
1.1

FUNC_REVERSE_SUBTRACT

val FUNC_REVERSE_SUBTRACT: Int
JS
1.1

FUNC_SUBTRACT

val FUNC_SUBTRACT: Int
JS
1.1

GENERATE_MIPMAP_HINT

val GENERATE_MIPMAP_HINT: Int
JS
1.1

GEQUAL

val GEQUAL: Int
JS
1.1

GREATER

val GREATER: Int
JS
1.1

GREEN_BITS

val GREEN_BITS: Int
JS
1.1

HIGH_FLOAT

val HIGH_FLOAT: Int
JS
1.1

HIGH_INT

val HIGH_INT: Int
JS
1.1

IMPLEMENTATION_COLOR_READ_FORMAT

val IMPLEMENTATION_COLOR_READ_FORMAT: Int
JS
1.1

IMPLEMENTATION_COLOR_READ_TYPE

val IMPLEMENTATION_COLOR_READ_TYPE: Int
JS
1.1

INCR

val INCR: Int
JS
1.1

INCR_WRAP

val INCR_WRAP: Int
JS
1.1

INT

val INT: Int
JS
1.1

INT_VEC2

val INT_VEC2: Int
JS
1.1

INT_VEC3

val INT_VEC3: Int
JS
1.1

INT_VEC4

val INT_VEC4: Int
JS
1.1

INVALID_ENUM

val INVALID_ENUM: Int
JS
1.1

INVALID_FRAMEBUFFER_OPERATION

val INVALID_FRAMEBUFFER_OPERATION: Int
JS
1.1

INVALID_OPERATION

val INVALID_OPERATION: Int
JS
1.1

INVALID_VALUE

val INVALID_VALUE: Int
JS
1.1

INVERT

val INVERT: Int
JS
1.1

KEEP

val KEEP: Int
JS
1.1

LEQUAL

val LEQUAL: Int
JS
1.1

LESS

val LESS: Int
JS
1.1

LINE_LOOP

val LINE_LOOP: Int
JS
1.1

LINE_STRIP

val LINE_STRIP: Int
JS
1.1

LINE_WIDTH

val LINE_WIDTH: Int
JS
1.1

LINEAR

val LINEAR: Int
JS
1.1

LINEAR_MIPMAP_LINEAR

val LINEAR_MIPMAP_LINEAR: Int
JS
1.1

LINEAR_MIPMAP_NEAREST

val LINEAR_MIPMAP_NEAREST: Int
JS
1.1

LINES

val LINES: Int
JS
1.1

LINK_STATUS

val LINK_STATUS: Int
JS
1.1

LOW_FLOAT

val LOW_FLOAT: Int
JS
1.1

LOW_INT

val LOW_INT: Int
JS
1.1

LUMINANCE

val LUMINANCE: Int
JS
1.1

LUMINANCE_ALPHA

val LUMINANCE_ALPHA: Int
JS
1.1

MAX_COMBINED_TEXTURE_IMAGE_UNITS

val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int
JS
1.1

MAX_CUBE_MAP_TEXTURE_SIZE

val MAX_CUBE_MAP_TEXTURE_SIZE: Int
JS
1.1

MAX_FRAGMENT_UNIFORM_VECTORS

val MAX_FRAGMENT_UNIFORM_VECTORS: Int
JS
1.1

MAX_RENDERBUFFER_SIZE

val MAX_RENDERBUFFER_SIZE: Int
JS
1.1

MAX_TEXTURE_IMAGE_UNITS

val MAX_TEXTURE_IMAGE_UNITS: Int
JS
1.1

MAX_TEXTURE_SIZE

val MAX_TEXTURE_SIZE: Int
JS
1.1

MAX_VARYING_VECTORS

val MAX_VARYING_VECTORS: Int
JS
1.1

MAX_VERTEX_ATTRIBS

val MAX_VERTEX_ATTRIBS: Int
JS
1.1

MAX_VERTEX_TEXTURE_IMAGE_UNITS

val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int
JS
1.1

MAX_VERTEX_UNIFORM_VECTORS

val MAX_VERTEX_UNIFORM_VECTORS: Int
JS
1.1

MAX_VIEWPORT_DIMS

val MAX_VIEWPORT_DIMS: Int
JS
1.1

MEDIUM_FLOAT

val MEDIUM_FLOAT: Int
JS
1.1

MEDIUM_INT

val MEDIUM_INT: Int
JS
1.1

MIRRORED_REPEAT

val MIRRORED_REPEAT: Int
JS
1.1

NEAREST

val NEAREST: Int
JS
1.1

NEAREST_MIPMAP_LINEAR

val NEAREST_MIPMAP_LINEAR: Int
JS
1.1

NEAREST_MIPMAP_NEAREST

val NEAREST_MIPMAP_NEAREST: Int
JS
1.1

NEVER

val NEVER: Int
JS
1.1

NICEST

val NICEST: Int
JS
1.1

NO_ERROR

val NO_ERROR: Int
JS
1.1

NONE

val NONE: Int
JS
1.1

NOTEQUAL

val NOTEQUAL: Int
JS
1.1

ONE

val ONE: Int
JS
1.1

ONE_MINUS_CONSTANT_ALPHA

val ONE_MINUS_CONSTANT_ALPHA: Int
JS
1.1

ONE_MINUS_CONSTANT_COLOR

val ONE_MINUS_CONSTANT_COLOR: Int
JS
1.1

ONE_MINUS_DST_ALPHA

val ONE_MINUS_DST_ALPHA: Int
JS
1.1

ONE_MINUS_DST_COLOR

val ONE_MINUS_DST_COLOR: Int
JS
1.1

ONE_MINUS_SRC_ALPHA

val ONE_MINUS_SRC_ALPHA: Int
JS
1.1

ONE_MINUS_SRC_COLOR

val ONE_MINUS_SRC_COLOR: Int
JS
1.1

OUT_OF_MEMORY

val OUT_OF_MEMORY: Int
JS
1.1

PACK_ALIGNMENT

val PACK_ALIGNMENT: Int
JS
1.1

POINTS

val POINTS: Int
JS
1.1

POLYGON_OFFSET_FACTOR

val POLYGON_OFFSET_FACTOR: Int
JS
1.1

POLYGON_OFFSET_FILL

val POLYGON_OFFSET_FILL: Int
JS
1.1

POLYGON_OFFSET_UNITS

val POLYGON_OFFSET_UNITS: Int
JS
1.1

RED_BITS

val RED_BITS: Int
JS
1.1

RENDERBUFFER

val RENDERBUFFER: Int
JS
1.1

RENDERBUFFER_ALPHA_SIZE

val RENDERBUFFER_ALPHA_SIZE: Int
JS
1.1

RENDERBUFFER_BINDING

val RENDERBUFFER_BINDING: Int
JS
1.1

RENDERBUFFER_BLUE_SIZE

val RENDERBUFFER_BLUE_SIZE: Int
JS
1.1

RENDERBUFFER_DEPTH_SIZE

val RENDERBUFFER_DEPTH_SIZE: Int
JS
1.1

RENDERBUFFER_GREEN_SIZE

val RENDERBUFFER_GREEN_SIZE: Int
JS
1.1

RENDERBUFFER_HEIGHT

val RENDERBUFFER_HEIGHT: Int
JS
1.1

RENDERBUFFER_INTERNAL_FORMAT

val RENDERBUFFER_INTERNAL_FORMAT: Int
JS
1.1

RENDERBUFFER_RED_SIZE

val RENDERBUFFER_RED_SIZE: Int
JS
1.1

RENDERBUFFER_STENCIL_SIZE

val RENDERBUFFER_STENCIL_SIZE: Int
JS
1.1

RENDERBUFFER_WIDTH

val RENDERBUFFER_WIDTH: Int
JS
1.1

RENDERER

val RENDERER: Int
JS
1.1

REPEAT

val REPEAT: Int
JS
1.1

REPLACE

val REPLACE: Int
JS
1.1

RGB

val RGB: Int
JS
1.1

RGB565

val RGB565: Int
JS
1.1

RGB5_A1

val RGB5_A1: Int
JS
1.1

RGBA

val RGBA: Int
JS
1.1

RGBA4

val RGBA4: Int
JS
1.1

SAMPLE_ALPHA_TO_COVERAGE

val SAMPLE_ALPHA_TO_COVERAGE: Int
JS
1.1

SAMPLE_BUFFERS

val SAMPLE_BUFFERS: Int
JS
1.1

SAMPLE_COVERAGE

val SAMPLE_COVERAGE: Int
JS
1.1

SAMPLE_COVERAGE_INVERT

val SAMPLE_COVERAGE_INVERT: Int
JS
1.1

SAMPLE_COVERAGE_VALUE

val SAMPLE_COVERAGE_VALUE: Int
JS
1.1

SAMPLER_2D

val SAMPLER_2D: Int
JS
1.1

SAMPLER_CUBE

val SAMPLER_CUBE: Int
JS
1.1

SAMPLES

val SAMPLES: Int
JS
1.1

SCISSOR_BOX

val SCISSOR_BOX: Int
JS
1.1

SCISSOR_TEST

val SCISSOR_TEST: Int
JS
1.1

SHADER_TYPE

val SHADER_TYPE: Int
JS
1.1

SHADING_LANGUAGE_VERSION

val SHADING_LANGUAGE_VERSION: Int
JS
1.1

SHORT

val SHORT: Int
JS
1.1

SRC_ALPHA

val SRC_ALPHA: Int
JS
1.1

SRC_ALPHA_SATURATE

val SRC_ALPHA_SATURATE: Int
JS
1.1

SRC_COLOR

val SRC_COLOR: Int
JS
1.1

STATIC_DRAW

val STATIC_DRAW: Int
JS
1.1

STENCIL_ATTACHMENT

val STENCIL_ATTACHMENT: Int
JS
1.1

STENCIL_BACK_FAIL

val STENCIL_BACK_FAIL: Int
JS
1.1

STENCIL_BACK_FUNC

val STENCIL_BACK_FUNC: Int
JS
1.1

STENCIL_BACK_PASS_DEPTH_FAIL

val STENCIL_BACK_PASS_DEPTH_FAIL: Int
JS
1.1

STENCIL_BACK_PASS_DEPTH_PASS

val STENCIL_BACK_PASS_DEPTH_PASS: Int
JS
1.1

STENCIL_BACK_REF

val STENCIL_BACK_REF: Int
JS
1.1

STENCIL_BACK_VALUE_MASK

val STENCIL_BACK_VALUE_MASK: Int
JS
1.1

STENCIL_BACK_WRITEMASK

val STENCIL_BACK_WRITEMASK: Int
JS
1.1

STENCIL_BITS

val STENCIL_BITS: Int
JS
1.1

STENCIL_BUFFER_BIT

val STENCIL_BUFFER_BIT: Int
JS
1.1

STENCIL_CLEAR_VALUE

val STENCIL_CLEAR_VALUE: Int
JS
1.1

STENCIL_FAIL

val STENCIL_FAIL: Int
JS
1.1

STENCIL_FUNC

val STENCIL_FUNC: Int
JS
1.1

STENCIL_INDEX

val STENCIL_INDEX: Int
JS
1.1

STENCIL_INDEX8

val STENCIL_INDEX8: Int
JS
1.1

STENCIL_PASS_DEPTH_FAIL

val STENCIL_PASS_DEPTH_FAIL: Int
JS
1.1

STENCIL_PASS_DEPTH_PASS

val STENCIL_PASS_DEPTH_PASS: Int
JS
1.1

STENCIL_REF

val STENCIL_REF: Int
JS
1.1

STENCIL_TEST

val STENCIL_TEST: Int
JS
1.1

STENCIL_VALUE_MASK

val STENCIL_VALUE_MASK: Int
JS
1.1

STENCIL_WRITEMASK

val STENCIL_WRITEMASK: Int
JS
1.1

STREAM_DRAW

val STREAM_DRAW: Int
JS
1.1

SUBPIXEL_BITS

val SUBPIXEL_BITS: Int
JS
1.1

TEXTURE

val TEXTURE: Int
JS
1.1

TEXTURE0

val TEXTURE0: Int
JS
1.1

TEXTURE1

val TEXTURE1: Int
JS
1.1

TEXTURE10

val TEXTURE10: Int
JS
1.1

TEXTURE11

val TEXTURE11: Int
JS
1.1

TEXTURE12

val TEXTURE12: Int
JS
1.1

TEXTURE13

val TEXTURE13: Int
JS
1.1

TEXTURE14

val TEXTURE14: Int
JS
1.1

TEXTURE15

val TEXTURE15: Int
JS
1.1

TEXTURE16

val TEXTURE16: Int
JS
1.1

TEXTURE17

val TEXTURE17: Int
JS
1.1

TEXTURE18

val TEXTURE18: Int
JS
1.1

TEXTURE19

val TEXTURE19: Int
JS
1.1

TEXTURE2

val TEXTURE2: Int
JS
1.1

TEXTURE20

val TEXTURE20: Int
JS
1.1

TEXTURE21

val TEXTURE21: Int
JS
1.1

TEXTURE22

val TEXTURE22: Int
JS
1.1

TEXTURE23

val TEXTURE23: Int
JS
1.1

TEXTURE24

val TEXTURE24: Int
JS
1.1

TEXTURE25

val TEXTURE25: Int
JS
1.1

TEXTURE26

val TEXTURE26: Int
JS
1.1

TEXTURE27

val TEXTURE27: Int
JS
1.1

TEXTURE28

val TEXTURE28: Int
JS
1.1

TEXTURE29

val TEXTURE29: Int
JS
1.1

TEXTURE3

val TEXTURE3: Int
JS
1.1

TEXTURE30

val TEXTURE30: Int
JS
1.1

TEXTURE31

val TEXTURE31: Int
JS
1.1

TEXTURE4

val TEXTURE4: Int
JS
1.1

TEXTURE5

val TEXTURE5: Int
JS
1.1

TEXTURE6

val TEXTURE6: Int
JS
1.1

TEXTURE7

val TEXTURE7: Int
JS
1.1

TEXTURE8

val TEXTURE8: Int
JS
1.1

TEXTURE9

val TEXTURE9: Int
JS
1.1

TEXTURE_2D

val TEXTURE_2D: Int
JS
1.1

TEXTURE_BINDING_2D

val TEXTURE_BINDING_2D: Int
JS
1.1

TEXTURE_BINDING_CUBE_MAP

val TEXTURE_BINDING_CUBE_MAP: Int
JS
1.1

TEXTURE_CUBE_MAP

val TEXTURE_CUBE_MAP: Int
JS
1.1

TEXTURE_CUBE_MAP_NEGATIVE_X

val TEXTURE_CUBE_MAP_NEGATIVE_X: Int
JS
1.1

TEXTURE_CUBE_MAP_NEGATIVE_Y

val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int
JS
1.1

TEXTURE_CUBE_MAP_NEGATIVE_Z

val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int
JS
1.1

TEXTURE_CUBE_MAP_POSITIVE_X

val TEXTURE_CUBE_MAP_POSITIVE_X: Int
JS
1.1

TEXTURE_CUBE_MAP_POSITIVE_Y

val TEXTURE_CUBE_MAP_POSITIVE_Y: Int
JS
1.1

TEXTURE_CUBE_MAP_POSITIVE_Z

val TEXTURE_CUBE_MAP_POSITIVE_Z: Int
JS
1.1

TEXTURE_MAG_FILTER

val TEXTURE_MAG_FILTER: Int
JS
1.1

TEXTURE_MIN_FILTER

val TEXTURE_MIN_FILTER: Int
JS
1.1

TEXTURE_WRAP_S

val TEXTURE_WRAP_S: Int
JS
1.1

TEXTURE_WRAP_T

val TEXTURE_WRAP_T: Int
JS
1.1

TRIANGLE_FAN

val TRIANGLE_FAN: Int
JS
1.1

TRIANGLE_STRIP

val TRIANGLE_STRIP: Int
JS
1.1

TRIANGLES

val TRIANGLES: Int
JS
1.1

UNPACK_ALIGNMENT

val UNPACK_ALIGNMENT: Int
JS
1.1

UNPACK_COLORSPACE_CONVERSION_WEBGL

val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int
JS
1.1

UNPACK_FLIP_Y_WEBGL

val UNPACK_FLIP_Y_WEBGL: Int
JS
1.1

UNPACK_PREMULTIPLY_ALPHA_WEBGL

val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int
JS
1.1

UNSIGNED_BYTE

val UNSIGNED_BYTE: Int
JS
1.1

UNSIGNED_INT

val UNSIGNED_INT: Int
JS
1.1

UNSIGNED_SHORT

val UNSIGNED_SHORT: Int
JS
1.1

UNSIGNED_SHORT_4_4_4_4

val UNSIGNED_SHORT_4_4_4_4: Int
JS
1.1

UNSIGNED_SHORT_5_5_5_1

val UNSIGNED_SHORT_5_5_5_1: Int
JS
1.1

UNSIGNED_SHORT_5_6_5

val UNSIGNED_SHORT_5_6_5: Int
JS
1.1

VALIDATE_STATUS

val VALIDATE_STATUS: Int
JS
1.1

VENDOR

val VENDOR: Int
JS
1.1

VERSION

val VERSION: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_ENABLED

val VERTEX_ATTRIB_ARRAY_ENABLED: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_NORMALIZED

val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_POINTER

val VERTEX_ATTRIB_ARRAY_POINTER: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_SIZE

val VERTEX_ATTRIB_ARRAY_SIZE: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_STRIDE

val VERTEX_ATTRIB_ARRAY_STRIDE: Int
JS
1.1

VERTEX_ATTRIB_ARRAY_TYPE

val VERTEX_ATTRIB_ARRAY_TYPE: Int
JS
1.1

VERTEX_SHADER

val VERTEX_SHADER: Int
JS
1.1

VIEWPORT

val VIEWPORT: Int
JS
1.1

ZERO

val ZERO: Int

Inheritors

JS
1.1

WebGLRenderingContext

Exposes the JavaScript WebGLRenderingContext to Kotlin

abstract class WebGLRenderingContext : 
    WebGLRenderingContextBase,
    RenderingContext