Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRenderingContext

Mixed WebGL1/WebGL2 Rendering Context. Either its WebGL2, either its WebGL1 with PixiJS polyfills on it

Hierarchy

  • WebGL2RenderingContext
    • IRenderingContext

Index

Properties

Methods

Properties

Readonly ACTIVE_ATTRIBUTES

ACTIVE_ATTRIBUTES: number

Readonly ACTIVE_TEXTURE

ACTIVE_TEXTURE: number

Readonly ACTIVE_UNIFORMS

ACTIVE_UNIFORMS: number

Readonly ACTIVE_UNIFORM_BLOCKS

ACTIVE_UNIFORM_BLOCKS: 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 ALREADY_SIGNALED

ALREADY_SIGNALED: number

Readonly ALWAYS

ALWAYS: number

Readonly ANY_SAMPLES_PASSED

ANY_SAMPLES_PASSED: number

Readonly ANY_SAMPLES_PASSED_CONSERVATIVE

ANY_SAMPLES_PASSED_CONSERVATIVE: 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

COLOR: number

Readonly COLOR_ATTACHMENT0

COLOR_ATTACHMENT0: number

Readonly COLOR_ATTACHMENT1

COLOR_ATTACHMENT1: number

Readonly COLOR_ATTACHMENT10

COLOR_ATTACHMENT10: number

Readonly COLOR_ATTACHMENT11

COLOR_ATTACHMENT11: number

Readonly COLOR_ATTACHMENT12

COLOR_ATTACHMENT12: number

Readonly COLOR_ATTACHMENT13

COLOR_ATTACHMENT13: number

Readonly COLOR_ATTACHMENT14

COLOR_ATTACHMENT14: number

Readonly COLOR_ATTACHMENT15

COLOR_ATTACHMENT15: number

Readonly COLOR_ATTACHMENT2

COLOR_ATTACHMENT2: number

Readonly COLOR_ATTACHMENT3

COLOR_ATTACHMENT3: number

Readonly COLOR_ATTACHMENT4

COLOR_ATTACHMENT4: number

Readonly COLOR_ATTACHMENT5

COLOR_ATTACHMENT5: number

Readonly COLOR_ATTACHMENT6

COLOR_ATTACHMENT6: number

Readonly COLOR_ATTACHMENT7

COLOR_ATTACHMENT7: number

Readonly COLOR_ATTACHMENT8

COLOR_ATTACHMENT8: number

Readonly COLOR_ATTACHMENT9

COLOR_ATTACHMENT9: number

Readonly COLOR_BUFFER_BIT

COLOR_BUFFER_BIT: number

Readonly COLOR_CLEAR_VALUE

COLOR_CLEAR_VALUE: number

Readonly COLOR_WRITEMASK

COLOR_WRITEMASK: number

Readonly COMPARE_REF_TO_TEXTURE

COMPARE_REF_TO_TEXTURE: number

Readonly COMPILE_STATUS

COMPILE_STATUS: number

Readonly COMPRESSED_TEXTURE_FORMATS

COMPRESSED_TEXTURE_FORMATS: number

Readonly CONDITION_SATISFIED

CONDITION_SATISFIED: number

Readonly CONSTANT_ALPHA

CONSTANT_ALPHA: number

Readonly CONSTANT_COLOR

CONSTANT_COLOR: number

Readonly CONTEXT_LOST_WEBGL

CONTEXT_LOST_WEBGL: number

Readonly COPY_READ_BUFFER

COPY_READ_BUFFER: number

Readonly COPY_READ_BUFFER_BINDING

COPY_READ_BUFFER_BINDING: number

Readonly COPY_WRITE_BUFFER

COPY_WRITE_BUFFER: number

Readonly COPY_WRITE_BUFFER_BINDING

COPY_WRITE_BUFFER_BINDING: number

Readonly CULL_FACE

CULL_FACE: number

Readonly CULL_FACE_MODE

CULL_FACE_MODE: number

Readonly CURRENT_PROGRAM

CURRENT_PROGRAM: number

Readonly CURRENT_QUERY

CURRENT_QUERY: 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

DEPTH: number

Readonly DEPTH24_STENCIL8

DEPTH24_STENCIL8: number

Readonly DEPTH32F_STENCIL8

DEPTH32F_STENCIL8: 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_COMPONENT24

DEPTH_COMPONENT24: number

Readonly DEPTH_COMPONENT32F

DEPTH_COMPONENT32F: 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 DRAW_BUFFER0

DRAW_BUFFER0: number

Readonly DRAW_BUFFER1

DRAW_BUFFER1: number

Readonly DRAW_BUFFER10

DRAW_BUFFER10: number

Readonly DRAW_BUFFER11

DRAW_BUFFER11: number

Readonly DRAW_BUFFER12

DRAW_BUFFER12: number

Readonly DRAW_BUFFER13

DRAW_BUFFER13: number

Readonly DRAW_BUFFER14

DRAW_BUFFER14: number

Readonly DRAW_BUFFER15

DRAW_BUFFER15: number

Readonly DRAW_BUFFER2

DRAW_BUFFER2: number

Readonly DRAW_BUFFER3

DRAW_BUFFER3: number

Readonly DRAW_BUFFER4

DRAW_BUFFER4: number

Readonly DRAW_BUFFER5

DRAW_BUFFER5: number

Readonly DRAW_BUFFER6

DRAW_BUFFER6: number

Readonly DRAW_BUFFER7

DRAW_BUFFER7: number

Readonly DRAW_BUFFER8

DRAW_BUFFER8: number

Readonly DRAW_BUFFER9

DRAW_BUFFER9: number

Readonly DRAW_FRAMEBUFFER

DRAW_FRAMEBUFFER: number

Readonly DRAW_FRAMEBUFFER_BINDING

DRAW_FRAMEBUFFER_BINDING: number

Readonly DST_ALPHA

DST_ALPHA: number

Readonly DST_COLOR

DST_COLOR: number

Readonly DYNAMIC_COPY

DYNAMIC_COPY: number

Readonly DYNAMIC_DRAW

DYNAMIC_DRAW: number

Readonly DYNAMIC_READ

DYNAMIC_READ: 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_32_UNSIGNED_INT_24_8_REV

FLOAT_32_UNSIGNED_INT_24_8_REV: number

Readonly FLOAT_MAT2

FLOAT_MAT2: number

Readonly FLOAT_MAT2x3

FLOAT_MAT2x3: number

Readonly FLOAT_MAT2x4

FLOAT_MAT2x4: number

Readonly FLOAT_MAT3

FLOAT_MAT3: number

Readonly FLOAT_MAT3x2

FLOAT_MAT3x2: number

Readonly FLOAT_MAT3x4

FLOAT_MAT3x4: number

Readonly FLOAT_MAT4

FLOAT_MAT4: number

Readonly FLOAT_MAT4x2

FLOAT_MAT4x2: number

Readonly FLOAT_MAT4x3

FLOAT_MAT4x3: 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 FRAGMENT_SHADER_DERIVATIVE_HINT

FRAGMENT_SHADER_DERIVATIVE_HINT: number

Readonly FRAMEBUFFER

FRAMEBUFFER: number

Readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE

FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE

FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING

FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: number

Readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE

FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: number

Readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE

FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE

FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number

Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number

Readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE

FRAMEBUFFER_ATTACHMENT_RED_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE

FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: number

Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number

Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER

FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 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_DEFAULT

FRAMEBUFFER_DEFAULT: 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_INCOMPLETE_MULTISAMPLE

FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 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 HALF_FLOAT

HALF_FLOAT: 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 INTERLEAVED_ATTRIBS

INTERLEAVED_ATTRIBS: number

Readonly INT_2_10_10_10_REV

INT_2_10_10_10_REV: number

Readonly INT_SAMPLER_2D

INT_SAMPLER_2D: number

Readonly INT_SAMPLER_2D_ARRAY

INT_SAMPLER_2D_ARRAY: number

Readonly INT_SAMPLER_3D

INT_SAMPLER_3D: number

Readonly INT_SAMPLER_CUBE

INT_SAMPLER_CUBE: 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_INDEX

INVALID_INDEX: 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

MAX: number

Readonly MAX_3D_TEXTURE_SIZE

MAX_3D_TEXTURE_SIZE: number

Readonly MAX_ARRAY_TEXTURE_LAYERS

MAX_ARRAY_TEXTURE_LAYERS: number

Readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL

MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number

Readonly MAX_COLOR_ATTACHMENTS

MAX_COLOR_ATTACHMENTS: number

Readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS

MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: number

Readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS

MAX_COMBINED_TEXTURE_IMAGE_UNITS: number

Readonly MAX_COMBINED_UNIFORM_BLOCKS

MAX_COMBINED_UNIFORM_BLOCKS: number

Readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS

MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: number

Readonly MAX_CUBE_MAP_TEXTURE_SIZE

MAX_CUBE_MAP_TEXTURE_SIZE: number

Readonly MAX_DRAW_BUFFERS

MAX_DRAW_BUFFERS: number

Readonly MAX_ELEMENTS_INDICES

MAX_ELEMENTS_INDICES: number

Readonly MAX_ELEMENTS_VERTICES

MAX_ELEMENTS_VERTICES: number

Readonly MAX_ELEMENT_INDEX

MAX_ELEMENT_INDEX: number

Readonly MAX_FRAGMENT_INPUT_COMPONENTS

MAX_FRAGMENT_INPUT_COMPONENTS: number

Readonly MAX_FRAGMENT_UNIFORM_BLOCKS

MAX_FRAGMENT_UNIFORM_BLOCKS: number

Readonly MAX_FRAGMENT_UNIFORM_COMPONENTS

MAX_FRAGMENT_UNIFORM_COMPONENTS: number

Readonly MAX_FRAGMENT_UNIFORM_VECTORS

MAX_FRAGMENT_UNIFORM_VECTORS: number

Readonly MAX_PROGRAM_TEXEL_OFFSET

MAX_PROGRAM_TEXEL_OFFSET: number

Readonly MAX_RENDERBUFFER_SIZE

MAX_RENDERBUFFER_SIZE: number

Readonly MAX_SAMPLES

MAX_SAMPLES: number

Readonly MAX_SERVER_WAIT_TIMEOUT

MAX_SERVER_WAIT_TIMEOUT: number

Readonly MAX_TEXTURE_IMAGE_UNITS

MAX_TEXTURE_IMAGE_UNITS: number

Readonly MAX_TEXTURE_LOD_BIAS

MAX_TEXTURE_LOD_BIAS: number

Readonly MAX_TEXTURE_SIZE

MAX_TEXTURE_SIZE: number

Readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS

MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: number

Readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS

MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: number

Readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS

MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: number

Readonly MAX_UNIFORM_BLOCK_SIZE

MAX_UNIFORM_BLOCK_SIZE: number

Readonly MAX_UNIFORM_BUFFER_BINDINGS

MAX_UNIFORM_BUFFER_BINDINGS: number

Readonly MAX_VARYING_COMPONENTS

MAX_VARYING_COMPONENTS: number

Readonly MAX_VARYING_VECTORS

MAX_VARYING_VECTORS: number

Readonly MAX_VERTEX_ATTRIBS

MAX_VERTEX_ATTRIBS: number

Readonly MAX_VERTEX_OUTPUT_COMPONENTS

MAX_VERTEX_OUTPUT_COMPONENTS: number

Readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS

MAX_VERTEX_TEXTURE_IMAGE_UNITS: number

Readonly MAX_VERTEX_UNIFORM_BLOCKS

MAX_VERTEX_UNIFORM_BLOCKS: number

Readonly MAX_VERTEX_UNIFORM_COMPONENTS

MAX_VERTEX_UNIFORM_COMPONENTS: 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 MIN

MIN: number

Readonly MIN_PROGRAM_TEXEL_OFFSET

MIN_PROGRAM_TEXEL_OFFSET: 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 OBJECT_TYPE

OBJECT_TYPE: 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 PACK_ROW_LENGTH

PACK_ROW_LENGTH: number

Readonly PACK_SKIP_PIXELS

PACK_SKIP_PIXELS: number

Readonly PACK_SKIP_ROWS

PACK_SKIP_ROWS: number

Readonly PIXEL_PACK_BUFFER

PIXEL_PACK_BUFFER: number

Readonly PIXEL_PACK_BUFFER_BINDING

PIXEL_PACK_BUFFER_BINDING: number

Readonly PIXEL_UNPACK_BUFFER

PIXEL_UNPACK_BUFFER: number

Readonly PIXEL_UNPACK_BUFFER_BINDING

PIXEL_UNPACK_BUFFER_BINDING: 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 QUERY_RESULT

QUERY_RESULT: number

Readonly QUERY_RESULT_AVAILABLE

QUERY_RESULT_AVAILABLE: number

Readonly R11F_G11F_B10F

R11F_G11F_B10F: number

Readonly R16F

R16F: number

Readonly R16I

R16I: number

Readonly R16UI

R16UI: number

Readonly R32F

R32F: number

Readonly R32I

R32I: number

Readonly R32UI

R32UI: number

Readonly R8

R8: number

Readonly R8I

R8I: number

Readonly R8UI

R8UI: number

Readonly R8_SNORM

R8_SNORM: number

Readonly RASTERIZER_DISCARD

RASTERIZER_DISCARD: number

Readonly READ_BUFFER

READ_BUFFER: number

Readonly READ_FRAMEBUFFER

READ_FRAMEBUFFER: number

Readonly READ_FRAMEBUFFER_BINDING

READ_FRAMEBUFFER_BINDING: number

Readonly RED

RED: number

Readonly RED_BITS

RED_BITS: number

Readonly RED_INTEGER

RED_INTEGER: 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_SAMPLES

RENDERBUFFER_SAMPLES: 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 RG

RG: number

Readonly RG16F

RG16F: number

Readonly RG16I

RG16I: number

Readonly RG16UI

RG16UI: number

Readonly RG32F

RG32F: number

Readonly RG32I

RG32I: number

Readonly RG32UI

RG32UI: number

Readonly RG8

RG8: number

Readonly RG8I

RG8I: number

Readonly RG8UI

RG8UI: number

Readonly RG8_SNORM

RG8_SNORM: number

Readonly RGB

RGB: number

Readonly RGB10_A2

RGB10_A2: number

Readonly RGB10_A2UI

RGB10_A2UI: number

Readonly RGB16F

RGB16F: number

Readonly RGB16I

RGB16I: number

Readonly RGB16UI

RGB16UI: number

Readonly RGB32F

RGB32F: number

Readonly RGB32I

RGB32I: number

Readonly RGB32UI

RGB32UI: number

Readonly RGB565

RGB565: number

Readonly RGB5_A1

RGB5_A1: number

Readonly RGB8

RGB8: number

Readonly RGB8I

RGB8I: number

Readonly RGB8UI

RGB8UI: number

Readonly RGB8_SNORM

RGB8_SNORM: number

Readonly RGB9_E5

RGB9_E5: number

Readonly RGBA

RGBA: number

Readonly RGBA16F

RGBA16F: number

Readonly RGBA16I

RGBA16I: number

Readonly RGBA16UI

RGBA16UI: number

Readonly RGBA32F

RGBA32F: number

Readonly RGBA32I

RGBA32I: number

Readonly RGBA32UI

RGBA32UI: number

Readonly RGBA4

RGBA4: number

Readonly RGBA8

RGBA8: number

Readonly RGBA8I

RGBA8I: number

Readonly RGBA8UI

RGBA8UI: number

Readonly RGBA8_SNORM

RGBA8_SNORM: number

Readonly RGBA_INTEGER

RGBA_INTEGER: number

Readonly RGB_INTEGER

RGB_INTEGER: number

Readonly RG_INTEGER

RG_INTEGER: number

Readonly SAMPLER_2D

SAMPLER_2D: number

Readonly SAMPLER_2D_ARRAY

SAMPLER_2D_ARRAY: number

Readonly SAMPLER_2D_ARRAY_SHADOW

SAMPLER_2D_ARRAY_SHADOW: number

Readonly SAMPLER_2D_SHADOW

SAMPLER_2D_SHADOW: number

Readonly SAMPLER_3D

SAMPLER_3D: number

Readonly SAMPLER_BINDING

SAMPLER_BINDING: number

Readonly SAMPLER_CUBE

SAMPLER_CUBE: number

Readonly SAMPLER_CUBE_SHADOW

SAMPLER_CUBE_SHADOW: 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 SEPARATE_ATTRIBS

SEPARATE_ATTRIBS: number

Readonly SHADER_TYPE

SHADER_TYPE: number

Readonly SHADING_LANGUAGE_VERSION

SHADING_LANGUAGE_VERSION: number

Readonly SHORT

SHORT: number

Readonly SIGNALED

SIGNALED: number

Readonly SIGNED_NORMALIZED

SIGNED_NORMALIZED: number

Readonly SRC_ALPHA

SRC_ALPHA: number

Readonly SRC_ALPHA_SATURATE

SRC_ALPHA_SATURATE: number

Readonly SRC_COLOR

SRC_COLOR: number

Readonly SRGB

SRGB: number

Readonly SRGB8

SRGB8: number

Readonly SRGB8_ALPHA8

SRGB8_ALPHA8: number

Readonly STATIC_COPY

STATIC_COPY: number

Readonly STATIC_DRAW

STATIC_DRAW: number

Readonly STATIC_READ

STATIC_READ: number

Readonly STENCIL

STENCIL: 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_COPY

STREAM_COPY: number

Readonly STREAM_DRAW

STREAM_DRAW: number

Readonly STREAM_READ

STREAM_READ: number

Readonly SUBPIXEL_BITS

SUBPIXEL_BITS: number

Readonly SYNC_CONDITION

SYNC_CONDITION: number

Readonly SYNC_FENCE

SYNC_FENCE: number

Readonly SYNC_FLAGS

SYNC_FLAGS: number

Readonly SYNC_FLUSH_COMMANDS_BIT

SYNC_FLUSH_COMMANDS_BIT: number

Readonly SYNC_GPU_COMMANDS_COMPLETE

SYNC_GPU_COMMANDS_COMPLETE: number

Readonly SYNC_STATUS

SYNC_STATUS: 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_2D_ARRAY

TEXTURE_2D_ARRAY: number

Readonly TEXTURE_3D

TEXTURE_3D: number

Readonly TEXTURE_BASE_LEVEL

TEXTURE_BASE_LEVEL: number

Readonly TEXTURE_BINDING_2D

TEXTURE_BINDING_2D: number

Readonly TEXTURE_BINDING_2D_ARRAY

TEXTURE_BINDING_2D_ARRAY: number

Readonly TEXTURE_BINDING_3D

TEXTURE_BINDING_3D: number

Readonly TEXTURE_BINDING_CUBE_MAP

TEXTURE_BINDING_CUBE_MAP: number

Readonly TEXTURE_COMPARE_FUNC

TEXTURE_COMPARE_FUNC: number

Readonly TEXTURE_COMPARE_MODE

TEXTURE_COMPARE_MODE: 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_IMMUTABLE_FORMAT

TEXTURE_IMMUTABLE_FORMAT: number

Readonly TEXTURE_IMMUTABLE_LEVELS

TEXTURE_IMMUTABLE_LEVELS: number

Readonly TEXTURE_MAG_FILTER

TEXTURE_MAG_FILTER: number

Readonly TEXTURE_MAX_LEVEL

TEXTURE_MAX_LEVEL: number

Readonly TEXTURE_MAX_LOD

TEXTURE_MAX_LOD: number

Readonly TEXTURE_MIN_FILTER

TEXTURE_MIN_FILTER: number

Readonly TEXTURE_MIN_LOD

TEXTURE_MIN_LOD: number

Readonly TEXTURE_WRAP_R

TEXTURE_WRAP_R: number

Readonly TEXTURE_WRAP_S

TEXTURE_WRAP_S: number

Readonly TEXTURE_WRAP_T

TEXTURE_WRAP_T: number

Readonly TIMEOUT_EXPIRED

TIMEOUT_EXPIRED: number

Readonly TIMEOUT_IGNORED

TIMEOUT_IGNORED: number

Readonly TRANSFORM_FEEDBACK

TRANSFORM_FEEDBACK: number

Readonly TRANSFORM_FEEDBACK_ACTIVE

TRANSFORM_FEEDBACK_ACTIVE: number

Readonly TRANSFORM_FEEDBACK_BINDING

TRANSFORM_FEEDBACK_BINDING: number

Readonly TRANSFORM_FEEDBACK_BUFFER

TRANSFORM_FEEDBACK_BUFFER: number

Readonly TRANSFORM_FEEDBACK_BUFFER_BINDING

TRANSFORM_FEEDBACK_BUFFER_BINDING: number

Readonly TRANSFORM_FEEDBACK_BUFFER_MODE

TRANSFORM_FEEDBACK_BUFFER_MODE: number

Readonly TRANSFORM_FEEDBACK_BUFFER_SIZE

TRANSFORM_FEEDBACK_BUFFER_SIZE: number

Readonly TRANSFORM_FEEDBACK_BUFFER_START

TRANSFORM_FEEDBACK_BUFFER_START: number

Readonly TRANSFORM_FEEDBACK_PAUSED

TRANSFORM_FEEDBACK_PAUSED: number

Readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN

TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: number

Readonly TRANSFORM_FEEDBACK_VARYINGS

TRANSFORM_FEEDBACK_VARYINGS: number

Readonly TRIANGLES

TRIANGLES: number

Readonly TRIANGLE_FAN

TRIANGLE_FAN: number

Readonly TRIANGLE_STRIP

TRIANGLE_STRIP: number

Readonly UNIFORM_ARRAY_STRIDE

UNIFORM_ARRAY_STRIDE: number

Readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS

UNIFORM_BLOCK_ACTIVE_UNIFORMS: number

Readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: number

Readonly UNIFORM_BLOCK_BINDING

UNIFORM_BLOCK_BINDING: number

Readonly UNIFORM_BLOCK_DATA_SIZE

UNIFORM_BLOCK_DATA_SIZE: number

Readonly UNIFORM_BLOCK_INDEX

UNIFORM_BLOCK_INDEX: number

Readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER

UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: number

Readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER

UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: number

Readonly UNIFORM_BUFFER

UNIFORM_BUFFER: number

Readonly UNIFORM_BUFFER_BINDING

UNIFORM_BUFFER_BINDING: number

Readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT

UNIFORM_BUFFER_OFFSET_ALIGNMENT: number

Readonly UNIFORM_BUFFER_SIZE

UNIFORM_BUFFER_SIZE: number

Readonly UNIFORM_BUFFER_START

UNIFORM_BUFFER_START: number

Readonly UNIFORM_IS_ROW_MAJOR

UNIFORM_IS_ROW_MAJOR: number

Readonly UNIFORM_MATRIX_STRIDE

UNIFORM_MATRIX_STRIDE: number

Readonly UNIFORM_OFFSET

UNIFORM_OFFSET: number

Readonly UNIFORM_SIZE

UNIFORM_SIZE: number

Readonly UNIFORM_TYPE

UNIFORM_TYPE: 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_IMAGE_HEIGHT

UNPACK_IMAGE_HEIGHT: number

Readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL

UNPACK_PREMULTIPLY_ALPHA_WEBGL: number

Readonly UNPACK_ROW_LENGTH

UNPACK_ROW_LENGTH: number

Readonly UNPACK_SKIP_IMAGES

UNPACK_SKIP_IMAGES: number

Readonly UNPACK_SKIP_PIXELS

UNPACK_SKIP_PIXELS: number

Readonly UNPACK_SKIP_ROWS

UNPACK_SKIP_ROWS: number

Readonly UNSIGNALED

UNSIGNALED: number

Readonly UNSIGNED_BYTE

UNSIGNED_BYTE: number

Readonly UNSIGNED_INT

UNSIGNED_INT: number

Readonly UNSIGNED_INT_10F_11F_11F_REV

UNSIGNED_INT_10F_11F_11F_REV: number

Readonly UNSIGNED_INT_24_8

UNSIGNED_INT_24_8: number

Readonly UNSIGNED_INT_2_10_10_10_REV

UNSIGNED_INT_2_10_10_10_REV: number

Readonly UNSIGNED_INT_5_9_9_9_REV

UNSIGNED_INT_5_9_9_9_REV: number

Readonly UNSIGNED_INT_SAMPLER_2D

UNSIGNED_INT_SAMPLER_2D: number

Readonly UNSIGNED_INT_SAMPLER_2D_ARRAY

UNSIGNED_INT_SAMPLER_2D_ARRAY: number

Readonly UNSIGNED_INT_SAMPLER_3D

UNSIGNED_INT_SAMPLER_3D: number

Readonly UNSIGNED_INT_SAMPLER_CUBE

UNSIGNED_INT_SAMPLER_CUBE: number

Readonly UNSIGNED_INT_VEC2

UNSIGNED_INT_VEC2: number

Readonly UNSIGNED_INT_VEC3

UNSIGNED_INT_VEC3: number

Readonly UNSIGNED_INT_VEC4

UNSIGNED_INT_VEC4: number

Readonly UNSIGNED_NORMALIZED

UNSIGNED_NORMALIZED: 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_ARRAY_BINDING

VERTEX_ARRAY_BINDING: number

Readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number

Readonly VERTEX_ATTRIB_ARRAY_DIVISOR

VERTEX_ATTRIB_ARRAY_DIVISOR: number

Readonly VERTEX_ATTRIB_ARRAY_ENABLED

VERTEX_ATTRIB_ARRAY_ENABLED: number

Readonly VERTEX_ATTRIB_ARRAY_INTEGER

VERTEX_ATTRIB_ARRAY_INTEGER: 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 WAIT_FAILED

WAIT_FAILED: 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

beginQuery

  • beginQuery(target: number, query: WebGLQuery): void
  • Parameters

    • target: number
    • query: WebGLQuery

    Returns void

beginTransformFeedback

  • beginTransformFeedback(primitiveMode: number): void
  • Parameters

    • primitiveMode: number

    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

bindBufferBase

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

    • target: number
    • index: number
    • buffer: null | WebGLBuffer

    Returns void

bindBufferRange

  • bindBufferRange(target: number, index: number, buffer: null | WebGLBuffer, offset: number, size: number): void
  • Parameters

    • target: number
    • index: number
    • buffer: null | WebGLBuffer
    • offset: number
    • size: number

    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

bindSampler

  • bindSampler(unit: number, sampler: null | WebGLSampler): void
  • Parameters

    • unit: number
    • sampler: null | WebGLSampler

    Returns void

bindTexture

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

    • target: number
    • texture: null | WebGLTexture

    Returns void

bindTransformFeedback

  • bindTransformFeedback(target: number, tf: null | WebGLTransformFeedback): void
  • Parameters

    • target: number
    • tf: null | WebGLTransformFeedback

    Returns void

bindVertexArray

  • bindVertexArray(array: null | WebGLVertexArrayObject): void
  • Parameters

    • array: null | WebGLVertexArrayObject

    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

blitFramebuffer

  • blitFramebuffer(srcX0: number, srcY0: number, srcX1: number, srcY1: number, dstX0: number, dstY0: number, dstX1: number, dstY1: number, mask: number, filter: number): void
  • Parameters

    • srcX0: number
    • srcY0: number
    • srcX1: number
    • srcY1: number
    • dstX0: number
    • dstY0: number
    • dstX1: number
    • dstY1: number
    • mask: number
    • filter: number

    Returns void

bufferData

  • bufferData(target: number, size: number, usage: number): void
  • bufferData(target: number, srcData: null | BufferSource, usage: number): void
  • bufferData(target: number, srcData: ArrayBufferView, usage: number, srcOffset: number, length?: number): void
  • Parameters

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

    Returns void

  • Parameters

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

    Returns void

  • Parameters

    • target: number
    • srcData: ArrayBufferView
    • usage: number
    • srcOffset: number
    • Optional length: number

    Returns void

bufferSubData

  • bufferSubData(target: number, dstByteOffset: number, srcData: BufferSource): void
  • bufferSubData(target: number, dstByteOffset: number, srcData: ArrayBufferView, srcOffset: number, length?: number): void
  • Parameters

    • target: number
    • dstByteOffset: number
    • srcData: BufferSource

    Returns void

  • Parameters

    • target: number
    • dstByteOffset: number
    • srcData: ArrayBufferView
    • srcOffset: number
    • Optional length: number

    Returns void

checkFramebufferStatus

  • checkFramebufferStatus(target: number): number
  • Parameters

    • target: number

    Returns number

clear

  • clear(mask: number): void
  • Parameters

    • mask: number

    Returns void

clearBufferfi

  • clearBufferfi(buffer: number, drawbuffer: number, depth: number, stencil: number): void
  • Parameters

    • buffer: number
    • drawbuffer: number
    • depth: number
    • stencil: number

    Returns void

clearBufferfv

  • clearBufferfv(buffer: number, drawbuffer: number, values: Float32List, srcOffset?: number): void
  • clearBufferfv(buffer: number, drawbuffer: number, values: Iterable<number>, srcOffset?: number): void
  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Float32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: number

    Returns void

clearBufferiv

  • clearBufferiv(buffer: number, drawbuffer: number, values: Int32List, srcOffset?: number): void
  • clearBufferiv(buffer: number, drawbuffer: number, values: Iterable<number>, srcOffset?: number): void
  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Int32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: number

    Returns void

clearBufferuiv

  • clearBufferuiv(buffer: number, drawbuffer: number, values: Uint32List, srcOffset?: number): void
  • clearBufferuiv(buffer: number, drawbuffer: number, values: Iterable<number>, srcOffset?: number): void
  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Uint32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: 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

clientWaitSync

  • clientWaitSync(sync: WebGLSync, flags: number, timeout: number): number
  • Parameters

    • sync: WebGLSync
    • flags: number
    • timeout: number

    Returns number

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, imageSize: number, offset: number): void
  • compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: number): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • srcData: ArrayBufferView
    • Optional srcOffset: number
    • Optional srcLengthOverride: number

    Returns void

compressedTexImage3D

  • compressedTexImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, imageSize: number, offset: number): void
  • compressedTexImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: number): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • srcData: ArrayBufferView
    • Optional srcOffset: number
    • Optional srcLengthOverride: number

    Returns void

compressedTexSubImage2D

  • compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, imageSize: number, offset: number): void
  • compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: number): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • srcData: ArrayBufferView
    • Optional srcOffset: number
    • Optional srcLengthOverride: number

    Returns void

compressedTexSubImage3D

  • compressedTexSubImage3D(target: number, level: number, xoffset: number, yoffset: number, zoffset: number, width: number, height: number, depth: number, format: number, imageSize: number, offset: number): void
  • compressedTexSubImage3D(target: number, level: number, xoffset: number, yoffset: number, zoffset: number, width: number, height: number, depth: number, format: number, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: number): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • srcData: ArrayBufferView
    • Optional srcOffset: number
    • Optional srcLengthOverride: number

    Returns void

copyBufferSubData

  • copyBufferSubData(readTarget: number, writeTarget: number, readOffset: number, writeOffset: number, size: number): void
  • Parameters

    • readTarget: number
    • writeTarget: number
    • readOffset: number
    • writeOffset: number
    • size: number

    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

copyTexSubImage3D

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

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: 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

createQuery

  • createQuery(): null | WebGLQuery
  • Returns null | WebGLQuery

createRenderbuffer

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

createSampler

  • createSampler(): null | WebGLSampler
  • Returns null | WebGLSampler

createShader

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

    • type: number

    Returns null | WebGLShader

createTexture

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

createTransformFeedback

  • createTransformFeedback(): null | WebGLTransformFeedback
  • Returns null | WebGLTransformFeedback

createVertexArray

  • createVertexArray(): null | WebGLVertexArrayObject
  • Returns null | WebGLVertexArrayObject

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

deleteQuery

  • deleteQuery(query: null | WebGLQuery): void
  • Parameters

    • query: null | WebGLQuery

    Returns void

deleteRenderbuffer

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

    • renderbuffer: null | WebGLRenderbuffer

    Returns void

deleteSampler

  • deleteSampler(sampler: null | WebGLSampler): void
  • Parameters

    • sampler: null | WebGLSampler

    Returns void

deleteShader

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

    • shader: null | WebGLShader

    Returns void

deleteSync

  • deleteSync(sync: null | WebGLSync): void
  • Parameters

    • sync: null | WebGLSync

    Returns void

deleteTexture

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

    • texture: null | WebGLTexture

    Returns void

deleteTransformFeedback

  • deleteTransformFeedback(tf: null | WebGLTransformFeedback): void
  • Parameters

    • tf: null | WebGLTransformFeedback

    Returns void

deleteVertexArray

  • deleteVertexArray(vertexArray: null | WebGLVertexArrayObject): void
  • Parameters

    • vertexArray: null | WebGLVertexArrayObject

    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

drawArraysInstanced

  • drawArraysInstanced(mode: number, first: number, count: number, instanceCount: number): void
  • Parameters

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

    Returns void

drawBuffers

  • drawBuffers(buffers: number[]): void
  • drawBuffers(buffers: Iterable<number>): void
  • Parameters

    • buffers: number[]

    Returns void

  • Parameters

    • buffers: Iterable<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

drawElementsInstanced

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

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

    Returns void

drawRangeElements

  • drawRangeElements(mode: number, start: number, end: number, count: number, type: number, offset: number): void
  • Parameters

    • mode: number
    • start: number
    • end: 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

endQuery

  • endQuery(target: number): void
  • Parameters

    • target: number

    Returns void

endTransformFeedback

  • endTransformFeedback(): void
  • Returns void

fenceSync

  • fenceSync(condition: number, flags: number): null | WebGLSync
  • Parameters

    • condition: number
    • flags: number

    Returns null | WebGLSync

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

framebufferTextureLayer

  • framebufferTextureLayer(target: number, attachment: number, texture: null | WebGLTexture, level: number, layer: number): void
  • Parameters

    • target: number
    • attachment: number
    • texture: null | WebGLTexture
    • level: number
    • layer: 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

getActiveUniformBlockName

  • getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: number): null | string
  • Parameters

    • program: WebGLProgram
    • uniformBlockIndex: number

    Returns null | string

getActiveUniformBlockParameter

  • getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: number, pname: number): any
  • Parameters

    • program: WebGLProgram
    • uniformBlockIndex: number
    • pname: number

    Returns any

getActiveUniforms

  • getActiveUniforms(program: WebGLProgram, uniformIndices: number[], pname: number): any
  • getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<number>, pname: number): any
  • Parameters

    • program: WebGLProgram
    • uniformIndices: number[]
    • pname: number

    Returns any

  • Parameters

    • program: WebGLProgram
    • uniformIndices: Iterable<number>
    • pname: number

    Returns any

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

getBufferSubData

  • getBufferSubData(target: number, srcByteOffset: number, dstBuffer: ArrayBufferView, dstOffset?: number, length?: number): void
  • Parameters

    • target: number
    • srcByteOffset: number
    • dstBuffer: ArrayBufferView
    • Optional dstOffset: number
    • Optional length: number

    Returns void

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

getFragDataLocation

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

    • program: WebGLProgram
    • name: string

    Returns number

getFramebufferAttachmentParameter

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

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

    Returns any

getIndexedParameter

  • getIndexedParameter(target: number, index: number): any
  • Parameters

    • target: number
    • index: number

    Returns any

getInternalformatParameter

  • getInternalformatParameter(target: number, internalformat: number, pname: number): any
  • Parameters

    • target: number
    • internalformat: 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

getQuery

  • getQuery(target: number, pname: number): null | WebGLQuery
  • Parameters

    • target: number
    • pname: number

    Returns null | WebGLQuery

getQueryParameter

  • getQueryParameter(query: WebGLQuery, pname: number): any
  • Parameters

    • query: WebGLQuery
    • pname: number

    Returns any

getRenderbufferParameter

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

    • target: number
    • pname: number

    Returns any

getSamplerParameter

  • getSamplerParameter(sampler: WebGLSampler, pname: number): any
  • Parameters

    • sampler: WebGLSampler
    • 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[]

getSyncParameter

  • getSyncParameter(sync: WebGLSync, pname: number): any
  • Parameters

    • sync: WebGLSync
    • pname: number

    Returns any

getTexParameter

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

    • target: number
    • pname: number

    Returns any

getTransformFeedbackVarying

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

    • program: WebGLProgram
    • index: number

    Returns null | WebGLActiveInfo

getUniform

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

    • program: WebGLProgram
    • location: WebGLUniformLocation

    Returns any

getUniformBlockIndex

  • getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): number
  • Parameters

    • program: WebGLProgram
    • uniformBlockName: string

    Returns number

getUniformIndices

  • getUniformIndices(program: WebGLProgram, uniformNames: string[]): null | number[]
  • getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): null | Iterable<number>
  • Parameters

    • program: WebGLProgram
    • uniformNames: string[]

    Returns null | number[]

  • Parameters

    • program: WebGLProgram
    • uniformNames: Iterable<string>

    Returns null | Iterable<number>

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

invalidateFramebuffer

  • invalidateFramebuffer(target: number, attachments: number[]): void
  • invalidateFramebuffer(target: number, attachments: Iterable<number>): void
  • Parameters

    • target: number
    • attachments: number[]

    Returns void

  • Parameters

    • target: number
    • attachments: Iterable<number>

    Returns void

invalidateSubFramebuffer

  • invalidateSubFramebuffer(target: number, attachments: number[], x: number, y: number, width: number, height: number): void
  • invalidateSubFramebuffer(target: number, attachments: Iterable<number>, x: number, y: number, width: number, height: number): void
  • Parameters

    • target: number
    • attachments: number[]
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • target: number
    • attachments: Iterable<number>
    • x: number
    • y: number
    • width: number
    • height: 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

isQuery

  • isQuery(query: null | WebGLQuery): boolean
  • Parameters

    • query: null | WebGLQuery

    Returns boolean

isRenderbuffer

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

    • renderbuffer: null | WebGLRenderbuffer

    Returns boolean

isSampler

  • isSampler(sampler: null | WebGLSampler): boolean
  • Parameters

    • sampler: null | WebGLSampler

    Returns boolean

isShader

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

    • shader: null | WebGLShader

    Returns boolean

isSync

  • isSync(sync: null | WebGLSync): boolean
  • Parameters

    • sync: null | WebGLSync

    Returns boolean

isTexture

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

    • texture: null | WebGLTexture

    Returns boolean

isTransformFeedback

  • isTransformFeedback(tf: null | WebGLTransformFeedback): boolean
  • Parameters

    • tf: null | WebGLTransformFeedback

    Returns boolean

isVertexArray

  • isVertexArray(vertexArray: null | WebGLVertexArrayObject): boolean
  • Parameters

    • vertexArray: null | WebGLVertexArrayObject

    Returns boolean

lineWidth

  • lineWidth(width: number): void
  • Parameters

    • width: number

    Returns void

linkProgram

  • linkProgram(program: WebGLProgram): void
  • Parameters

    • program: WebGLProgram

    Returns void

pauseTransformFeedback

  • pauseTransformFeedback(): void
  • 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

readBuffer

  • readBuffer(src: number): void
  • Parameters

    • src: number

    Returns void

readPixels

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

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

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • offset: number

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • dstData: ArrayBufferView
    • dstOffset: number

    Returns void

renderbufferStorage

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

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

    Returns void

renderbufferStorageMultisample

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

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

    Returns void

resumeTransformFeedback

  • resumeTransformFeedback(): void
  • Returns void

sampleCoverage

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

    • value: number
    • invert: boolean

    Returns void

samplerParameterf

  • samplerParameterf(sampler: WebGLSampler, pname: number, param: number): void
  • Parameters

    • sampler: WebGLSampler
    • pname: number
    • param: number

    Returns void

samplerParameteri

  • samplerParameteri(sampler: WebGLSampler, pname: number, param: number): void
  • Parameters

    • sampler: WebGLSampler
    • pname: number
    • param: number

    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
  • texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pboOffset: number): void
  • texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, source: TexImageSource): void
  • texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, srcData: ArrayBufferView, srcOffset: number): 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

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • srcData: ArrayBufferView
    • srcOffset: number

    Returns void

texImage3D

  • texImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, format: number, type: number, pboOffset: number): void
  • texImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, format: number, type: number, source: TexImageSource): void
  • texImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, format: number, type: number, srcData: null | ArrayBufferView): void
  • texImage3D(target: number, level: number, internalformat: number, width: number, height: number, depth: number, border: number, format: number, type: number, srcData: ArrayBufferView, srcOffset: number): void
  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

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

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • srcData: ArrayBufferView
    • srcOffset: number

    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

texStorage2D

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

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

    Returns void

texStorage3D

  • texStorage3D(target: number, levels: number, internalformat: number, width: number, height: number, depth: number): void
  • Parameters

    • target: number
    • levels: number
    • internalformat: number
    • width: number
    • height: number
    • depth: 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
  • texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pboOffset: number): void
  • texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, source: TexImageSource): void
  • texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, srcData: ArrayBufferView, srcOffset: number): 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

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

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

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • srcData: ArrayBufferView
    • srcOffset: number

    Returns void

texSubImage3D

  • texSubImage3D(target: number, level: number, xoffset: number, yoffset: number, zoffset: number, width: number, height: number, depth: number, format: number, type: number, pboOffset: number): void
  • texSubImage3D(target: number, level: number, xoffset: number, yoffset: number, zoffset: number, width: number, height: number, depth: number, format: number, type: number, source: TexImageSource): void
  • texSubImage3D(target: number, level: number, xoffset: number, yoffset: number, zoffset: number, width: number, height: number, depth: number, format: number, type: number, srcData: null | ArrayBufferView, srcOffset?: number): void
  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • srcData: null | ArrayBufferView
    • Optional srcOffset: number

    Returns void

transformFeedbackVaryings

  • transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: number): void
  • transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: number): void
  • Parameters

    • program: WebGLProgram
    • varyings: string[]
    • bufferMode: number

    Returns void

  • Parameters

    • program: WebGLProgram
    • varyings: Iterable<string>
    • bufferMode: number

    Returns void

uniform1f

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

    • location: null | WebGLUniformLocation
    • x: number

    Returns void

uniform1fv

  • uniform1fv(location: null | WebGLUniformLocation, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniform1fv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniform1i

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

    • location: null | WebGLUniformLocation
    • x: number

    Returns void

uniform1iv

  • uniform1iv(location: null | WebGLUniformLocation, data: Int32List, srcOffset?: number, srcLength?: number): void
  • uniform1iv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Int32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniform1ui

  • uniform1ui(location: null | WebGLUniformLocation, v0: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v0: number

    Returns void

uniform1uiv

  • uniform1uiv(location: null | WebGLUniformLocation, data: Uint32List, srcOffset?: number, srcLength?: number): void
  • uniform1uiv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Uint32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniform2fv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Int32List, srcOffset?: number, srcLength?: number): void
  • uniform2iv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Int32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniform2ui

  • uniform2ui(location: null | WebGLUniformLocation, v0: number, v1: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v0: number
    • v1: number

    Returns void

uniform2uiv

  • uniform2uiv(location: null | WebGLUniformLocation, data: Uint32List, srcOffset?: number, srcLength?: number): void
  • uniform2uiv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Uint32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniform3fv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Int32List, srcOffset?: number, srcLength?: number): void
  • uniform3iv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Int32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniform3ui

  • uniform3ui(location: null | WebGLUniformLocation, v0: number, v1: number, v2: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v0: number
    • v1: number
    • v2: number

    Returns void

uniform3uiv

  • uniform3uiv(location: null | WebGLUniformLocation, data: Uint32List, srcOffset?: number, srcLength?: number): void
  • uniform3uiv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Uint32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniform4fv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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, data: Int32List, srcOffset?: number, srcLength?: number): void
  • uniform4iv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Int32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniform4ui

  • uniform4ui(location: null | WebGLUniformLocation, v0: number, v1: number, v2: number, v3: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • v0: number
    • v1: number
    • v2: number
    • v3: number

    Returns void

uniform4uiv

  • uniform4uiv(location: null | WebGLUniformLocation, data: Uint32List, srcOffset?: number, srcLength?: number): void
  • uniform4uiv(location: null | WebGLUniformLocation, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • data: Uint32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformBlockBinding

  • uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: number, uniformBlockBinding: number): void
  • Parameters

    • program: WebGLProgram
    • uniformBlockIndex: number
    • uniformBlockBinding: number

    Returns void

uniformMatrix2fv

  • uniformMatrix2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix2x3fv

  • uniformMatrix2x3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix2x3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix2x4fv

  • uniformMatrix2x4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix2x4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix3fv

  • uniformMatrix3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix3x2fv

  • uniformMatrix3x2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix3x2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix3x4fv

  • uniformMatrix3x4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix3x4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix4fv

  • uniformMatrix4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix4fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix4x2fv

  • uniformMatrix4x2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix4x2fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

uniformMatrix4x3fv

  • uniformMatrix4x3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Float32List, srcOffset?: number, srcLength?: number): void
  • uniformMatrix4x3fv(location: null | WebGLUniformLocation, transpose: boolean, data: Iterable<number>, srcOffset?: number, srcLength?: number): void
  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Float32List
    • Optional srcOffset: number
    • Optional srcLength: number

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number>
    • Optional srcOffset: number
    • Optional srcLength: number

    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
  • vertexAttrib1fv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    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
  • vertexAttrib2fv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    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
  • vertexAttrib3fv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    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
  • vertexAttrib4fv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Float32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    Returns void

vertexAttribDivisor

  • vertexAttribDivisor(index: number, divisor: number): void
  • Parameters

    • index: number
    • divisor: number

    Returns void

vertexAttribI4i

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

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

    Returns void

vertexAttribI4iv

  • vertexAttribI4iv(index: number, values: Int32List): void
  • vertexAttribI4iv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Int32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    Returns void

vertexAttribI4ui

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

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

    Returns void

vertexAttribI4uiv

  • vertexAttribI4uiv(index: number, values: Uint32List): void
  • vertexAttribI4uiv(index: number, values: Iterable<number>): void
  • Parameters

    • index: number
    • values: Uint32List

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number>

    Returns void

vertexAttribIPointer

  • vertexAttribIPointer(index: number, size: number, type: number, stride: number, offset: number): void
  • Parameters

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

    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

waitSync

  • waitSync(sync: WebGLSync, flags: number, timeout: number): void
  • Parameters

    • sync: WebGLSync
    • flags: number
    • timeout: number

    Returns void

Generated using TypeDoc