Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebGLContext

Hierarchy

Index

Properties

Methods

Properties

Readonly ACTIVE_ATTRIBUTES

ACTIVE_ATTRIBUTES: number

Readonly ACTIVE_TEXTURE

ACTIVE_TEXTURE: number

Readonly ACTIVE_UNIFORMS

ACTIVE_UNIFORMS: number

Readonly ALIASED_LINE_WIDTH_RANGE

ALIASED_LINE_WIDTH_RANGE: number

Readonly ALIASED_POINT_SIZE_RANGE

ALIASED_POINT_SIZE_RANGE: number

Readonly ALPHA

ALPHA: number

Readonly ALPHA_BITS

ALPHA_BITS: number

Readonly ALWAYS

ALWAYS: number

Readonly ARRAY_BUFFER

ARRAY_BUFFER: number

Readonly ARRAY_BUFFER_BINDING

ARRAY_BUFFER_BINDING: number

Readonly ATTACHED_SHADERS

ATTACHED_SHADERS: number

Readonly BACK

BACK: number

Readonly BLEND

BLEND: number

Readonly BLEND_COLOR

BLEND_COLOR: number

Readonly BLEND_DST_ALPHA

BLEND_DST_ALPHA: number

Readonly BLEND_DST_RGB

BLEND_DST_RGB: number

Readonly BLEND_EQUATION

BLEND_EQUATION: number

Readonly BLEND_EQUATION_ALPHA

BLEND_EQUATION_ALPHA: number

Readonly BLEND_EQUATION_RGB

BLEND_EQUATION_RGB: number

Readonly BLEND_SRC_ALPHA

BLEND_SRC_ALPHA: number

Readonly BLEND_SRC_RGB

BLEND_SRC_RGB: number

Readonly BLUE_BITS

BLUE_BITS: number

Readonly BOOL

BOOL: number

Readonly BOOL_VEC2

BOOL_VEC2: number

Readonly BOOL_VEC3

BOOL_VEC3: number

Readonly BOOL_VEC4

BOOL_VEC4: number

Readonly BROWSER_DEFAULT_WEBGL

BROWSER_DEFAULT_WEBGL: number

Readonly BUFFER_SIZE

BUFFER_SIZE: number

Readonly BUFFER_USAGE

BUFFER_USAGE: number

Readonly BYTE

BYTE: number

Readonly CCW

CCW: number

Readonly CLAMP_TO_EDGE

CLAMP_TO_EDGE: number

Readonly COLOR_ATTACHMENT0

COLOR_ATTACHMENT0: number

Readonly COLOR_BUFFER_BIT

COLOR_BUFFER_BIT: number

Readonly COLOR_CLEAR_VALUE

COLOR_CLEAR_VALUE: number

Readonly COLOR_WRITEMASK

COLOR_WRITEMASK: number

Readonly COMPILE_STATUS

COMPILE_STATUS: number

Readonly COMPRESSED_TEXTURE_FORMATS

COMPRESSED_TEXTURE_FORMATS: number

Readonly CONSTANT_ALPHA

CONSTANT_ALPHA: number

Readonly CONSTANT_COLOR

CONSTANT_COLOR: number

Readonly CONTEXT_LOST_WEBGL

CONTEXT_LOST_WEBGL: number

Readonly CULL_FACE

CULL_FACE: number

Readonly CULL_FACE_MODE

CULL_FACE_MODE: number

Readonly CURRENT_PROGRAM

CURRENT_PROGRAM: number

Readonly CURRENT_VERTEX_ATTRIB

CURRENT_VERTEX_ATTRIB: number

Readonly CW

CW: number

Readonly DECR

DECR: number

Readonly DECR_WRAP

DECR_WRAP: number

Readonly DELETE_STATUS

DELETE_STATUS: number

Readonly DEPTH_ATTACHMENT

DEPTH_ATTACHMENT: number

Readonly DEPTH_BITS

DEPTH_BITS: number

Readonly DEPTH_BUFFER_BIT

DEPTH_BUFFER_BIT: number

Readonly DEPTH_CLEAR_VALUE

DEPTH_CLEAR_VALUE: number

Readonly DEPTH_COMPONENT

DEPTH_COMPONENT: number

Readonly DEPTH_COMPONENT16

DEPTH_COMPONENT16: number

Readonly DEPTH_FUNC

DEPTH_FUNC: number

Readonly DEPTH_RANGE

DEPTH_RANGE: number

Readonly DEPTH_STENCIL

DEPTH_STENCIL: number

Readonly DEPTH_STENCIL_ATTACHMENT

DEPTH_STENCIL_ATTACHMENT: number

Readonly DEPTH_TEST

DEPTH_TEST: number

Readonly DEPTH_WRITEMASK

DEPTH_WRITEMASK: number

Readonly DITHER

DITHER: number

Readonly DONT_CARE

DONT_CARE: number

Readonly DST_ALPHA

DST_ALPHA: number

Readonly DST_COLOR

DST_COLOR: number

Readonly DYNAMIC_DRAW

DYNAMIC_DRAW: number

Readonly ELEMENT_ARRAY_BUFFER

ELEMENT_ARRAY_BUFFER: number

Readonly ELEMENT_ARRAY_BUFFER_BINDING

ELEMENT_ARRAY_BUFFER_BINDING: number

Readonly EQUAL

EQUAL: number

Readonly FASTEST

FASTEST: number

Readonly FLOAT

FLOAT: number

Readonly FLOAT_MAT2

FLOAT_MAT2: number

Readonly FLOAT_MAT3

FLOAT_MAT3: number

Readonly FLOAT_MAT4

FLOAT_MAT4: number

Readonly FLOAT_VEC2

FLOAT_VEC2: number

Readonly FLOAT_VEC3

FLOAT_VEC3: number

Readonly FLOAT_VEC4

FLOAT_VEC4: number

Readonly FRAGMENT_SHADER

FRAGMENT_SHADER: number

Readonly FRAMEBUFFER

FRAMEBUFFER: number

Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number

Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number

Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number

Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number

Readonly FRAMEBUFFER_BINDING

FRAMEBUFFER_BINDING: number

Readonly FRAMEBUFFER_COMPLETE

FRAMEBUFFER_COMPLETE: number

Readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT

FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number

Readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS

FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number

Readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number

Readonly FRAMEBUFFER_UNSUPPORTED

FRAMEBUFFER_UNSUPPORTED: number

Readonly FRONT

FRONT: number

Readonly FRONT_AND_BACK

FRONT_AND_BACK: number

Readonly FRONT_FACE

FRONT_FACE: number

Readonly FUNC_ADD

FUNC_ADD: number

Readonly FUNC_REVERSE_SUBTRACT

FUNC_REVERSE_SUBTRACT: number

Readonly FUNC_SUBTRACT

FUNC_SUBTRACT: number

Readonly GENERATE_MIPMAP_HINT

GENERATE_MIPMAP_HINT: number

Readonly GEQUAL

GEQUAL: number

Readonly GREATER

GREATER: number

Readonly GREEN_BITS

GREEN_BITS: number

Readonly HIGH_FLOAT

HIGH_FLOAT: number

Readonly HIGH_INT

HIGH_INT: number

Readonly IMPLEMENTATION_COLOR_READ_FORMAT

IMPLEMENTATION_COLOR_READ_FORMAT: number

Readonly IMPLEMENTATION_COLOR_READ_TYPE

IMPLEMENTATION_COLOR_READ_TYPE: number

Readonly INCR

INCR: number

Readonly INCR_WRAP

INCR_WRAP: number

Readonly INT

INT: number

Readonly INT_VEC2

INT_VEC2: number

Readonly INT_VEC3

INT_VEC3: number

Readonly INT_VEC4

INT_VEC4: number

Readonly INVALID_ENUM

INVALID_ENUM: number

Readonly INVALID_FRAMEBUFFER_OPERATION

INVALID_FRAMEBUFFER_OPERATION: number

Readonly INVALID_OPERATION

INVALID_OPERATION: number

Readonly INVALID_VALUE

INVALID_VALUE: number

Readonly INVERT

INVERT: number

Readonly KEEP

KEEP: number

Readonly LEQUAL

LEQUAL: number

Readonly LESS

LESS: number

Readonly LINEAR

LINEAR: number

Readonly LINEAR_MIPMAP_LINEAR

LINEAR_MIPMAP_LINEAR: number

Readonly LINEAR_MIPMAP_NEAREST

LINEAR_MIPMAP_NEAREST: number

Readonly LINES

LINES: number

Readonly LINE_LOOP

LINE_LOOP: number

Readonly LINE_STRIP

LINE_STRIP: number

Readonly LINE_WIDTH

LINE_WIDTH: number

Readonly LINK_STATUS

LINK_STATUS: number

Readonly LOW_FLOAT

LOW_FLOAT: number

Readonly LOW_INT

LOW_INT: number

Readonly LUMINANCE

LUMINANCE: number

Readonly LUMINANCE_ALPHA

LUMINANCE_ALPHA: number

Readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS

MAX_COMBINED_TEXTURE_IMAGE_UNITS: number

Readonly MAX_CUBE_MAP_TEXTURE_SIZE

MAX_CUBE_MAP_TEXTURE_SIZE: number

Readonly MAX_FRAGMENT_UNIFORM_VECTORS

MAX_FRAGMENT_UNIFORM_VECTORS: number

Readonly MAX_RENDERBUFFER_SIZE

MAX_RENDERBUFFER_SIZE: number

Readonly MAX_TEXTURE_IMAGE_UNITS

MAX_TEXTURE_IMAGE_UNITS: number

Readonly MAX_TEXTURE_SIZE

MAX_TEXTURE_SIZE: number

Readonly MAX_VARYING_VECTORS

MAX_VARYING_VECTORS: number

Readonly MAX_VERTEX_ATTRIBS

MAX_VERTEX_ATTRIBS: number

Readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS

MAX_VERTEX_TEXTURE_IMAGE_UNITS: number

Readonly MAX_VERTEX_UNIFORM_VECTORS

MAX_VERTEX_UNIFORM_VECTORS: number

Readonly MAX_VIEWPORT_DIMS

MAX_VIEWPORT_DIMS: number

Readonly MEDIUM_FLOAT

MEDIUM_FLOAT: number

Readonly MEDIUM_INT

MEDIUM_INT: number

Readonly MIRRORED_REPEAT

MIRRORED_REPEAT: number

Readonly NEAREST

NEAREST: number

Readonly NEAREST_MIPMAP_LINEAR

NEAREST_MIPMAP_LINEAR: number

Readonly NEAREST_MIPMAP_NEAREST

NEAREST_MIPMAP_NEAREST: number

Readonly NEVER

NEVER: number

Readonly NICEST

NICEST: number

Readonly NONE

NONE: number

Readonly NOTEQUAL

NOTEQUAL: number

Readonly NO_ERROR

NO_ERROR: number

Readonly ONE

ONE: number

Readonly ONE_MINUS_CONSTANT_ALPHA

ONE_MINUS_CONSTANT_ALPHA: number

Readonly ONE_MINUS_CONSTANT_COLOR

ONE_MINUS_CONSTANT_COLOR: number

Readonly ONE_MINUS_DST_ALPHA

ONE_MINUS_DST_ALPHA: number

Readonly ONE_MINUS_DST_COLOR

ONE_MINUS_DST_COLOR: number

Readonly ONE_MINUS_SRC_ALPHA

ONE_MINUS_SRC_ALPHA: number

Readonly ONE_MINUS_SRC_COLOR

ONE_MINUS_SRC_COLOR: number

Readonly OUT_OF_MEMORY

OUT_OF_MEMORY: number

Readonly PACK_ALIGNMENT

PACK_ALIGNMENT: number

Readonly POINTS

POINTS: number

Readonly POLYGON_OFFSET_FACTOR

POLYGON_OFFSET_FACTOR: number

Readonly POLYGON_OFFSET_FILL

POLYGON_OFFSET_FILL: number

Readonly POLYGON_OFFSET_UNITS

POLYGON_OFFSET_UNITS: number

Readonly RED_BITS

RED_BITS: number

Readonly RENDERBUFFER

RENDERBUFFER: number

Readonly RENDERBUFFER_ALPHA_SIZE

RENDERBUFFER_ALPHA_SIZE: number

Readonly RENDERBUFFER_BINDING

RENDERBUFFER_BINDING: number

Readonly RENDERBUFFER_BLUE_SIZE

RENDERBUFFER_BLUE_SIZE: number

Readonly RENDERBUFFER_DEPTH_SIZE

RENDERBUFFER_DEPTH_SIZE: number

Readonly RENDERBUFFER_GREEN_SIZE

RENDERBUFFER_GREEN_SIZE: number

Readonly RENDERBUFFER_HEIGHT

RENDERBUFFER_HEIGHT: number

Readonly RENDERBUFFER_INTERNAL_FORMAT

RENDERBUFFER_INTERNAL_FORMAT: number

Readonly RENDERBUFFER_RED_SIZE

RENDERBUFFER_RED_SIZE: number

Readonly RENDERBUFFER_STENCIL_SIZE

RENDERBUFFER_STENCIL_SIZE: number

Readonly RENDERBUFFER_WIDTH

RENDERBUFFER_WIDTH: number

Readonly RENDERER

RENDERER: number

Readonly REPEAT

REPEAT: number

Readonly REPLACE

REPLACE: number

Readonly RGB

RGB: number

Readonly RGB565

RGB565: number

Readonly RGB5_A1

RGB5_A1: number

Readonly RGBA

RGBA: number

Readonly RGBA4

RGBA4: number

Readonly SAMPLER_2D

SAMPLER_2D: number

Readonly SAMPLER_CUBE

SAMPLER_CUBE: number

Readonly SAMPLES

SAMPLES: number

Readonly SAMPLE_ALPHA_TO_COVERAGE

SAMPLE_ALPHA_TO_COVERAGE: number

Readonly SAMPLE_BUFFERS

SAMPLE_BUFFERS: number

Readonly SAMPLE_COVERAGE

SAMPLE_COVERAGE: number

Readonly SAMPLE_COVERAGE_INVERT

SAMPLE_COVERAGE_INVERT: number

Readonly SAMPLE_COVERAGE_VALUE

SAMPLE_COVERAGE_VALUE: number

Readonly SCISSOR_BOX

SCISSOR_BOX: number

Readonly SCISSOR_TEST

SCISSOR_TEST: number

Readonly SHADER_TYPE

SHADER_TYPE: number

Readonly SHADING_LANGUAGE_VERSION

SHADING_LANGUAGE_VERSION: number

Readonly SHORT

SHORT: number

Readonly SRC_ALPHA

SRC_ALPHA: number

Readonly SRC_ALPHA_SATURATE

SRC_ALPHA_SATURATE: number

Readonly SRC_COLOR

SRC_COLOR: number

Readonly STATIC_DRAW

STATIC_DRAW: number

Readonly STENCIL_ATTACHMENT

STENCIL_ATTACHMENT: number

Readonly STENCIL_BACK_FAIL

STENCIL_BACK_FAIL: number

Readonly STENCIL_BACK_FUNC

STENCIL_BACK_FUNC: number

Readonly STENCIL_BACK_PASS_DEPTH_FAIL

STENCIL_BACK_PASS_DEPTH_FAIL: number

Readonly STENCIL_BACK_PASS_DEPTH_PASS

STENCIL_BACK_PASS_DEPTH_PASS: number

Readonly STENCIL_BACK_REF

STENCIL_BACK_REF: number

Readonly STENCIL_BACK_VALUE_MASK

STENCIL_BACK_VALUE_MASK: number

Readonly STENCIL_BACK_WRITEMASK

STENCIL_BACK_WRITEMASK: number

Readonly STENCIL_BITS

STENCIL_BITS: number

Readonly STENCIL_BUFFER_BIT

STENCIL_BUFFER_BIT: number

Readonly STENCIL_CLEAR_VALUE

STENCIL_CLEAR_VALUE: number

Readonly STENCIL_FAIL

STENCIL_FAIL: number

Readonly STENCIL_FUNC

STENCIL_FUNC: number

Readonly STENCIL_INDEX8

STENCIL_INDEX8: number

Readonly STENCIL_PASS_DEPTH_FAIL

STENCIL_PASS_DEPTH_FAIL: number

Readonly STENCIL_PASS_DEPTH_PASS

STENCIL_PASS_DEPTH_PASS: number

Readonly STENCIL_REF

STENCIL_REF: number

Readonly STENCIL_TEST

STENCIL_TEST: number

Readonly STENCIL_VALUE_MASK

STENCIL_VALUE_MASK: number

Readonly STENCIL_WRITEMASK

STENCIL_WRITEMASK: number

Readonly STREAM_DRAW

STREAM_DRAW: number

Readonly SUBPIXEL_BITS

SUBPIXEL_BITS: number

Readonly TEXTURE

TEXTURE: number

Readonly TEXTURE0

TEXTURE0: number

Readonly TEXTURE1

TEXTURE1: number

Readonly TEXTURE10

TEXTURE10: number

Readonly TEXTURE11

TEXTURE11: number

Readonly TEXTURE12

TEXTURE12: number

Readonly TEXTURE13

TEXTURE13: number

Readonly TEXTURE14

TEXTURE14: number

Readonly TEXTURE15

TEXTURE15: number

Readonly TEXTURE16

TEXTURE16: number

Readonly TEXTURE17

TEXTURE17: number

Readonly TEXTURE18

TEXTURE18: number

Readonly TEXTURE19

TEXTURE19: number

Readonly TEXTURE2

TEXTURE2: number

Readonly TEXTURE20

TEXTURE20: number

Readonly TEXTURE21

TEXTURE21: number

Readonly TEXTURE22

TEXTURE22: number

Readonly TEXTURE23

TEXTURE23: number

Readonly TEXTURE24

TEXTURE24: number

Readonly TEXTURE25

TEXTURE25: number

Readonly TEXTURE26

TEXTURE26: number

Readonly TEXTURE27

TEXTURE27: number

Readonly TEXTURE28

TEXTURE28: number

Readonly TEXTURE29

TEXTURE29: number

Readonly TEXTURE3

TEXTURE3: number

Readonly TEXTURE30

TEXTURE30: number

Readonly TEXTURE31

TEXTURE31: number

Readonly TEXTURE4

TEXTURE4: number

Readonly TEXTURE5

TEXTURE5: number

Readonly TEXTURE6

TEXTURE6: number

Readonly TEXTURE7

TEXTURE7: number

Readonly TEXTURE8

TEXTURE8: number

Readonly TEXTURE9

TEXTURE9: number

Readonly TEXTURE_2D

TEXTURE_2D: number

Readonly TEXTURE_BINDING_2D

TEXTURE_BINDING_2D: number

Readonly TEXTURE_BINDING_CUBE_MAP

TEXTURE_BINDING_CUBE_MAP: number

Readonly TEXTURE_CUBE_MAP

TEXTURE_CUBE_MAP: number

Readonly TEXTURE_CUBE_MAP_NEGATIVE_X

TEXTURE_CUBE_MAP_NEGATIVE_X: number

Readonly TEXTURE_CUBE_MAP_NEGATIVE_Y

TEXTURE_CUBE_MAP_NEGATIVE_Y: number

Readonly TEXTURE_CUBE_MAP_NEGATIVE_Z

TEXTURE_CUBE_MAP_NEGATIVE_Z: number

Readonly TEXTURE_CUBE_MAP_POSITIVE_X

TEXTURE_CUBE_MAP_POSITIVE_X: number

Readonly TEXTURE_CUBE_MAP_POSITIVE_Y

TEXTURE_CUBE_MAP_POSITIVE_Y: number

Readonly TEXTURE_CUBE_MAP_POSITIVE_Z

TEXTURE_CUBE_MAP_POSITIVE_Z: number

Readonly TEXTURE_MAG_FILTER

TEXTURE_MAG_FILTER: number

Readonly TEXTURE_MIN_FILTER

TEXTURE_MIN_FILTER: number

Readonly TEXTURE_WRAP_S

TEXTURE_WRAP_S: number

Readonly TEXTURE_WRAP_T

TEXTURE_WRAP_T: number

Readonly TRIANGLES

TRIANGLES: number

Readonly TRIANGLE_FAN

TRIANGLE_FAN: number

Readonly TRIANGLE_STRIP

TRIANGLE_STRIP: number

Readonly UNPACK_ALIGNMENT

UNPACK_ALIGNMENT: number

Readonly UNPACK_COLORSPACE_CONVERSION_WEBGL

UNPACK_COLORSPACE_CONVERSION_WEBGL: number

Readonly UNPACK_FLIP_Y_WEBGL

UNPACK_FLIP_Y_WEBGL: number

Readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL

UNPACK_PREMULTIPLY_ALPHA_WEBGL: number

Readonly UNSIGNED_BYTE

UNSIGNED_BYTE: number

Readonly UNSIGNED_INT

UNSIGNED_INT: number

Readonly UNSIGNED_SHORT

UNSIGNED_SHORT: number

Readonly UNSIGNED_SHORT_4_4_4_4

UNSIGNED_SHORT_4_4_4_4: number

Readonly UNSIGNED_SHORT_5_5_5_1

UNSIGNED_SHORT_5_5_5_1: number

Readonly UNSIGNED_SHORT_5_6_5

UNSIGNED_SHORT_5_6_5: number

Readonly VALIDATE_STATUS

VALIDATE_STATUS: number

Readonly VENDOR

VENDOR: number

Readonly VERSION

VERSION: number

Readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number

Readonly VERTEX_ATTRIB_ARRAY_ENABLED

VERTEX_ATTRIB_ARRAY_ENABLED: number

Readonly VERTEX_ATTRIB_ARRAY_NORMALIZED

VERTEX_ATTRIB_ARRAY_NORMALIZED: number

Readonly VERTEX_ATTRIB_ARRAY_POINTER

VERTEX_ATTRIB_ARRAY_POINTER: number

Readonly VERTEX_ATTRIB_ARRAY_SIZE

VERTEX_ATTRIB_ARRAY_SIZE: number

Readonly VERTEX_ATTRIB_ARRAY_STRIDE

VERTEX_ATTRIB_ARRAY_STRIDE: number

Readonly VERTEX_ATTRIB_ARRAY_TYPE

VERTEX_ATTRIB_ARRAY_TYPE: number

Readonly VERTEX_SHADER

VERTEX_SHADER: number

Readonly VIEWPORT

VIEWPORT: number

Readonly ZERO

ZERO: number

Readonly canvas

canvas: HTMLCanvasElement | OffscreenCanvas

Readonly drawingBufferHeight

drawingBufferHeight: number

Readonly drawingBufferWidth

drawingBufferWidth: number

Methods

activeTexture

  • activeTexture(texture: number): void
  • Parameters

    • texture: number

    Returns void

attachShader

  • attachShader(program: WebGLProgram, shader: WebGLShader): void
  • Parameters

    • program: WebGLProgram
    • shader: WebGLShader

    Returns void

bindAttribLocation

  • bindAttribLocation(program: WebGLProgram, index: number, name: string): void
  • Parameters

    • program: WebGLProgram
    • index: number
    • name: string

    Returns void

bindBuffer

  • bindBuffer(target: number, buffer: null | WebGLBuffer): void
  • Parameters

    • target: number
    • buffer: null | WebGLBuffer

    Returns void

bindFramebuffer

  • bindFramebuffer(target: number, framebuffer: null | WebGLFramebuffer): void
  • Parameters

    • target: number
    • framebuffer: null | WebGLFramebuffer

    Returns void

bindRenderbuffer

  • bindRenderbuffer(target: number, renderbuffer: null | WebGLRenderbuffer): void
  • Parameters

    • target: number
    • renderbuffer: null | WebGLRenderbuffer

    Returns void

bindTexture

  • bindTexture(target: number, texture: null | WebGLTexture): void
  • Parameters

    • target: number
    • texture: null | WebGLTexture

    Returns void

blendColor

  • blendColor(red: number, green: number, blue: number, alpha: number): void
  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

blendEquation

  • blendEquation(mode: number): void
  • Parameters

    • mode: number

    Returns void

blendEquationSeparate

  • blendEquationSeparate(modeRGB: number, modeAlpha: number): void
  • Parameters

    • modeRGB: number
    • modeAlpha: number

    Returns void

blendFunc

  • blendFunc(sfactor: number, dfactor: number): void
  • Parameters

    • sfactor: number
    • dfactor: number

    Returns void

blendFuncSeparate

  • blendFuncSeparate(srcRGB: number, dstRGB: number, srcAlpha: number, dstAlpha: number): void
  • Parameters

    • srcRGB: number
    • dstRGB: number
    • srcAlpha: number
    • dstAlpha: number

    Returns void

bufferData

  • bufferData(target: number, size: number, usage: number): void
  • bufferData(target: number, data: null | BufferSource, usage: number): void
  • Parameters

    • target: number
    • size: number
    • usage: number

    Returns void

  • Parameters

    • target: number
    • data: null | BufferSource
    • usage: number

    Returns void

bufferSubData

  • bufferSubData(target: number, offset: number, data: BufferSource): void
  • Parameters

    • target: number
    • offset: number
    • data: BufferSource

    Returns void

checkFramebufferStatus

  • checkFramebufferStatus(target: number): number
  • Parameters

    • target: number

    Returns number

clear

  • clear(mask: number): void
  • Parameters

    • mask: number

    Returns void

clearColor

  • clearColor(red: number, green: number, blue: number, alpha: number): void
  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

clearDepth

  • clearDepth(depth: number): void
  • Parameters

    • depth: number

    Returns void

clearStencil

  • clearStencil(s: number): void
  • Parameters

    • s: number

    Returns void

colorMask

  • colorMask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void
  • Parameters

    • red: boolean
    • green: boolean
    • blue: boolean
    • alpha: boolean

    Returns void

compileShader

  • compileShader(shader: WebGLShader): void
  • Parameters

    • shader: WebGLShader

    Returns void

compressedTexImage2D

  • compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • data: ArrayBufferView

    Returns void

compressedTexSubImage2D

  • compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • data: ArrayBufferView

    Returns void

copyTexImage2D

  • copyTexImage2D(target: number, level: number, internalformat: number, x: number, y: number, width: number, height: number, border: number): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • x: number
    • y: number
    • width: number
    • height: number
    • border: number

    Returns void

copyTexSubImage2D

  • copyTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, x: number, y: number, width: number, height: number): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

createBuffer

  • createBuffer(): null | WebGLBuffer
  • Returns null | WebGLBuffer

createFramebuffer

  • createFramebuffer(): null | WebGLFramebuffer
  • Returns null | WebGLFramebuffer

createProgram

  • createProgram(): null | WebGLProgram
  • Returns null | WebGLProgram

createRenderbuffer

  • createRenderbuffer(): null | WebGLRenderbuffer
  • Returns null | WebGLRenderbuffer

createShader

  • createShader(type: number): null | WebGLShader
  • Parameters

    • type: number

    Returns null | WebGLShader

createTexture

  • createTexture(): null | WebGLTexture
  • Returns null | WebGLTexture

cullFace

  • cullFace(mode: number): void
  • Parameters

    • mode: number

    Returns void

deleteBuffer

  • deleteBuffer(buffer: null | WebGLBuffer): void
  • Parameters

    • buffer: null | WebGLBuffer

    Returns void

deleteFramebuffer

  • deleteFramebuffer(framebuffer: null | WebGLFramebuffer): void
  • Parameters

    • framebuffer: null | WebGLFramebuffer

    Returns void

deleteProgram

  • deleteProgram(program: null | WebGLProgram): void
  • Parameters

    • program: null | WebGLProgram

    Returns void

deleteRenderbuffer

  • deleteRenderbuffer(renderbuffer: null | WebGLRenderbuffer): void
  • Parameters

    • renderbuffer: null | WebGLRenderbuffer

    Returns void

deleteShader

  • deleteShader(shader: null | WebGLShader): void
  • Parameters

    • shader: null | WebGLShader

    Returns void

deleteTexture

  • deleteTexture(texture: null | WebGLTexture): void
  • Parameters

    • texture: null | WebGLTexture

    Returns void

depthFunc

  • depthFunc(func: number): void
  • Parameters

    • func: number

    Returns void

depthMask

  • depthMask(flag: boolean): void
  • Parameters

    • flag: boolean

    Returns void

depthRange

  • depthRange(zNear: number, zFar: number): void
  • Parameters

    • zNear: number
    • zFar: number

    Returns void

detachShader

  • detachShader(program: WebGLProgram, shader: WebGLShader): void
  • Parameters

    • program: WebGLProgram
    • shader: WebGLShader

    Returns void

disable

  • disable(cap: number): void
  • Parameters

    • cap: number

    Returns void

disableVertexAttribArray

  • disableVertexAttribArray(index: number): void
  • Parameters

    • index: number

    Returns void

drawArrays

  • drawArrays(mode: number, first: number, count: number): void
  • Parameters

    • mode: number
    • first: number
    • count: number

    Returns void

drawElements

  • drawElements(mode: number, count: number, type: number, offset: number): void
  • Parameters

    • mode: number
    • count: number
    • type: number
    • offset: number

    Returns void

enable

  • enable(cap: number): void
  • Parameters

    • cap: number

    Returns void

enableVertexAttribArray

  • enableVertexAttribArray(index: number): void
  • Parameters

    • index: number

    Returns void

finish

  • finish(): void
  • Returns void

flush

  • flush(): void
  • Returns void

framebufferRenderbuffer

  • framebufferRenderbuffer(target: number, attachment: number, renderbuffertarget: number, renderbuffer: null | WebGLRenderbuffer): void
  • Parameters

    • target: number
    • attachment: number
    • renderbuffertarget: number
    • renderbuffer: null | WebGLRenderbuffer

    Returns void

framebufferTexture2D

  • framebufferTexture2D(target: number, attachment: number, textarget: number, texture: null | WebGLTexture, level: number): void
  • Parameters

    • target: number
    • attachment: number
    • textarget: number
    • texture: null | WebGLTexture
    • level: number

    Returns void

frontFace

  • frontFace(mode: number): void
  • Parameters

    • mode: number

    Returns void

generateMipmap

  • generateMipmap(target: number): void
  • Parameters

    • target: number

    Returns void

getActiveAttrib

  • getActiveAttrib(program: WebGLProgram, index: number): null | WebGLActiveInfo
  • Parameters

    • program: WebGLProgram
    • index: number

    Returns null | WebGLActiveInfo

getActiveUniform

  • getActiveUniform(program: WebGLProgram, index: number): null | WebGLActiveInfo
  • Parameters

    • program: WebGLProgram
    • index: number

    Returns null | WebGLActiveInfo

getAttachedShaders

  • getAttachedShaders(program: WebGLProgram): null | WebGLShader[]
  • Parameters

    • program: WebGLProgram

    Returns null | WebGLShader[]

getAttribLocation

  • getAttribLocation(program: WebGLProgram, name: string): number
  • Parameters

    • program: WebGLProgram
    • name: string

    Returns number

getBufferParameter

  • getBufferParameter(target: number, pname: number): any
  • Parameters

    • target: number
    • pname: number

    Returns any

getContextAttributes

  • getContextAttributes(): null | WebGLContextAttributes
  • Returns null | WebGLContextAttributes

getError

  • getError(): number
  • Returns number

getExtension

  • getExtension(extensionName: "EXT_blend_minmax"): null | EXT_blend_minmax
  • getExtension(extensionName: "EXT_texture_filter_anisotropic"): null | EXT_texture_filter_anisotropic
  • getExtension(extensionName: "EXT_frag_depth"): null | EXT_frag_depth
  • getExtension(extensionName: "EXT_shader_texture_lod"): null | EXT_shader_texture_lod
  • getExtension(extensionName: "EXT_sRGB"): null | EXT_sRGB
  • getExtension(extensionName: "OES_vertex_array_object"): null | OES_vertex_array_object
  • getExtension(extensionName: "WEBGL_color_buffer_float"): null | WEBGL_color_buffer_float
  • getExtension(extensionName: "WEBGL_compressed_texture_astc"): null | WEBGL_compressed_texture_astc
  • getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): null | WEBGL_compressed_texture_s3tc_srgb
  • getExtension(extensionName: "WEBGL_debug_shaders"): null | WEBGL_debug_shaders
  • getExtension(extensionName: "WEBGL_draw_buffers"): null | WEBGL_draw_buffers
  • getExtension(extensionName: "WEBGL_lose_context"): null | WEBGL_lose_context
  • getExtension(extensionName: "WEBGL_depth_texture"): null | WEBGL_depth_texture
  • getExtension(extensionName: "WEBGL_debug_renderer_info"): null | WEBGL_debug_renderer_info
  • getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): null | WEBGL_compressed_texture_s3tc
  • getExtension(extensionName: "OES_texture_half_float_linear"): null | OES_texture_half_float_linear
  • getExtension(extensionName: "OES_texture_half_float"): null | OES_texture_half_float
  • getExtension(extensionName: "OES_texture_float_linear"): null | OES_texture_float_linear
  • getExtension(extensionName: "OES_texture_float"): null | OES_texture_float
  • getExtension(extensionName: "OES_standard_derivatives"): null | OES_standard_derivatives
  • getExtension(extensionName: "OES_element_index_uint"): null | OES_element_index_uint
  • getExtension(extensionName: "ANGLE_instanced_arrays"): null | ANGLE_instanced_arrays
  • getExtension(extensionName: string): any
  • Parameters

    • extensionName: "EXT_blend_minmax"

    Returns null | EXT_blend_minmax

  • Parameters

    • extensionName: "EXT_texture_filter_anisotropic"

    Returns null | EXT_texture_filter_anisotropic

  • Parameters

    • extensionName: "EXT_frag_depth"

    Returns null | EXT_frag_depth

  • Parameters

    • extensionName: "EXT_shader_texture_lod"

    Returns null | EXT_shader_texture_lod

  • Parameters

    • extensionName: "EXT_sRGB"

    Returns null | EXT_sRGB

  • Parameters

    • extensionName: "OES_vertex_array_object"

    Returns null | OES_vertex_array_object

  • Parameters

    • extensionName: "WEBGL_color_buffer_float"

    Returns null | WEBGL_color_buffer_float

  • Parameters

    • extensionName: "WEBGL_compressed_texture_astc"

    Returns null | WEBGL_compressed_texture_astc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc_srgb"

    Returns null | WEBGL_compressed_texture_s3tc_srgb

  • Parameters

    • extensionName: "WEBGL_debug_shaders"

    Returns null | WEBGL_debug_shaders

  • Parameters

    • extensionName: "WEBGL_draw_buffers"

    Returns null | WEBGL_draw_buffers

  • Parameters

    • extensionName: "WEBGL_lose_context"

    Returns null | WEBGL_lose_context

  • Parameters

    • extensionName: "WEBGL_depth_texture"

    Returns null | WEBGL_depth_texture

  • Parameters

    • extensionName: "WEBGL_debug_renderer_info"

    Returns null | WEBGL_debug_renderer_info

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc"

    Returns null | WEBGL_compressed_texture_s3tc

  • Parameters

    • extensionName: "OES_texture_half_float_linear"

    Returns null | OES_texture_half_float_linear

  • Parameters

    • extensionName: "OES_texture_half_float"

    Returns null | OES_texture_half_float

  • Parameters

    • extensionName: "OES_texture_float_linear"

    Returns null | OES_texture_float_linear

  • Parameters

    • extensionName: "OES_texture_float"

    Returns null | OES_texture_float

  • Parameters

    • extensionName: "OES_standard_derivatives"

    Returns null | OES_standard_derivatives

  • Parameters

    • extensionName: "OES_element_index_uint"

    Returns null | OES_element_index_uint

  • Parameters

    • extensionName: "ANGLE_instanced_arrays"

    Returns null | ANGLE_instanced_arrays

  • Parameters

    • extensionName: string

    Returns any

getFramebufferAttachmentParameter

  • getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any
  • Parameters

    • target: number
    • attachment: number
    • pname: number

    Returns any

getParameter

  • getParameter(pname: number): any
  • Parameters

    • pname: number

    Returns any

getProgramInfoLog

  • getProgramInfoLog(program: WebGLProgram): null | string
  • Parameters

    • program: WebGLProgram

    Returns null | string

getProgramParameter

  • getProgramParameter(program: WebGLProgram, pname: number): any
  • Parameters

    • program: WebGLProgram
    • pname: number

    Returns any

getRenderbufferParameter

  • getRenderbufferParameter(target: number, pname: number): any
  • Parameters

    • target: number
    • pname: number

    Returns any

getShaderInfoLog

  • getShaderInfoLog(shader: WebGLShader): null | string
  • Parameters

    • shader: WebGLShader

    Returns null | string

getShaderParameter

  • getShaderParameter(shader: WebGLShader, pname: number): any
  • Parameters

    • shader: WebGLShader
    • pname: number

    Returns any

getShaderPrecisionFormat

  • getShaderPrecisionFormat(shadertype: number, precisiontype: number): null | WebGLShaderPrecisionFormat
  • Parameters

    • shadertype: number
    • precisiontype: number

    Returns null | WebGLShaderPrecisionFormat

getShaderSource

  • getShaderSource(shader: WebGLShader): null | string
  • Parameters

    • shader: WebGLShader

    Returns null | string

getSupportedExtensions

  • getSupportedExtensions(): null | string[]
  • Returns null | string[]

getTexParameter

  • getTexParameter(target: number, pname: number): any
  • Parameters

    • target: number
    • pname: number

    Returns any

getUniform

  • getUniform(program: WebGLProgram, location: WebGLUniformLocation): any
  • Parameters

    • program: WebGLProgram
    • location: WebGLUniformLocation

    Returns any

getUniformLocation

  • getUniformLocation(program: WebGLProgram, name: string): null | WebGLUniformLocation
  • Parameters

    • program: WebGLProgram
    • name: string

    Returns null | WebGLUniformLocation

getVertexAttrib

  • getVertexAttrib(index: number, pname: number): any
  • Parameters

    • index: number
    • pname: number

    Returns any

getVertexAttribOffset

  • getVertexAttribOffset(index: number, pname: number): number
  • Parameters

    • index: number
    • pname: number

    Returns number

hint

  • hint(target: number, mode: number): void
  • Parameters

    • target: number
    • mode: number

    Returns void

isBuffer

  • isBuffer(buffer: null | WebGLBuffer): boolean
  • Parameters

    • buffer: null | WebGLBuffer

    Returns boolean

isContextLost

  • isContextLost(): boolean
  • Returns boolean

isEnabled

  • isEnabled(cap: number): boolean
  • Parameters

    • cap: number

    Returns boolean

isFramebuffer

  • isFramebuffer(framebuffer: null | WebGLFramebuffer): boolean
  • Parameters

    • framebuffer: null | WebGLFramebuffer

    Returns boolean

isProgram

  • isProgram(program: null | WebGLProgram): boolean
  • Parameters

    • program: null | WebGLProgram

    Returns boolean

isRenderbuffer

  • isRenderbuffer(renderbuffer: null | WebGLRenderbuffer): boolean
  • Parameters

    • renderbuffer: null | WebGLRenderbuffer

    Returns boolean

isShader

  • isShader(shader: null | WebGLShader): boolean
  • Parameters

    • shader: null | WebGLShader

    Returns boolean

isTexture

  • isTexture(texture: null | WebGLTexture): boolean
  • Parameters

    • texture: null | WebGLTexture

    Returns boolean

lineWidth

  • lineWidth(width: number): void
  • Parameters

    • width: number

    Returns void

linkProgram

  • linkProgram(program: WebGLProgram): void
  • Parameters

    • program: WebGLProgram

    Returns void

pixelStorei

  • pixelStorei(pname: number, param: number | boolean): void
  • Parameters

    • pname: number
    • param: number | boolean

    Returns void

polygonOffset

  • polygonOffset(factor: number, units: number): void
  • Parameters

    • factor: number
    • units: number

    Returns void

readPixels

  • readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: null | ArrayBufferView): void
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: null | ArrayBufferView

    Returns void

renderbufferStorage

  • renderbufferStorage(target: number, internalformat: number, width: number, height: number): void
  • Parameters

    • target: number
    • internalformat: number
    • width: number
    • height: number

    Returns void

sampleCoverage

  • sampleCoverage(value: number, invert: boolean): void
  • Parameters

    • value: number
    • invert: boolean

    Returns void

scissor

  • scissor(x: number, y: number, width: number, height: number): void
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

shaderSource

  • shaderSource(shader: WebGLShader, source: string): void
  • Parameters

    • shader: WebGLShader
    • source: string

    Returns void

stencilFunc

  • stencilFunc(func: number, ref: number, mask: number): void
  • Parameters

    • func: number
    • ref: number
    • mask: number

    Returns void

stencilFuncSeparate

  • stencilFuncSeparate(face: number, func: number, ref: number, mask: number): void
  • Parameters

    • face: number
    • func: number
    • ref: number
    • mask: number

    Returns void

stencilMask

  • stencilMask(mask: number): void
  • Parameters

    • mask: number

    Returns void

stencilMaskSeparate

  • stencilMaskSeparate(face: number, mask: number): void
  • Parameters

    • face: number
    • mask: number

    Returns void

stencilOp

  • stencilOp(fail: number, zfail: number, zpass: number): void
  • Parameters

    • fail: number
    • zfail: number
    • zpass: number

    Returns void

stencilOpSeparate

  • stencilOpSeparate(face: number, fail: number, zfail: number, zpass: number): void
  • Parameters

    • face: number
    • fail: number
    • zfail: number
    • zpass: number

    Returns void

texImage2D

  • texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: null | ArrayBufferView): void
  • texImage2D(target: number, level: number, internalformat: number, format: number, type: number, source: TexImageSource): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pixels: null | ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

texParameterf

  • texParameterf(target: number, pname: number, param: number): void
  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

texParameteri

  • texParameteri(target: number, pname: number, param: number): void
  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

texSubImage2D

  • texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: null | ArrayBufferView): void
  • texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, source: TexImageSource): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: null | ArrayBufferView

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

uniform1f

  • uniform1f(location: null | WebGLUniformLocation, x: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number

    Returns void

uniform1fv

  • uniform1fv(location: null | WebGLUniformLocation, v: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Float32List

    Returns void

uniform1i

  • uniform1i(location: null | WebGLUniformLocation, x: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number

    Returns void

uniform1iv

  • uniform1iv(location: null | WebGLUniformLocation, v: Int32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Int32List

    Returns void

uniform2f

  • uniform2f(location: null | WebGLUniformLocation, x: number, y: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number

    Returns void

uniform2fv

  • uniform2fv(location: null | WebGLUniformLocation, v: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Float32List

    Returns void

uniform2i

  • uniform2i(location: null | WebGLUniformLocation, x: number, y: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number

    Returns void

uniform2iv

  • uniform2iv(location: null | WebGLUniformLocation, v: Int32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Int32List

    Returns void

uniform3f

  • uniform3f(location: null | WebGLUniformLocation, x: number, y: number, z: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number
    • z: number

    Returns void

uniform3fv

  • uniform3fv(location: null | WebGLUniformLocation, v: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Float32List

    Returns void

uniform3i

  • uniform3i(location: null | WebGLUniformLocation, x: number, y: number, z: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number
    • z: number

    Returns void

uniform3iv

  • uniform3iv(location: null | WebGLUniformLocation, v: Int32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Int32List

    Returns void

uniform4f

  • uniform4f(location: null | WebGLUniformLocation, x: number, y: number, z: number, w: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

uniform4fv

  • uniform4fv(location: null | WebGLUniformLocation, v: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Float32List

    Returns void

uniform4i

  • uniform4i(location: null | WebGLUniformLocation, x: number, y: number, z: number, w: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

uniform4iv

  • uniform4iv(location: null | WebGLUniformLocation, v: Int32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v: Int32List

    Returns void

uniformMatrix2fv

  • uniformMatrix2fv(location: null | WebGLUniformLocation, transpose: boolean, value: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • value: Float32List

    Returns void

uniformMatrix3fv

  • uniformMatrix3fv(location: null | WebGLUniformLocation, transpose: boolean, value: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • value: Float32List

    Returns void

uniformMatrix4fv

  • uniformMatrix4fv(location: null | WebGLUniformLocation, transpose: boolean, value: Float32List): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • value: Float32List

    Returns void

useProgram

  • useProgram(program: null | WebGLProgram): void
  • Parameters

    • program: null | WebGLProgram

    Returns void

validateProgram

  • validateProgram(program: WebGLProgram): void
  • Parameters

    • program: WebGLProgram

    Returns void

vertexAttrib1f

  • vertexAttrib1f(index: number, x: number): void
  • Parameters

    • index: number
    • x: number

    Returns void

vertexAttrib1fv

  • vertexAttrib1fv(index: number, values: Float32List): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

vertexAttrib2f

  • vertexAttrib2f(index: number, x: number, y: number): void
  • Parameters

    • index: number
    • x: number
    • y: number

    Returns void

vertexAttrib2fv

  • vertexAttrib2fv(index: number, values: Float32List): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

vertexAttrib3f

  • vertexAttrib3f(index: number, x: number, y: number, z: number): void
  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number

    Returns void

vertexAttrib3fv

  • vertexAttrib3fv(index: number, values: Float32List): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

vertexAttrib4f

  • vertexAttrib4f(index: number, x: number, y: number, z: number, w: number): void
  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

vertexAttrib4fv

  • vertexAttrib4fv(index: number, values: Float32List): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

vertexAttribPointer

  • vertexAttribPointer(index: number, size: number, type: number, normalized: boolean, stride: number, offset: number): void
  • Parameters

    • index: number
    • size: number
    • type: number
    • normalized: boolean
    • stride: number
    • offset: number

    Returns void

viewport

  • viewport(x: number, y: number, width: number, height: number): void
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

Generated using TypeDoc