WebGLRenderingContext
Constructors
<init>
Exposes the JavaScript WebGLRenderingContext to Kotlin
WebGLRenderingContext()
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