WebGLRenderingContextBase
interface WebGLRenderingContextBase
Properties
canvas
abstract val canvas: HTMLCanvasElement
drawingBufferHeight
abstract val drawingBufferHeight: Int
drawingBufferWidth
abstract val drawingBufferWidth: Int
Functions
activeTexture
abstract fun activeTexture(texture: Int)
attachShader
abstract fun attachShader(
program: WebGLProgram?,
shader: WebGLShader?)
bindAttribLocation
abstract fun bindAttribLocation(
program: WebGLProgram?,
index: Int,
name: String)
bindBuffer
abstract fun bindBuffer(target: Int, buffer: WebGLBuffer?)
bindFramebuffer
abstract fun bindFramebuffer(
target: Int,
framebuffer: WebGLFramebuffer?)
bindRenderbuffer
abstract fun bindRenderbuffer(
target: Int,
renderbuffer: WebGLRenderbuffer?)
bindTexture
abstract fun bindTexture(target: Int, texture: WebGLTexture?)
blendColor
abstract fun blendColor(
red: Float,
green: Float,
blue: Float,
alpha: Float)
blendEquation
abstract fun blendEquation(mode: Int)
blendEquationSeparate
abstract fun blendEquationSeparate(
modeRGB: Int,
modeAlpha: Int)
blendFunc
abstract fun blendFunc(sfactor: Int, dfactor: Int)
blendFuncSeparate
abstract fun blendFuncSeparate(
srcRGB: Int,
dstRGB: Int,
srcAlpha: Int,
dstAlpha: Int)
bufferData
abstract fun bufferData(target: Int, size: Int, usage: Int)
abstract fun bufferData(
target: Int,
data: BufferDataSource?,
usage: Int)
bufferSubData
abstract fun bufferSubData(
target: Int,
offset: Int,
data: BufferDataSource?)
checkFramebufferStatus
abstract fun checkFramebufferStatus(target: Int): Int
clear
abstract fun clear(mask: Int)
clearColor
abstract fun clearColor(
red: Float,
green: Float,
blue: Float,
alpha: Float)
clearDepth
abstract fun clearDepth(depth: Float)
clearStencil
abstract fun clearStencil(s: Int)
colorMask
abstract fun colorMask(
red: Boolean,
green: Boolean,
blue: Boolean,
alpha: Boolean)
compileShader
abstract fun compileShader(shader: WebGLShader?)
compressedTexImage2D
abstract fun compressedTexImage2D(
target: Int,
level: Int,
internalformat: Int,
width: Int,
height: Int,
border: Int,
data: ArrayBufferView)
compressedTexSubImage2D
abstract fun compressedTexSubImage2D(
target: Int,
level: Int,
xoffset: Int,
yoffset: Int,
width: Int,
height: Int,
format: Int,
data: ArrayBufferView)
copyTexImage2D
abstract fun copyTexImage2D(
target: Int,
level: Int,
internalformat: Int,
x: Int,
y: Int,
width: Int,
height: Int,
border: Int)
copyTexSubImage2D
abstract fun copyTexSubImage2D(
target: Int,
level: Int,
xoffset: Int,
yoffset: Int,
x: Int,
y: Int,
width: Int,
height: Int)
createBuffer
abstract fun createBuffer(): WebGLBuffer?
createFramebuffer
abstract fun createFramebuffer(): WebGLFramebuffer?
createProgram
abstract fun createProgram(): WebGLProgram?
createRenderbuffer
abstract fun createRenderbuffer(): WebGLRenderbuffer?
createShader
abstract fun createShader(type: Int): WebGLShader?
createTexture
abstract fun createTexture(): WebGLTexture?
cullFace
abstract fun cullFace(mode: Int)
deleteBuffer
abstract fun deleteBuffer(buffer: WebGLBuffer?)
deleteFramebuffer
abstract fun deleteFramebuffer(
framebuffer: WebGLFramebuffer?)
deleteProgram
abstract fun deleteProgram(program: WebGLProgram?)
deleteRenderbuffer
abstract fun deleteRenderbuffer(
renderbuffer: WebGLRenderbuffer?)
deleteShader
abstract fun deleteShader(shader: WebGLShader?)
deleteTexture
abstract fun deleteTexture(texture: WebGLTexture?)
depthFunc
abstract fun depthFunc(func: Int)
depthMask
abstract fun depthMask(flag: Boolean)
depthRange
abstract fun depthRange(zNear: Float, zFar: Float)
detachShader
abstract fun detachShader(
program: WebGLProgram?,
shader: WebGLShader?)
disable
abstract fun disable(cap: Int)
disableVertexAttribArray
abstract fun disableVertexAttribArray(index: Int)
drawArrays
abstract fun drawArrays(mode: Int, first: Int, count: Int)
drawElements
abstract fun drawElements(
mode: Int,
count: Int,
type: Int,
offset: Int)
enable
abstract fun enable(cap: Int)
enableVertexAttribArray
abstract fun enableVertexAttribArray(index: Int)
finish
abstract fun finish()
flush
abstract fun flush()
framebufferRenderbuffer
abstract fun framebufferRenderbuffer(
target: Int,
attachment: Int,
renderbuffertarget: Int,
renderbuffer: WebGLRenderbuffer?)
framebufferTexture2D
abstract fun framebufferTexture2D(
target: Int,
attachment: Int,
textarget: Int,
texture: WebGLTexture?,
level: Int)
frontFace
abstract fun frontFace(mode: Int)
generateMipmap
abstract fun generateMipmap(target: Int)
getActiveAttrib
abstract fun getActiveAttrib(
program: WebGLProgram?,
index: Int
): WebGLActiveInfo?
getActiveUniform
abstract fun getActiveUniform(
program: WebGLProgram?,
index: Int
): WebGLActiveInfo?
getAttachedShaders
abstract fun getAttachedShaders(
program: WebGLProgram?
): Array<WebGLShader>?
getAttribLocation
abstract fun getAttribLocation(
program: WebGLProgram?,
name: String
): Int
getBufferParameter
abstract fun getBufferParameter(
target: Int,
pname: Int
): Any?
getContextAttributes
abstract fun getContextAttributes(): WebGLContextAttributes?
getError
abstract fun getError(): Int
getExtension
abstract fun getExtension(name: String): dynamic
getFramebufferAttachmentParameter
abstract fun getFramebufferAttachmentParameter(
target: Int,
attachment: Int,
pname: Int
): Any?
getParameter
abstract fun getParameter(pname: Int): Any?
getProgramInfoLog
abstract fun getProgramInfoLog(
program: WebGLProgram?
): String?
getProgramParameter
abstract fun getProgramParameter(
program: WebGLProgram?,
pname: Int
): Any?
getRenderbufferParameter
abstract fun getRenderbufferParameter(
target: Int,
pname: Int
): Any?
getShaderInfoLog
abstract fun getShaderInfoLog(shader: WebGLShader?): String?
getShaderParameter
abstract fun getShaderParameter(
shader: WebGLShader?,
pname: Int
): Any?
getShaderPrecisionFormat
abstract fun getShaderPrecisionFormat(
shadertype: Int,
precisiontype: Int
): WebGLShaderPrecisionFormat?
getShaderSource
abstract fun getShaderSource(shader: WebGLShader?): String?
getSupportedExtensions
abstract fun getSupportedExtensions(): Array<String>?
getTexParameter
abstract fun getTexParameter(target: Int, pname: Int): Any?
getUniform
abstract fun getUniform(
program: WebGLProgram?,
location: WebGLUniformLocation?
): Any?
getUniformLocation
abstract fun getUniformLocation(
program: WebGLProgram?,
name: String
): WebGLUniformLocation?
getVertexAttrib
abstract fun getVertexAttrib(index: Int, pname: Int): Any?
getVertexAttribOffset
abstract fun getVertexAttribOffset(
index: Int,
pname: Int
): Int
hint
abstract fun hint(target: Int, mode: Int)
isBuffer
abstract fun isBuffer(buffer: WebGLBuffer?): Boolean
isContextLost
abstract fun isContextLost(): Boolean
isEnabled
abstract fun isEnabled(cap: Int): Boolean
isFramebuffer
abstract fun isFramebuffer(
framebuffer: WebGLFramebuffer?
): Boolean
isProgram
abstract fun isProgram(program: WebGLProgram?): Boolean
isRenderbuffer
abstract fun isRenderbuffer(
renderbuffer: WebGLRenderbuffer?
): Boolean
isShader
abstract fun isShader(shader: WebGLShader?): Boolean
isTexture
abstract fun isTexture(texture: WebGLTexture?): Boolean
lineWidth
abstract fun lineWidth(width: Float)
linkProgram
abstract fun linkProgram(program: WebGLProgram?)
pixelStorei
abstract fun pixelStorei(pname: Int, param: Int)
polygonOffset
abstract fun polygonOffset(factor: Float, units: Float)
readPixels
abstract fun readPixels(
x: Int,
y: Int,
width: Int,
height: Int,
format: Int,
type: Int,
pixels: ArrayBufferView?)
renderbufferStorage
abstract fun renderbufferStorage(
target: Int,
internalformat: Int,
width: Int,
height: Int)
sampleCoverage
abstract fun sampleCoverage(value: Float, invert: Boolean)
scissor
abstract fun scissor(x: Int, y: Int, width: Int, height: Int)
shaderSource
abstract fun shaderSource(
shader: WebGLShader?,
source: String)
stencilFunc
abstract fun stencilFunc(func: Int, ref: Int, mask: Int)
stencilFuncSeparate
abstract fun stencilFuncSeparate(
face: Int,
func: Int,
ref: Int,
mask: Int)
stencilMask
abstract fun stencilMask(mask: Int)
stencilMaskSeparate
abstract fun stencilMaskSeparate(face: Int, mask: Int)
stencilOp
abstract fun stencilOp(fail: Int, zfail: Int, zpass: Int)
stencilOpSeparate
abstract fun stencilOpSeparate(
face: Int,
fail: Int,
zfail: Int,
zpass: Int)
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?)
texParameterf
abstract fun texParameterf(
target: Int,
pname: Int,
param: Float)
texParameteri
abstract fun texParameteri(
target: Int,
pname: Int,
param: Int)
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?)
uniform1f
abstract fun uniform1f(
location: WebGLUniformLocation?,
x: Float)
uniform1fv
abstract fun uniform1fv(
location: WebGLUniformLocation?,
v: Float32Array)
abstract fun uniform1fv(
location: WebGLUniformLocation?,
v: Array<Float>)
uniform1i
abstract fun uniform1i(
location: WebGLUniformLocation?,
x: Int)
uniform1iv
abstract fun uniform1iv(
location: WebGLUniformLocation?,
v: Int32Array)
abstract fun uniform1iv(
location: WebGLUniformLocation?,
v: Array<Int>)
uniform2f
abstract fun uniform2f(
location: WebGLUniformLocation?,
x: Float,
y: Float)
uniform2fv
abstract fun uniform2fv(
location: WebGLUniformLocation?,
v: Float32Array)
abstract fun uniform2fv(
location: WebGLUniformLocation?,
v: Array<Float>)
uniform2i
abstract fun uniform2i(
location: WebGLUniformLocation?,
x: Int,
y: Int)
uniform2iv
abstract fun uniform2iv(
location: WebGLUniformLocation?,
v: Int32Array)
abstract fun uniform2iv(
location: WebGLUniformLocation?,
v: Array<Int>)
uniform3f
abstract fun uniform3f(
location: WebGLUniformLocation?,
x: Float,
y: Float,
z: Float)
uniform3fv
abstract fun uniform3fv(
location: WebGLUniformLocation?,
v: Float32Array)
abstract fun uniform3fv(
location: WebGLUniformLocation?,
v: Array<Float>)
uniform3i
abstract fun uniform3i(
location: WebGLUniformLocation?,
x: Int,
y: Int,
z: Int)
uniform3iv
abstract fun uniform3iv(
location: WebGLUniformLocation?,
v: Int32Array)
abstract fun uniform3iv(
location: WebGLUniformLocation?,
v: Array<Int>)
uniform4f
abstract fun uniform4f(
location: WebGLUniformLocation?,
x: Float,
y: Float,
z: Float,
w: Float)
uniform4fv
abstract fun uniform4fv(
location: WebGLUniformLocation?,
v: Float32Array)
abstract fun uniform4fv(
location: WebGLUniformLocation?,
v: Array<Float>)
uniform4i
abstract fun uniform4i(
location: WebGLUniformLocation?,
x: Int,
y: Int,
z: Int,
w: Int)
uniform4iv
abstract fun uniform4iv(
location: WebGLUniformLocation?,
v: Int32Array)
abstract fun uniform4iv(
location: WebGLUniformLocation?,
v: Array<Int>)
uniformMatrix2fv
abstract fun uniformMatrix2fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Float32Array)
abstract fun uniformMatrix2fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Array<Float>)
uniformMatrix3fv
abstract fun uniformMatrix3fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Float32Array)
abstract fun uniformMatrix3fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Array<Float>)
uniformMatrix4fv
abstract fun uniformMatrix4fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Float32Array)
abstract fun uniformMatrix4fv(
location: WebGLUniformLocation?,
transpose: Boolean,
value: Array<Float>)
useProgram
abstract fun useProgram(program: WebGLProgram?)
validateProgram
abstract fun validateProgram(program: WebGLProgram?)
vertexAttrib1f
abstract fun vertexAttrib1f(index: Int, x: Float)
vertexAttrib1fv
abstract fun vertexAttrib1fv(index: Int, values: dynamic)
vertexAttrib2f
abstract fun vertexAttrib2f(index: Int, x: Float, y: Float)
vertexAttrib2fv
abstract fun vertexAttrib2fv(index: Int, values: dynamic)
vertexAttrib3f
abstract fun vertexAttrib3f(
index: Int,
x: Float,
y: Float,
z: Float)
vertexAttrib3fv
abstract fun vertexAttrib3fv(index: Int, values: dynamic)
vertexAttrib4f
abstract fun vertexAttrib4f(
index: Int,
x: Float,
y: Float,
z: Float,
w: Float)
vertexAttrib4fv
abstract fun vertexAttrib4fv(index: Int, values: dynamic)
vertexAttribPointer
abstract fun vertexAttribPointer(
index: Int,
size: Int,
type: Int,
normalized: Boolean,
stride: Int,
offset: Int)
viewport
abstract fun viewport(
x: Int,
y: Int,
width: Int,
height: Int)
Companion Object Properties
ACTIVE_ATTRIBUTES
val ACTIVE_ATTRIBUTES: Int
ACTIVE_TEXTURE
val ACTIVE_TEXTURE: Int
ACTIVE_UNIFORMS
val ACTIVE_UNIFORMS: Int
ALIASED_LINE_WIDTH_RANGE
val ALIASED_LINE_WIDTH_RANGE: Int
ALIASED_POINT_SIZE_RANGE
val ALIASED_POINT_SIZE_RANGE: Int
ALPHA
val ALPHA: Int
ALPHA_BITS
val ALPHA_BITS: Int
ALWAYS
val ALWAYS: Int
ARRAY_BUFFER
val ARRAY_BUFFER: Int
ARRAY_BUFFER_BINDING
val ARRAY_BUFFER_BINDING: Int
ATTACHED_SHADERS
val ATTACHED_SHADERS: Int
BACK
val BACK: Int
BLEND
val BLEND: Int
BLEND_COLOR
val BLEND_COLOR: Int
BLEND_DST_ALPHA
val BLEND_DST_ALPHA: Int
BLEND_DST_RGB
val BLEND_DST_RGB: Int
BLEND_EQUATION
val BLEND_EQUATION: Int
BLEND_EQUATION_ALPHA
val BLEND_EQUATION_ALPHA: Int
BLEND_EQUATION_RGB
val BLEND_EQUATION_RGB: Int
BLEND_SRC_ALPHA
val BLEND_SRC_ALPHA: Int
BLEND_SRC_RGB
val BLEND_SRC_RGB: Int
BLUE_BITS
val BLUE_BITS: Int
BOOL
val BOOL: Int
BOOL_VEC2
val BOOL_VEC2: Int
BOOL_VEC3
val BOOL_VEC3: Int
BOOL_VEC4
val BOOL_VEC4: Int
BROWSER_DEFAULT_WEBGL
val BROWSER_DEFAULT_WEBGL: Int
BUFFER_SIZE
val BUFFER_SIZE: Int
BUFFER_USAGE
val BUFFER_USAGE: Int
BYTE
val BYTE: Int
CCW
val CCW: Int
CLAMP_TO_EDGE
val CLAMP_TO_EDGE: Int
COLOR_ATTACHMENT0
val COLOR_ATTACHMENT0: Int
COLOR_BUFFER_BIT
val COLOR_BUFFER_BIT: Int
COLOR_CLEAR_VALUE
val COLOR_CLEAR_VALUE: Int
COLOR_WRITEMASK
val COLOR_WRITEMASK: Int
COMPILE_STATUS
val COMPILE_STATUS: Int
COMPRESSED_TEXTURE_FORMATS
val COMPRESSED_TEXTURE_FORMATS: Int
CONSTANT_ALPHA
val CONSTANT_ALPHA: Int
CONSTANT_COLOR
val CONSTANT_COLOR: Int
CONTEXT_LOST_WEBGL
val CONTEXT_LOST_WEBGL: Int
CULL_FACE
val CULL_FACE: Int
CULL_FACE_MODE
val CULL_FACE_MODE: Int
CURRENT_PROGRAM
val CURRENT_PROGRAM: Int
CURRENT_VERTEX_ATTRIB
val CURRENT_VERTEX_ATTRIB: Int
CW
val CW: Int
DECR
val DECR: Int
DECR_WRAP
val DECR_WRAP: Int
DELETE_STATUS
val DELETE_STATUS: Int
DEPTH_ATTACHMENT
val DEPTH_ATTACHMENT: Int
DEPTH_BITS
val DEPTH_BITS: Int
DEPTH_BUFFER_BIT
val DEPTH_BUFFER_BIT: Int
DEPTH_CLEAR_VALUE
val DEPTH_CLEAR_VALUE: Int
DEPTH_COMPONENT
val DEPTH_COMPONENT: Int
DEPTH_COMPONENT16
val DEPTH_COMPONENT16: Int
DEPTH_FUNC
val DEPTH_FUNC: Int
DEPTH_RANGE
val DEPTH_RANGE: Int
DEPTH_STENCIL
val DEPTH_STENCIL: Int
DEPTH_STENCIL_ATTACHMENT
val DEPTH_STENCIL_ATTACHMENT: Int
DEPTH_TEST
val DEPTH_TEST: Int
DEPTH_WRITEMASK
val DEPTH_WRITEMASK: Int
DITHER
val DITHER: Int
DONT_CARE
val DONT_CARE: Int
DST_ALPHA
val DST_ALPHA: Int
DST_COLOR
val DST_COLOR: Int
DYNAMIC_DRAW
val DYNAMIC_DRAW: Int
ELEMENT_ARRAY_BUFFER
val ELEMENT_ARRAY_BUFFER: Int
ELEMENT_ARRAY_BUFFER_BINDING
val ELEMENT_ARRAY_BUFFER_BINDING: Int
EQUAL
val EQUAL: Int
FASTEST
val FASTEST: Int
FLOAT
val FLOAT: Int
FLOAT_MAT2
val FLOAT_MAT2: Int
FLOAT_MAT3
val FLOAT_MAT3: Int
FLOAT_MAT4
val FLOAT_MAT4: Int
FLOAT_VEC2
val FLOAT_VEC2: Int
FLOAT_VEC3
val FLOAT_VEC3: Int
FLOAT_VEC4
val FLOAT_VEC4: Int
FRAGMENT_SHADER
val FRAGMENT_SHADER: Int
FRAMEBUFFER
val FRAMEBUFFER: Int
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
val FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
val FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
val FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
val FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int
FRAMEBUFFER_BINDING
val FRAMEBUFFER_BINDING: Int
FRAMEBUFFER_COMPLETE
val FRAMEBUFFER_COMPLETE: Int
FRAMEBUFFER_INCOMPLETE_ATTACHMENT
val FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int
FRAMEBUFFER_INCOMPLETE_DIMENSIONS
val FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
val FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int
FRAMEBUFFER_UNSUPPORTED
val FRAMEBUFFER_UNSUPPORTED: Int
FRONT
val FRONT: Int
FRONT_AND_BACK
val FRONT_AND_BACK: Int
FRONT_FACE
val FRONT_FACE: Int
FUNC_ADD
val FUNC_ADD: Int
FUNC_REVERSE_SUBTRACT
val FUNC_REVERSE_SUBTRACT: Int
FUNC_SUBTRACT
val FUNC_SUBTRACT: Int
GENERATE_MIPMAP_HINT
val GENERATE_MIPMAP_HINT: Int
GEQUAL
val GEQUAL: Int
GREATER
val GREATER: Int
GREEN_BITS
val GREEN_BITS: Int
HIGH_FLOAT
val HIGH_FLOAT: Int
HIGH_INT
val HIGH_INT: Int
IMPLEMENTATION_COLOR_READ_FORMAT
val IMPLEMENTATION_COLOR_READ_FORMAT: Int
IMPLEMENTATION_COLOR_READ_TYPE
val IMPLEMENTATION_COLOR_READ_TYPE: Int
INCR
val INCR: Int
INCR_WRAP
val INCR_WRAP: Int
INT
val INT: Int
INT_VEC2
val INT_VEC2: Int
INT_VEC3
val INT_VEC3: Int
INT_VEC4
val INT_VEC4: Int
INVALID_ENUM
val INVALID_ENUM: Int
INVALID_FRAMEBUFFER_OPERATION
val INVALID_FRAMEBUFFER_OPERATION: Int
INVALID_OPERATION
val INVALID_OPERATION: Int
INVALID_VALUE
val INVALID_VALUE: Int
INVERT
val INVERT: Int
KEEP
val KEEP: Int
LEQUAL
val LEQUAL: Int
LESS
val LESS: Int
LINE_LOOP
val LINE_LOOP: Int
LINE_STRIP
val LINE_STRIP: Int
LINE_WIDTH
val LINE_WIDTH: Int
LINEAR
val LINEAR: Int
LINEAR_MIPMAP_LINEAR
val LINEAR_MIPMAP_LINEAR: Int
LINEAR_MIPMAP_NEAREST
val LINEAR_MIPMAP_NEAREST: Int
LINES
val LINES: Int
LINK_STATUS
val LINK_STATUS: Int
LOW_FLOAT
val LOW_FLOAT: Int
LOW_INT
val LOW_INT: Int
LUMINANCE
val LUMINANCE: Int
LUMINANCE_ALPHA
val LUMINANCE_ALPHA: Int
MAX_COMBINED_TEXTURE_IMAGE_UNITS
val MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int
MAX_CUBE_MAP_TEXTURE_SIZE
val MAX_CUBE_MAP_TEXTURE_SIZE: Int
MAX_FRAGMENT_UNIFORM_VECTORS
val MAX_FRAGMENT_UNIFORM_VECTORS: Int
MAX_RENDERBUFFER_SIZE
val MAX_RENDERBUFFER_SIZE: Int
MAX_TEXTURE_IMAGE_UNITS
val MAX_TEXTURE_IMAGE_UNITS: Int
MAX_TEXTURE_SIZE
val MAX_TEXTURE_SIZE: Int
MAX_VARYING_VECTORS
val MAX_VARYING_VECTORS: Int
MAX_VERTEX_ATTRIBS
val MAX_VERTEX_ATTRIBS: Int
MAX_VERTEX_TEXTURE_IMAGE_UNITS
val MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int
MAX_VERTEX_UNIFORM_VECTORS
val MAX_VERTEX_UNIFORM_VECTORS: Int
MAX_VIEWPORT_DIMS
val MAX_VIEWPORT_DIMS: Int
MEDIUM_FLOAT
val MEDIUM_FLOAT: Int
MEDIUM_INT
val MEDIUM_INT: Int
MIRRORED_REPEAT
val MIRRORED_REPEAT: Int
NEAREST
val NEAREST: Int
NEAREST_MIPMAP_LINEAR
val NEAREST_MIPMAP_LINEAR: Int
NEAREST_MIPMAP_NEAREST
val NEAREST_MIPMAP_NEAREST: Int
NEVER
val NEVER: Int
NICEST
val NICEST: Int
NO_ERROR
val NO_ERROR: Int
NONE
val NONE: Int
NOTEQUAL
val NOTEQUAL: Int
ONE
val ONE: Int
ONE_MINUS_CONSTANT_ALPHA
val ONE_MINUS_CONSTANT_ALPHA: Int
ONE_MINUS_CONSTANT_COLOR
val ONE_MINUS_CONSTANT_COLOR: Int
ONE_MINUS_DST_ALPHA
val ONE_MINUS_DST_ALPHA: Int
ONE_MINUS_DST_COLOR
val ONE_MINUS_DST_COLOR: Int
ONE_MINUS_SRC_ALPHA
val ONE_MINUS_SRC_ALPHA: Int
ONE_MINUS_SRC_COLOR
val ONE_MINUS_SRC_COLOR: Int
OUT_OF_MEMORY
val OUT_OF_MEMORY: Int
PACK_ALIGNMENT
val PACK_ALIGNMENT: Int
POINTS
val POINTS: Int
POLYGON_OFFSET_FACTOR
val POLYGON_OFFSET_FACTOR: Int
POLYGON_OFFSET_FILL
val POLYGON_OFFSET_FILL: Int
POLYGON_OFFSET_UNITS
val POLYGON_OFFSET_UNITS: Int
RED_BITS
val RED_BITS: Int
RENDERBUFFER
val RENDERBUFFER: Int
RENDERBUFFER_ALPHA_SIZE
val RENDERBUFFER_ALPHA_SIZE: Int
RENDERBUFFER_BINDING
val RENDERBUFFER_BINDING: Int
RENDERBUFFER_BLUE_SIZE
val RENDERBUFFER_BLUE_SIZE: Int
RENDERBUFFER_DEPTH_SIZE
val RENDERBUFFER_DEPTH_SIZE: Int
RENDERBUFFER_GREEN_SIZE
val RENDERBUFFER_GREEN_SIZE: Int
RENDERBUFFER_HEIGHT
val RENDERBUFFER_HEIGHT: Int
RENDERBUFFER_INTERNAL_FORMAT
val RENDERBUFFER_INTERNAL_FORMAT: Int
RENDERBUFFER_RED_SIZE
val RENDERBUFFER_RED_SIZE: Int
RENDERBUFFER_STENCIL_SIZE
val RENDERBUFFER_STENCIL_SIZE: Int
RENDERBUFFER_WIDTH
val RENDERBUFFER_WIDTH: Int
RENDERER
val RENDERER: Int
REPEAT
val REPEAT: Int
REPLACE
val REPLACE: Int
RGB
val RGB: Int
RGB565
val RGB565: Int
RGB5_A1
val RGB5_A1: Int
RGBA
val RGBA: Int
RGBA4
val RGBA4: Int
SAMPLE_ALPHA_TO_COVERAGE
val SAMPLE_ALPHA_TO_COVERAGE: Int
SAMPLE_BUFFERS
val SAMPLE_BUFFERS: Int
SAMPLE_COVERAGE
val SAMPLE_COVERAGE: Int
SAMPLE_COVERAGE_INVERT
val SAMPLE_COVERAGE_INVERT: Int
SAMPLE_COVERAGE_VALUE
val SAMPLE_COVERAGE_VALUE: Int
SAMPLER_2D
val SAMPLER_2D: Int
SAMPLER_CUBE
val SAMPLER_CUBE: Int
SAMPLES
val SAMPLES: Int
SCISSOR_BOX
val SCISSOR_BOX: Int
SCISSOR_TEST
val SCISSOR_TEST: Int
SHADER_TYPE
val SHADER_TYPE: Int
SHADING_LANGUAGE_VERSION
val SHADING_LANGUAGE_VERSION: Int
SHORT
val SHORT: Int
SRC_ALPHA
val SRC_ALPHA: Int
SRC_ALPHA_SATURATE
val SRC_ALPHA_SATURATE: Int
SRC_COLOR
val SRC_COLOR: Int
STATIC_DRAW
val STATIC_DRAW: Int
STENCIL_ATTACHMENT
val STENCIL_ATTACHMENT: Int
STENCIL_BACK_FAIL
val STENCIL_BACK_FAIL: Int
STENCIL_BACK_FUNC
val STENCIL_BACK_FUNC: Int
STENCIL_BACK_PASS_DEPTH_FAIL
val STENCIL_BACK_PASS_DEPTH_FAIL: Int
STENCIL_BACK_PASS_DEPTH_PASS
val STENCIL_BACK_PASS_DEPTH_PASS: Int
STENCIL_BACK_REF
val STENCIL_BACK_REF: Int
STENCIL_BACK_VALUE_MASK
val STENCIL_BACK_VALUE_MASK: Int
STENCIL_BACK_WRITEMASK
val STENCIL_BACK_WRITEMASK: Int
STENCIL_BITS
val STENCIL_BITS: Int
STENCIL_BUFFER_BIT
val STENCIL_BUFFER_BIT: Int
STENCIL_CLEAR_VALUE
val STENCIL_CLEAR_VALUE: Int
STENCIL_FAIL
val STENCIL_FAIL: Int
STENCIL_FUNC
val STENCIL_FUNC: Int
STENCIL_INDEX
val STENCIL_INDEX: Int
STENCIL_INDEX8
val STENCIL_INDEX8: Int
STENCIL_PASS_DEPTH_FAIL
val STENCIL_PASS_DEPTH_FAIL: Int
STENCIL_PASS_DEPTH_PASS
val STENCIL_PASS_DEPTH_PASS: Int
STENCIL_REF
val STENCIL_REF: Int
STENCIL_TEST
val STENCIL_TEST: Int
STENCIL_VALUE_MASK
val STENCIL_VALUE_MASK: Int
STENCIL_WRITEMASK
val STENCIL_WRITEMASK: Int
STREAM_DRAW
val STREAM_DRAW: Int
SUBPIXEL_BITS
val SUBPIXEL_BITS: Int
TEXTURE
val TEXTURE: Int
TEXTURE0
val TEXTURE0: Int
TEXTURE1
val TEXTURE1: Int
TEXTURE10
val TEXTURE10: Int
TEXTURE11
val TEXTURE11: Int
TEXTURE12
val TEXTURE12: Int
TEXTURE13
val TEXTURE13: Int
TEXTURE14
val TEXTURE14: Int
TEXTURE15
val TEXTURE15: Int
TEXTURE16
val TEXTURE16: Int
TEXTURE17
val TEXTURE17: Int
TEXTURE18
val TEXTURE18: Int
TEXTURE19
val TEXTURE19: Int
TEXTURE2
val TEXTURE2: Int
TEXTURE20
val TEXTURE20: Int
TEXTURE21
val TEXTURE21: Int
TEXTURE22
val TEXTURE22: Int
TEXTURE23
val TEXTURE23: Int
TEXTURE24
val TEXTURE24: Int
TEXTURE25
val TEXTURE25: Int
TEXTURE26
val TEXTURE26: Int
TEXTURE27
val TEXTURE27: Int
TEXTURE28
val TEXTURE28: Int
TEXTURE29
val TEXTURE29: Int
TEXTURE3
val TEXTURE3: Int
TEXTURE30
val TEXTURE30: Int
TEXTURE31
val TEXTURE31: Int
TEXTURE4
val TEXTURE4: Int
TEXTURE5
val TEXTURE5: Int
TEXTURE6
val TEXTURE6: Int
TEXTURE7
val TEXTURE7: Int
TEXTURE8
val TEXTURE8: Int
TEXTURE9
val TEXTURE9: Int
TEXTURE_2D
val TEXTURE_2D: Int
TEXTURE_BINDING_2D
val TEXTURE_BINDING_2D: Int
TEXTURE_BINDING_CUBE_MAP
val TEXTURE_BINDING_CUBE_MAP: Int
TEXTURE_CUBE_MAP
val TEXTURE_CUBE_MAP: Int
TEXTURE_CUBE_MAP_NEGATIVE_X
val TEXTURE_CUBE_MAP_NEGATIVE_X: Int
TEXTURE_CUBE_MAP_NEGATIVE_Y
val TEXTURE_CUBE_MAP_NEGATIVE_Y: Int
TEXTURE_CUBE_MAP_NEGATIVE_Z
val TEXTURE_CUBE_MAP_NEGATIVE_Z: Int
TEXTURE_CUBE_MAP_POSITIVE_X
val TEXTURE_CUBE_MAP_POSITIVE_X: Int
TEXTURE_CUBE_MAP_POSITIVE_Y
val TEXTURE_CUBE_MAP_POSITIVE_Y: Int
TEXTURE_CUBE_MAP_POSITIVE_Z
val TEXTURE_CUBE_MAP_POSITIVE_Z: Int
TEXTURE_MAG_FILTER
val TEXTURE_MAG_FILTER: Int
TEXTURE_MIN_FILTER
val TEXTURE_MIN_FILTER: Int
TEXTURE_WRAP_S
val TEXTURE_WRAP_S: Int
TEXTURE_WRAP_T
val TEXTURE_WRAP_T: Int
TRIANGLE_FAN
val TRIANGLE_FAN: Int
TRIANGLE_STRIP
val TRIANGLE_STRIP: Int
TRIANGLES
val TRIANGLES: Int
UNPACK_ALIGNMENT
val UNPACK_ALIGNMENT: Int
UNPACK_COLORSPACE_CONVERSION_WEBGL
val UNPACK_COLORSPACE_CONVERSION_WEBGL: Int
UNPACK_FLIP_Y_WEBGL
val UNPACK_FLIP_Y_WEBGL: Int
UNPACK_PREMULTIPLY_ALPHA_WEBGL
val UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int
UNSIGNED_BYTE
val UNSIGNED_BYTE: Int
UNSIGNED_INT
val UNSIGNED_INT: Int
UNSIGNED_SHORT
val UNSIGNED_SHORT: Int
UNSIGNED_SHORT_4_4_4_4
val UNSIGNED_SHORT_4_4_4_4: Int
UNSIGNED_SHORT_5_5_5_1
val UNSIGNED_SHORT_5_5_5_1: Int
UNSIGNED_SHORT_5_6_5
val UNSIGNED_SHORT_5_6_5: Int
VALIDATE_STATUS
val VALIDATE_STATUS: Int
VENDOR
val VENDOR: Int
VERSION
val VERSION: Int
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
val VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int
VERTEX_ATTRIB_ARRAY_ENABLED
val VERTEX_ATTRIB_ARRAY_ENABLED: Int
VERTEX_ATTRIB_ARRAY_NORMALIZED
val VERTEX_ATTRIB_ARRAY_NORMALIZED: Int
VERTEX_ATTRIB_ARRAY_POINTER
val VERTEX_ATTRIB_ARRAY_POINTER: Int
VERTEX_ATTRIB_ARRAY_SIZE
val VERTEX_ATTRIB_ARRAY_SIZE: Int
VERTEX_ATTRIB_ARRAY_STRIDE
val VERTEX_ATTRIB_ARRAY_STRIDE: Int
VERTEX_ATTRIB_ARRAY_TYPE
val VERTEX_ATTRIB_ARRAY_TYPE: Int
VERTEX_SHADER
val VERTEX_SHADER: Int
VIEWPORT
val VIEWPORT: Int
ZERO
val ZERO: Int
Inheritors
WebGLRenderingContext
Exposes the JavaScript WebGLRenderingContext to Kotlin
abstract class WebGLRenderingContext :
WebGLRenderingContextBase,
RenderingContext