Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebGL2RenderingContext

Hierarchy

  • WebGL2RenderingContextBase
  • WebGL2RenderingContextOverloads
  • WebGLRenderingContextBase
    • WebGL2RenderingContext

Index

Properties

Methods

Properties

ACTIVE_ATTRIBUTES: number
ACTIVE_TEXTURE: number
ACTIVE_UNIFORMS: number
ACTIVE_UNIFORM_BLOCKS: number
ALIASED_LINE_WIDTH_RANGE: number
ALIASED_POINT_SIZE_RANGE: number
ALPHA: number
ALPHA_BITS: number
ALREADY_SIGNALED: number
ALWAYS: number
ANY_SAMPLES_PASSED: number
ANY_SAMPLES_PASSED_CONSERVATIVE: number
ARRAY_BUFFER: number
ARRAY_BUFFER_BINDING: number
ATTACHED_SHADERS: number
BACK: number
BLEND: number
BLEND_COLOR: number
BLEND_DST_ALPHA: number
BLEND_DST_RGB: number
BLEND_EQUATION: number
BLEND_EQUATION_ALPHA: number
BLEND_EQUATION_RGB: number
BLEND_SRC_ALPHA: number
BLEND_SRC_RGB: number
BLUE_BITS: number
BOOL: number
BOOL_VEC2: number
BOOL_VEC3: number
BOOL_VEC4: number
BROWSER_DEFAULT_WEBGL: number
BUFFER_SIZE: number
BUFFER_USAGE: number
BYTE: number
CCW: number
CLAMP_TO_EDGE: number
COLOR: number
COLOR_ATTACHMENT0: number
COLOR_ATTACHMENT1: number
COLOR_ATTACHMENT10: number
COLOR_ATTACHMENT11: number
COLOR_ATTACHMENT12: number
COLOR_ATTACHMENT13: number
COLOR_ATTACHMENT14: number
COLOR_ATTACHMENT15: number
COLOR_ATTACHMENT2: number
COLOR_ATTACHMENT3: number
COLOR_ATTACHMENT4: number
COLOR_ATTACHMENT5: number
COLOR_ATTACHMENT6: number
COLOR_ATTACHMENT7: number
COLOR_ATTACHMENT8: number
COLOR_ATTACHMENT9: number
COLOR_BUFFER_BIT: number
COLOR_CLEAR_VALUE: number
COLOR_WRITEMASK: number
COMPARE_REF_TO_TEXTURE: number
COMPILE_STATUS: number
COMPRESSED_TEXTURE_FORMATS: number
CONDITION_SATISFIED: number
CONSTANT_ALPHA: number
CONSTANT_COLOR: number
CONTEXT_LOST_WEBGL: number
COPY_READ_BUFFER: number
COPY_READ_BUFFER_BINDING: number
COPY_WRITE_BUFFER: number
COPY_WRITE_BUFFER_BINDING: number
CULL_FACE: number
CULL_FACE_MODE: number
CURRENT_PROGRAM: number
CURRENT_QUERY: number
CURRENT_VERTEX_ATTRIB: number
CW: number
DECR: number
DECR_WRAP: number
DELETE_STATUS: number
DEPTH: number
DEPTH24_STENCIL8: number
DEPTH32F_STENCIL8: number
DEPTH_ATTACHMENT: number
DEPTH_BITS: number
DEPTH_BUFFER_BIT: number
DEPTH_CLEAR_VALUE: number
DEPTH_COMPONENT: number
DEPTH_COMPONENT16: number
DEPTH_COMPONENT24: number
DEPTH_COMPONENT32F: number
DEPTH_FUNC: number
DEPTH_RANGE: number
DEPTH_STENCIL: number
DEPTH_STENCIL_ATTACHMENT: number
DEPTH_TEST: number
DEPTH_WRITEMASK: number
DITHER: number
DONT_CARE: number
DRAW_BUFFER0: number
DRAW_BUFFER1: number
DRAW_BUFFER10: number
DRAW_BUFFER11: number
DRAW_BUFFER12: number
DRAW_BUFFER13: number
DRAW_BUFFER14: number
DRAW_BUFFER15: number
DRAW_BUFFER2: number
DRAW_BUFFER3: number
DRAW_BUFFER4: number
DRAW_BUFFER5: number
DRAW_BUFFER6: number
DRAW_BUFFER7: number
DRAW_BUFFER8: number
DRAW_BUFFER9: number
DRAW_FRAMEBUFFER: number
DRAW_FRAMEBUFFER_BINDING: number
DST_ALPHA: number
DST_COLOR: number
DYNAMIC_COPY: number
DYNAMIC_DRAW: number
DYNAMIC_READ: number
ELEMENT_ARRAY_BUFFER: number
ELEMENT_ARRAY_BUFFER_BINDING: number
EQUAL: number
FASTEST: number
FLOAT: number
FLOAT_32_UNSIGNED_INT_24_8_REV: number
FLOAT_MAT2: number
FLOAT_MAT2x3: number
FLOAT_MAT2x4: number
FLOAT_MAT3: number
FLOAT_MAT3x2: number
FLOAT_MAT3x4: number
FLOAT_MAT4: number
FLOAT_MAT4x2: number
FLOAT_MAT4x3: number
FLOAT_VEC2: number
FLOAT_VEC3: number
FLOAT_VEC4: number
FRAGMENT_SHADER: number
FRAGMENT_SHADER_DERIVATIVE_HINT: number
FRAMEBUFFER: number
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: number
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: number
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: number
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: number
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: number
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: number
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number
FRAMEBUFFER_ATTACHMENT_RED_SIZE: number
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number
FRAMEBUFFER_BINDING: number
FRAMEBUFFER_COMPLETE: number
FRAMEBUFFER_DEFAULT: number
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: number
FRAMEBUFFER_UNSUPPORTED: number
FRONT: number
FRONT_AND_BACK: number
FRONT_FACE: number
FUNC_ADD: number
FUNC_REVERSE_SUBTRACT: number
FUNC_SUBTRACT: number
GENERATE_MIPMAP_HINT: number
GEQUAL: number
GREATER: number
GREEN_BITS: number
HALF_FLOAT: number
HIGH_FLOAT: number
HIGH_INT: number
IMPLEMENTATION_COLOR_READ_FORMAT: number
IMPLEMENTATION_COLOR_READ_TYPE: number
INCR: number
INCR_WRAP: number
INT: number
INTERLEAVED_ATTRIBS: number
INT_2_10_10_10_REV: number
INT_SAMPLER_2D: number
INT_SAMPLER_2D_ARRAY: number
INT_SAMPLER_3D: number
INT_SAMPLER_CUBE: number
INT_VEC2: number
INT_VEC3: number
INT_VEC4: number
INVALID_ENUM: number
INVALID_FRAMEBUFFER_OPERATION: number
INVALID_INDEX: number
INVALID_OPERATION: number
INVALID_VALUE: number
INVERT: number
KEEP: number
LEQUAL: number
LESS: number
LINEAR: number
LINEAR_MIPMAP_LINEAR: number
LINEAR_MIPMAP_NEAREST: number
LINES: number
LINE_LOOP: number
LINE_STRIP: number
LINE_WIDTH: number
LINK_STATUS: number
LOW_FLOAT: number
LOW_INT: number
LUMINANCE: number
LUMINANCE_ALPHA: number
MAX: number
MAX_3D_TEXTURE_SIZE: number
MAX_ARRAY_TEXTURE_LAYERS: number
MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number
MAX_COLOR_ATTACHMENTS: number
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: number
MAX_COMBINED_TEXTURE_IMAGE_UNITS: number
MAX_COMBINED_UNIFORM_BLOCKS: number
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: number
MAX_CUBE_MAP_TEXTURE_SIZE: number
MAX_DRAW_BUFFERS: number
MAX_ELEMENTS_INDICES: number
MAX_ELEMENTS_VERTICES: number
MAX_ELEMENT_INDEX: number
MAX_FRAGMENT_INPUT_COMPONENTS: number
MAX_FRAGMENT_UNIFORM_BLOCKS: number
MAX_FRAGMENT_UNIFORM_COMPONENTS: number
MAX_FRAGMENT_UNIFORM_VECTORS: number
MAX_PROGRAM_TEXEL_OFFSET: number
MAX_RENDERBUFFER_SIZE: number
MAX_SAMPLES: number
MAX_SERVER_WAIT_TIMEOUT: number
MAX_TEXTURE_IMAGE_UNITS: number
MAX_TEXTURE_LOD_BIAS: number
MAX_TEXTURE_SIZE: number
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: number
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: number
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: number
MAX_UNIFORM_BLOCK_SIZE: number
MAX_UNIFORM_BUFFER_BINDINGS: number
MAX_VARYING_COMPONENTS: number
MAX_VARYING_VECTORS: number
MAX_VERTEX_ATTRIBS: number
MAX_VERTEX_OUTPUT_COMPONENTS: number
MAX_VERTEX_TEXTURE_IMAGE_UNITS: number
MAX_VERTEX_UNIFORM_BLOCKS: number
MAX_VERTEX_UNIFORM_COMPONENTS: number
MAX_VERTEX_UNIFORM_VECTORS: number
MAX_VIEWPORT_DIMS: number
MEDIUM_FLOAT: number
MEDIUM_INT: number
MIN: number
MIN_PROGRAM_TEXEL_OFFSET: number
MIRRORED_REPEAT: number
NEAREST: number
NEAREST_MIPMAP_LINEAR: number
NEAREST_MIPMAP_NEAREST: number
NEVER: number
NICEST: number
NONE: number
NOTEQUAL: number
NO_ERROR: number
OBJECT_TYPE: number
ONE: number
ONE_MINUS_CONSTANT_ALPHA: number
ONE_MINUS_CONSTANT_COLOR: number
ONE_MINUS_DST_ALPHA: number
ONE_MINUS_DST_COLOR: number
ONE_MINUS_SRC_ALPHA: number
ONE_MINUS_SRC_COLOR: number
OUT_OF_MEMORY: number
PACK_ALIGNMENT: number
PACK_ROW_LENGTH: number
PACK_SKIP_PIXELS: number
PACK_SKIP_ROWS: number
PIXEL_PACK_BUFFER: number
PIXEL_PACK_BUFFER_BINDING: number
PIXEL_UNPACK_BUFFER: number
PIXEL_UNPACK_BUFFER_BINDING: number
POINTS: number
POLYGON_OFFSET_FACTOR: number
POLYGON_OFFSET_FILL: number
POLYGON_OFFSET_UNITS: number
QUERY_RESULT: number
QUERY_RESULT_AVAILABLE: number
R11F_G11F_B10F: number
R16F: number
R16I: number
R16UI: number
R32F: number
R32I: number
R32UI: number
R8: number
R8I: number
R8UI: number
R8_SNORM: number
RASTERIZER_DISCARD: number
READ_BUFFER: number
READ_FRAMEBUFFER: number
READ_FRAMEBUFFER_BINDING: number
RED: number
RED_BITS: number
RED_INTEGER: number
RENDERBUFFER: number
RENDERBUFFER_ALPHA_SIZE: number
RENDERBUFFER_BINDING: number
RENDERBUFFER_BLUE_SIZE: number
RENDERBUFFER_DEPTH_SIZE: number
RENDERBUFFER_GREEN_SIZE: number
RENDERBUFFER_HEIGHT: number
RENDERBUFFER_INTERNAL_FORMAT: number
RENDERBUFFER_RED_SIZE: number
RENDERBUFFER_SAMPLES: number
RENDERBUFFER_STENCIL_SIZE: number
RENDERBUFFER_WIDTH: number
RENDERER: number
REPEAT: number
REPLACE: number
RG: number
RG16F: number
RG16I: number
RG16UI: number
RG32F: number
RG32I: number
RG32UI: number
RG8: number
RG8I: number
RG8UI: number
RG8_SNORM: number
RGB: number
RGB10_A2: number
RGB10_A2UI: number
RGB16F: number
RGB16I: number
RGB16UI: number
RGB32F: number
RGB32I: number
RGB32UI: number
RGB565: number
RGB5_A1: number
RGB8: number
RGB8I: number
RGB8UI: number
RGB8_SNORM: number
RGB9_E5: number
RGBA: number
RGBA16F: number
RGBA16I: number
RGBA16UI: number
RGBA32F: number
RGBA32I: number
RGBA32UI: number
RGBA4: number
RGBA8: number
RGBA8I: number
RGBA8UI: number
RGBA8_SNORM: number
RGBA_INTEGER: number
RGB_INTEGER: number
RG_INTEGER: number
SAMPLER_2D: number
SAMPLER_2D_ARRAY: number
SAMPLER_2D_ARRAY_SHADOW: number
SAMPLER_2D_SHADOW: number
SAMPLER_3D: number
SAMPLER_BINDING: number
SAMPLER_CUBE: number
SAMPLER_CUBE_SHADOW: number
SAMPLES: number
SAMPLE_ALPHA_TO_COVERAGE: number
SAMPLE_BUFFERS: number
SAMPLE_COVERAGE: number
SAMPLE_COVERAGE_INVERT: number
SAMPLE_COVERAGE_VALUE: number
SCISSOR_BOX: number
SCISSOR_TEST: number
SEPARATE_ATTRIBS: number
SHADER_TYPE: number
SHADING_LANGUAGE_VERSION: number
SHORT: number
SIGNALED: number
SIGNED_NORMALIZED: number
SRC_ALPHA: number
SRC_ALPHA_SATURATE: number
SRC_COLOR: number
SRGB: number
SRGB8: number
SRGB8_ALPHA8: number
STATIC_COPY: number
STATIC_DRAW: number
STATIC_READ: number
STENCIL: number
STENCIL_ATTACHMENT: number
STENCIL_BACK_FAIL: number
STENCIL_BACK_FUNC: number
STENCIL_BACK_PASS_DEPTH_FAIL: number
STENCIL_BACK_PASS_DEPTH_PASS: number
STENCIL_BACK_REF: number
STENCIL_BACK_VALUE_MASK: number
STENCIL_BACK_WRITEMASK: number
STENCIL_BITS: number
STENCIL_BUFFER_BIT: number
STENCIL_CLEAR_VALUE: number
STENCIL_FAIL: number
STENCIL_FUNC: number
STENCIL_INDEX8: number
STENCIL_PASS_DEPTH_FAIL: number
STENCIL_PASS_DEPTH_PASS: number
STENCIL_REF: number
STENCIL_TEST: number
STENCIL_VALUE_MASK: number
STENCIL_WRITEMASK: number
STREAM_COPY: number
STREAM_DRAW: number
STREAM_READ: number
SUBPIXEL_BITS: number
SYNC_CONDITION: number
SYNC_FENCE: number
SYNC_FLAGS: number
SYNC_FLUSH_COMMANDS_BIT: number
SYNC_GPU_COMMANDS_COMPLETE: number
SYNC_STATUS: number
TEXTURE: number
TEXTURE0: number
TEXTURE1: number
TEXTURE10: number
TEXTURE11: number
TEXTURE12: number
TEXTURE13: number
TEXTURE14: number
TEXTURE15: number
TEXTURE16: number
TEXTURE17: number
TEXTURE18: number
TEXTURE19: number
TEXTURE2: number
TEXTURE20: number
TEXTURE21: number
TEXTURE22: number
TEXTURE23: number
TEXTURE24: number
TEXTURE25: number
TEXTURE26: number
TEXTURE27: number
TEXTURE28: number
TEXTURE29: number
TEXTURE3: number
TEXTURE30: number
TEXTURE31: number
TEXTURE4: number
TEXTURE5: number
TEXTURE6: number
TEXTURE7: number
TEXTURE8: number
TEXTURE9: number
TEXTURE_2D: number
TEXTURE_2D_ARRAY: number
TEXTURE_3D: number
TEXTURE_BASE_LEVEL: number
TEXTURE_BINDING_2D: number
TEXTURE_BINDING_2D_ARRAY: number
TEXTURE_BINDING_3D: number
TEXTURE_BINDING_CUBE_MAP: number
TEXTURE_COMPARE_FUNC: number
TEXTURE_COMPARE_MODE: number
TEXTURE_CUBE_MAP: number
TEXTURE_CUBE_MAP_NEGATIVE_X: number
TEXTURE_CUBE_MAP_NEGATIVE_Y: number
TEXTURE_CUBE_MAP_NEGATIVE_Z: number
TEXTURE_CUBE_MAP_POSITIVE_X: number
TEXTURE_CUBE_MAP_POSITIVE_Y: number
TEXTURE_CUBE_MAP_POSITIVE_Z: number
TEXTURE_IMMUTABLE_FORMAT: number
TEXTURE_IMMUTABLE_LEVELS: number
TEXTURE_MAG_FILTER: number
TEXTURE_MAX_LEVEL: number
TEXTURE_MAX_LOD: number
TEXTURE_MIN_FILTER: number
TEXTURE_MIN_LOD: number
TEXTURE_WRAP_R: number
TEXTURE_WRAP_S: number
TEXTURE_WRAP_T: number
TIMEOUT_EXPIRED: number
TIMEOUT_IGNORED: number
TRANSFORM_FEEDBACK: number
TRANSFORM_FEEDBACK_ACTIVE: number
TRANSFORM_FEEDBACK_BINDING: number
TRANSFORM_FEEDBACK_BUFFER: number
TRANSFORM_FEEDBACK_BUFFER_BINDING: number
TRANSFORM_FEEDBACK_BUFFER_MODE: number
TRANSFORM_FEEDBACK_BUFFER_SIZE: number
TRANSFORM_FEEDBACK_BUFFER_START: number
TRANSFORM_FEEDBACK_PAUSED: number
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: number
TRANSFORM_FEEDBACK_VARYINGS: number
TRIANGLES: number
TRIANGLE_FAN: number
TRIANGLE_STRIP: number
UNIFORM_ARRAY_STRIDE: number
UNIFORM_BLOCK_ACTIVE_UNIFORMS: number
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: number
UNIFORM_BLOCK_BINDING: number
UNIFORM_BLOCK_DATA_SIZE: number
UNIFORM_BLOCK_INDEX: number
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: number
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: number
UNIFORM_BUFFER: number
UNIFORM_BUFFER_BINDING: number
UNIFORM_BUFFER_OFFSET_ALIGNMENT: number
UNIFORM_BUFFER_SIZE: number
UNIFORM_BUFFER_START: number
UNIFORM_IS_ROW_MAJOR: number
UNIFORM_MATRIX_STRIDE: number
UNIFORM_OFFSET: number
UNIFORM_SIZE: number
UNIFORM_TYPE: number
UNPACK_ALIGNMENT: number
UNPACK_COLORSPACE_CONVERSION_WEBGL: number
UNPACK_FLIP_Y_WEBGL: number
UNPACK_IMAGE_HEIGHT: number
UNPACK_PREMULTIPLY_ALPHA_WEBGL: number
UNPACK_ROW_LENGTH: number
UNPACK_SKIP_IMAGES: number
UNPACK_SKIP_PIXELS: number
UNPACK_SKIP_ROWS: number
UNSIGNALED: number
UNSIGNED_BYTE: number
UNSIGNED_INT: number
UNSIGNED_INT_10F_11F_11F_REV: number
UNSIGNED_INT_24_8: number
UNSIGNED_INT_2_10_10_10_REV: number
UNSIGNED_INT_5_9_9_9_REV: number
UNSIGNED_INT_SAMPLER_2D: number
UNSIGNED_INT_SAMPLER_2D_ARRAY: number
UNSIGNED_INT_SAMPLER_3D: number
UNSIGNED_INT_SAMPLER_CUBE: number
UNSIGNED_INT_VEC2: number
UNSIGNED_INT_VEC3: number
UNSIGNED_INT_VEC4: number
UNSIGNED_NORMALIZED: number
UNSIGNED_SHORT: number
UNSIGNED_SHORT_4_4_4_4: number
UNSIGNED_SHORT_5_5_5_1: number
UNSIGNED_SHORT_5_6_5: number
VALIDATE_STATUS: number
VENDOR: number
VERSION: number
VERTEX_ARRAY_BINDING: number
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number
VERTEX_ATTRIB_ARRAY_DIVISOR: number
VERTEX_ATTRIB_ARRAY_ENABLED: number
VERTEX_ATTRIB_ARRAY_INTEGER: number
VERTEX_ATTRIB_ARRAY_NORMALIZED: number
VERTEX_ATTRIB_ARRAY_POINTER: number
VERTEX_ATTRIB_ARRAY_SIZE: number
VERTEX_ATTRIB_ARRAY_STRIDE: number
VERTEX_ATTRIB_ARRAY_TYPE: number
VERTEX_SHADER: number
VIEWPORT: number
WAIT_FAILED: number
ZERO: number
drawingBufferHeight: number
drawingBufferWidth: number

Methods

  • activeTexture(texture: number): void
  • Parameters

    • texture: number

    Returns void

  • Parameters

    Returns void

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

    Returns void

  • beginTransformFeedback(primitiveMode: number): void
  • Parameters

    • primitiveMode: number

    Returns void

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

    Returns void

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

    Returns void

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

    Returns void

  • 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

  • Parameters

    Returns void

  • Parameters

    Returns void

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

    Returns void

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

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

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

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

    Returns void

  • blendEquation(mode: number): void
  • Parameters

    • mode: number

    Returns void

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

    • modeRGB: number
    • modeAlpha: number

    Returns void

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

    • sfactor: number
    • dfactor: number

    Returns void

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

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

    Returns void

  • 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(target: number, size: number, usage: number): void
  • bufferData(target: number, srcData: null | ArrayBufferView | ArrayBuffer, 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

    Returns void

  • Parameters

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

    Returns void

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

    Returns void

  • Parameters

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

    Returns void

  • checkFramebufferStatus(target: number): number
  • Parameters

    • target: number

    Returns number

  • clear(mask: number): void
  • Parameters

    • mask: number

    Returns void

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

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

    Returns void

  • 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(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(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(red: number, green: number, blue: number, alpha: number): void
  • Parameters

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

    Returns void

  • clearDepth(depth: number): void
  • Parameters

    • depth: number

    Returns void

  • clearStencil(s: number): void
  • Parameters

    • s: number

    Returns void

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

    Returns number

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

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

    Returns void

  • Parameters

    Returns void

  • 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(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(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(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(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(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(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(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

  • Returns null | WebGLBuffer

  • Returns null | WebGLFramebuffer

  • Returns null | WebGLProgram

  • Returns null | WebGLQuery

  • Returns null | WebGLRenderbuffer

  • Returns null | WebGLSampler

  • Parameters

    • type: number

    Returns null | WebGLShader

  • Returns null | WebGLTexture

  • Returns null | WebGLTransformFeedback

  • Returns null | WebGLVertexArrayObject

  • cullFace(mode: number): void
  • Parameters

    • mode: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • depthFunc(func: number): void
  • Parameters

    • func: number

    Returns void

  • depthMask(flag: boolean): void
  • Parameters

    • flag: boolean

    Returns void

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

    • zNear: number
    • zFar: number

    Returns void

  • Parameters

    Returns void

  • disable(cap: number): void
  • Parameters

    • cap: number

    Returns void

  • disableVertexAttribArray(index: number): void
  • Parameters

    • index: number

    Returns void

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

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

    Returns void

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

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

    Returns void

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

    • buffers: number[]

    Returns void

  • Parameters

    Returns void

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

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

    Returns void

  • 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(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(cap: number): void
  • Parameters

    • cap: number

    Returns void

  • enableVertexAttribArray(index: number): void
  • Parameters

    • index: number

    Returns void

  • endQuery(target: number): void
  • Parameters

    • target: number

    Returns void

  • endTransformFeedback(): void
  • Returns void

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

    • condition: number
    • flags: number

    Returns null | WebGLSync

  • finish(): void
  • Returns void

  • flush(): void
  • Returns void

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

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

    Returns void

  • 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(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(mode: number): void
  • Parameters

    • mode: number

    Returns void

  • generateMipmap(target: number): void
  • Parameters

    • target: number

    Returns void

  • Parameters

    Returns null | WebGLActiveInfo

  • Parameters

    Returns null | WebGLActiveInfo

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

    Returns null | string

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

    Returns any

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

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns null | WebGLShader[]

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

    Returns number

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

    • target: number
    • pname: number

    Returns any

  • 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

  • Returns null | WebGLContextAttributes

  • getError(): number
  • Returns number

  • 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(program: WebGLProgram, name: string): number
  • Parameters

    Returns number

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

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

    Returns any

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

    • target: number
    • index: number

    Returns any

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

    • target: number
    • internalformat: number
    • pname: number

    Returns any

  • getParameter(pname: number): any
  • Parameters

    • pname: number

    Returns any

  • Parameters

    Returns null | string

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

    Returns any

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

    • target: number
    • pname: number

    Returns null | WebGLQuery

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

    Returns any

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

    • target: number
    • pname: number

    Returns any

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

    Returns any

  • Parameters

    Returns null | string

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

    Returns any

  • Parameters

    • shadertype: number
    • precisiontype: number

    Returns null | WebGLShaderPrecisionFormat

  • Parameters

    Returns null | string

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

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

    Returns any

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

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns null | WebGLActiveInfo

  • Parameters

    Returns any

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

    Returns number

  • Parameters

    Returns null | number[]

  • Parameters

    Returns null | Iterable<number>

  • Parameters

    Returns null | WebGLUniformLocation

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

    • index: number
    • pname: number

    Returns any

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

    • index: number
    • pname: number

    Returns number

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

    • target: number
    • mode: number

    Returns void

  • 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(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

  • Parameters

    Returns boolean

  • isContextLost(): boolean
  • Returns boolean

  • isEnabled(cap: number): boolean
  • Parameters

    • cap: number

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • lineWidth(width: number): void
  • Parameters

    • width: number

    Returns void

  • Parameters

    Returns void

  • pauseTransformFeedback(): void
  • Returns void

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

    • pname: number
    • param: number | boolean

    Returns void

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

    • factor: number
    • units: number

    Returns void

  • readBuffer(src: number): void
  • Parameters

    • src: number

    Returns void

  • 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(target: number, internalformat: number, width: number, height: number): void
  • Parameters

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

    Returns void

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

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

    • value: number
    • invert: boolean

    Returns void

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

    Returns void

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

    Returns void

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

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

    Returns void

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

    Returns void

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

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

    Returns void

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

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

    Returns void

  • stencilMask(mask: number): void
  • Parameters

    • mask: number

    Returns void

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

    • face: number
    • mask: number

    Returns void

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

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

    Returns void

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

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

    Returns void

  • 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(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(target: number, pname: number, param: number): void
  • Parameters

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

    Returns void

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

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

    Returns void

  • 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(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(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(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(program: WebGLProgram, varyings: string[], bufferMode: number): void
  • transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: number): void
  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

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

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

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

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

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

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

    • index: number
    • x: number

    Returns void

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

    Returns void

  • Parameters

    Returns void

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

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

    Returns void

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

    Returns void

  • Parameters

    Returns void

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

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

    Returns void

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

    Returns void

  • Parameters

    Returns void

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

    Returns void

  • Parameters

    Returns void

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

    • index: number
    • divisor: number

    Returns void

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

    Returns void

  • Parameters

    Returns void

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

    Returns void

  • Parameters

    Returns void

  • 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(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(x: number, y: number, width: number, height: number): void
  • Parameters

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

    Returns void

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

    Returns void

Generated using TypeDoc