WebGLRenderingContext

WebGLRenderingContext Class.

new WebGLRenderingContext()

Constructs an WebGLRenderingContext.

activeTexture(texture)

Call an texture.

Arguments:
texture (Integer)

texture settings

attachShader(program, shader)

Attach a shader.

Arguments:
program (WebGLProgram)

Program settings

shader (WebGLShader)

Shader settings

bindAttribLocation(program, vertex, name)

Set attributes.

Arguments:
program (WebGLProgram)

Program settings

vertex (Integer)

Vertex

name (String)

Name

bindBuffer(target, buffer)

Set a buffer.

Arguments:
target (Integer)

Target

buffer (WebGLBuffer)

Buffer

bindFramebuffer(target, buffer)

Set a framebuffer.

Arguments:
target (Integer)

Target

buffer (WebGLFramebuffer)

Buffer

bindRenderbuffer(target, buffer)

Set a renderbuffer.

Arguments:
target (Integer)

Target

buffer (WebGLRenderbuffer)

Buffer

bindTexture(target, texture)

Set a texture.

Arguments:
target (Integer)

Target

texture (WebGLTexture)

Texture

blendEquation(mode)

Blend an equation.

Arguments:
mode (Integer)

Mode

blendEquationSeparate(rgb, alpha)

Blend a separate equation.

Arguments:
rgb (Integer)

Mode RGB

alpha (Integer)

Mode Alpha

blendFunc(sfactor, dfactor)

Blend a function.

Arguments:
sfactor (Integer)

S-factor

dfactor (Integer)

D-factor

blendFuncSeparate(srcRgb, dstRgb, srcAlpha, dstAlpha)

Blend a separate function.

Arguments:
srcRgb (Integer)

RGB Source

dstRgb (Integer)

RGB Destination

srcAlpha (Integer)

Alpha Source

dstAlpha (Integer)

Alpha Destination

bufferData(target, array, usage)

Buffer data.

Arguments:
target (Integer)

Target

array (WebGLBuffer)

Buffer

usage (Integer)

Usage

bufferSubData(target, offset, array)

Buffer sub data.

Arguments:
target (Integer)

Target

offset (Integer)

Offset

array (WebGLBuffer)

Buffer

clear()

Clears a context.

clearColor(red, green, blue, alpha)

Clears a color in a context.

Arguments:
red (Float)

Red value

green (Float)

Green value

blue (Float)

Blue value

alpha (Float)

Alpha value

clearDepth(depth)

Clears a depth in a context.

Arguments:
depth (Float)

depth size

clearStencil(stencil)

Clears a stencil in a context.

Arguments:
stencil (Integer)

Stencil

colorMask([red][, green][, blue][, alpha])

Mask a color in a context.

Arguments:
red (Float)

Red value

green (Float)

Green value

blue (Float)

Blue value

alpha (Float)

Alpha value

compileShader([shader])

Compile a shader.

Arguments:
shader (WebGLShader)

Shader

copyTexImage2D(target, level, internal, x_pos, y_pos, width, height, border)

Copy an texture.

Arguments:
target (Integer)

Target

level (Integer)

Level

internal (Integer)

Internal format

x_pos (Integer)

X position

y_pos (Integer)

Y position

width (Integer)

Width

height (Integer)

Height

border (Integer)

Border

copyTexSubImage2D(target, level, internal, x_pos, y_pos, width, height, border)

Copy an texture.

Arguments:
target (Integer)

Target

level (Integer)

Level

internal (Integer)

Internal format

x_pos (Integer)

X position

y_pos (Integer)

Y position

width (Integer)

Width

height (Integer)

Height

border (Integer)

Border

createBuffer()

Create a buffer.

Returns: WebGLBuffer

buffer

createFrameBuffer()

Create a Framebuffer.

Returns: WebGLFramebuffer

buffer

createProgram()

Create a Program.

Returns: WebGLProgram

program

createRenderBuffer()

Create a Renderbuffer.

Returns: WebGLRenderbuffer

buffer

createShader(type)

Create a Shader.

Arguments:
type (Integer)

shader type

Returns: WebGLShader

shader

createTexture()

Create a Texture.

Returns: WebGLTexture

texture

cullFace(mode)

Cullface.

Arguments:
mode (Integer)

CullFace mode

deleteBuffer(Object)

Delete a deleteBuffer from a context.

Arguments:
Object (WebGLBuffer)

WebGLBuffer instance

deleteFramebuffer(Object)

Delete a deleteFramebuffer from a context.

Arguments:
Object (WebGLFramebuffer)

WebGLFramebuffer instance

deleteProgram(Object)

Delete a deleteProgram from a context.

Arguments:
Object (WebGLProgram)

WebGLProgram instance

deleteRenderbuffer(Object)

Delete a deleteRenderbuffer from a context.

Arguments:
Object (WebGLRenderbuffer)

WebGLRenderbuffer instance

deleteShader(Object)

Delete a deleteShader from a context.

Arguments:
Object (WebGLShader)

WebGLShader instance

deleteTexture(Object)

Delete a deleteTexture from a context.

Arguments:
Object (WebGLTexture)

WebGLTexture instance

depthFunc(func)

Start a function on a depth.

Arguments:
func (Integer)

Function

depthMask(flag)

Start a mask on a depth.

Arguments:
flag (Boolean)

Flag

depthRange(near, far)

Start a range on a depth.

Arguments:
near (Float)

Near

far (Float)

Far

detachShader(program, shader)

Remove a shader.

Arguments:
program (WebGLProgram)

Program

shader (WebGLShader)

Shader

disable(cap)

Disable a context.

Arguments:
cap (Integer)

Cap

disableVertexAttribArray(cap)

Disable a vertex array.

Arguments:
cap (Integer)

Cap

drawArrays(mode, first, count)

Draw Arrays.

Arguments:
mode (Integer)

Mode

first (Integer)

First

count (Integer)

Count

drawElements(mode, first, count, offset)

Draw Elements.

Arguments:
mode (Integer)

Mode

first (Integer)

First

count (Integer)

Count

offset (Integer)

Offset

enable(bits)

Enable a context.

Arguments:
bits (Integer)

Bits

enableVertexAttribArray(attr)

Enable a vertex array.

Arguments:
attr (Integer)

Attributes

finish()

Finish a Context.

flush()

Flush a Context.

framebufferRenderbuffer(target, attach, renderbuffer_target, renderbuffer)

Foo's the bar's?.

Arguments:
target (Integer)

Target

attach (Integer)

Attachment

renderbuffer_target (Integer)

Renderbuffer target

renderbuffer (WebGLRenderbuffer)

Renderbuffer target

framebufferTexture2D(target, attach, texture_target, texture, level)

Bar's the Foo's?.

Arguments:
target (Integer)

Target

attach (Integer)

Attachment

texture_target (Integer)

Texture target

texture (WebGLTexture)

Texture target

level (Integer)

level

frontFace(mode)

Frontface.

Arguments:
mode (Integer)

FrontFace mode

generateMipmap(target)

Generate a Mipmap.

Arguments:
target (Integer)

Target

getActiveAttrib(program, index)

Get the active attributes of this context.

Arguments:
program (WebGLProgram)

Program

index (Integer)

Attribute index

Returns: WebGLActiveInfo

Information about the attributes

getActiveUniform(target)

Get the active uniform location of this context.

Arguments:
target (Integer)

Target

getAttribLocation(program, attr)

Get the location of a attribute.

Arguments:
program (WebGLProgram)

Program

attr (String)

Attribute

Returns: WebGLUniformLocation

location

getError()

Retrieve the most recent error.

Returns: Integer

Errorcode

getExtension()

Get an WebGL extension.

Returns: Void

null

getParameter(program, attr)

Get parameter of a program.

Arguments:
program (WebGLProgram)

Program

attr (Integer)

Attribute

Returns: Any

value

getProgramInfoLog(program)

Get information about a program.

Arguments:
program (WebGLProgram)

Program

Returns: String

log

getShaderInfoLog(shader)

Get information about a shader.

Arguments:
shader (WebGLShader)

Shader

Returns: String

log

getShaderParameter(shader, param)

Get parameter from a shader.

Arguments:
shader (WebGLShader)

Shader

param (Integer)

Parameter name

Returns: Integer

value

getShaderPrecisionFormat(shader, precision)

Get the precision of a shader.

Arguments:
shader (Integer)

Shadertype

precision (Integer)

Precisiontype

Returns: WebGLShaderPrecisionFormat

format

getUniformLocation(program, name)

Get a location in a Context.

Arguments:
program (WebGLProgram)

Program

name (String)

Name

Returns: WebGLUniformLocation

location

isContextLost()

Check if the context has been lost.

Returns: Boolean

true

lineWidth(width)

Set the width of a line.

Arguments:
width (Integer)

Width size

linkProgram(program)

Link a program to the context.

Arguments:
program (WebGLProgram)

Program

pixelStorei(param, value)

Store a parameter.

Arguments:
param (Integer)

parameter

value (Integer)

The value to store

renderBufferStorage(target, internalFormat, width, height)

Render a buffer.

Arguments:
target (Integer)

Target

internalFormat (Integer)

Internal format

width (Integer)

Width

height (Integer)

Height

shaderSource(shader, source)

Set the source on a shader.

Arguments:
shader (WebGLShader)

Shader

source (String)

Source

texImage2D(target, level, internalFormat, width, height, border, format, type)

Texture of an image.

Arguments:
target (Integer)

Target

level (Integer)

Level

internalFormat (Integer)

Internal format

width (Integer)

Width

height (Integer)

Height

border (Integer)

Border

format (Integer)

Format

type (Integer)

Type

texParameteri(target, name, value)

Set a parameter value on a Texture.

Arguments:
target (Integer)

Target

name (Integer)

Parameter name

value (Integer)

Value

uniform1f(x_pos, y_pos, z_index, w_pos)

Performs a uniform1f.

Arguments:
x_pos (Integer)

X_Pos value

y_pos (Integer)

Y_Pos value

z_index (Integer)

Z_Index value

w_pos (Integer)

W_Pos value

uniform1fv(location, array)

Performs a uniform1fv.

Arguments:
location (WebGLUniformLocation)

Location

array (Float[])

Array

uniform1i(location, x_pos, y_pos, z_index, width)

Performs a uniform1i.

Arguments:
location (WebGLUniformLocation)

Location

x_pos (Integer)

X_POS value

y_pos (Integer)

Y_POS value

z_index (Integer)

Z_INDEX value

width (Integer)

WIDTH value

uniform1iv(location, transpose, array)

Performs a uniform1iv.

Arguments:
location (WebGLUniformLocation)

Location

transpose (Boolean)

Transpose the matrix

array (Float[])

Array

uniform2f(x_pos, y_pos, z_index, w_pos)

Performs a uniform2f.

Arguments:
x_pos (Integer)

X_Pos value

y_pos (Integer)

Y_Pos value

z_index (Integer)

Z_Index value

w_pos (Integer)

W_Pos value

uniform2fv(location, array)

Performs a uniform2fv.

Arguments:
location (WebGLUniformLocation)

Location

array (Float[])

Array

uniform2i(location, x_pos, y_pos, z_index, width)

Performs a uniform2i.

Arguments:
location (WebGLUniformLocation)

Location

x_pos (Integer)

X_POS value

y_pos (Integer)

Y_POS value

z_index (Integer)

Z_INDEX value

width (Integer)

WIDTH value

uniform2iv(location, transpose, array)

Performs a uniform2iv.

Arguments:
location (WebGLUniformLocation)

Location

transpose (Boolean)

Transpose the matrix

array (Float[])

Array

uniform3f(x_pos, y_pos, z_index, w_pos)

Performs a uniform3f.

Arguments:
x_pos (Integer)

X_Pos value

y_pos (Integer)

Y_Pos value

z_index (Integer)

Z_Index value

w_pos (Integer)

W_Pos value

uniform3fv(location, array)

Performs a uniform3fv.

Arguments:
location (WebGLUniformLocation)

Location

array (Float[])

Array

uniform3i(location, x_pos, y_pos, z_index, width)

Performs a uniform3i.

Arguments:
location (WebGLUniformLocation)

Location

x_pos (Integer)

X_POS value

y_pos (Integer)

Y_POS value

z_index (Integer)

Z_INDEX value

width (Integer)

WIDTH value

uniform3iv(location, transpose, array)

Performs a uniform3iv.

Arguments:
location (WebGLUniformLocation)

Location

transpose (Boolean)

Transpose the matrix

array (Float[])

Array

uniform4f(x_pos, y_pos, z_index, w_pos)

Performs a uniform4f.

Arguments:
x_pos (Integer)

X_Pos value

y_pos (Integer)

Y_Pos value

z_index (Integer)

Z_Index value

w_pos (Integer)

W_Pos value

uniform4fv(location, array)

Performs a uniform4fv.

Arguments:
location (WebGLUniformLocation)

Location

array (Float[])

Array

uniform4i(location, x_pos, y_pos, z_index, width)

Performs a uniform4i.

Arguments:
location (WebGLUniformLocation)

Location

x_pos (Integer)

X_POS value

y_pos (Integer)

Y_POS value

z_index (Integer)

Z_INDEX value

width (Integer)

WIDTH value

uniform4iv(location, transpose, array)

Performs a uniform4iv.

Arguments:
location (WebGLUniformLocation)

Location

transpose (Boolean)

Transpose the matrix

array (Float[])

Array

useProgram(program)

Use a certain program.

Arguments:
program (WebGLProgram)

Program

vertexAttrib1f(index, v0, v1, v2, v3)

Performs a vertexAttrib1f.

Arguments:
index (Integer)

Index

v0 (Integer)

V0 value

v1 (Integer)

V1 value

v2 (Integer)

V2 value

v3 (Integer)

V3 value

vertexAttrib1fv(index, array)

Performs a vertexAttrib1fv.

Arguments:
index (Integer)

Index

array (Float[])

Array

vertexAttrib2f(index, v0, v1, v2, v3)

Performs a vertexAttrib2f.

Arguments:
index (Integer)

Index

v0 (Integer)

V0 value

v1 (Integer)

V1 value

v2 (Integer)

V2 value

v3 (Integer)

V3 value

vertexAttrib2fv(index, array)

Performs a vertexAttrib2fv.

Arguments:
index (Integer)

Index

array (Float[])

Array

vertexAttrib3f(index, v0, v1, v2, v3)

Performs a vertexAttrib3f.

Arguments:
index (Integer)

Index

v0 (Integer)

V0 value

v1 (Integer)

V1 value

v2 (Integer)

V2 value

v3 (Integer)

V3 value

vertexAttrib3fv(index, array)

Performs a vertexAttrib3fv.

Arguments:
index (Integer)

Index

array (Float[])

Array

vertexAttrib4f(index, v0, v1, v2, v3)

Performs a vertexAttrib4f.

Arguments:
index (Integer)

Index

v0 (Integer)

V0 value

v1 (Integer)

V1 value

v2 (Integer)

V2 value

v3 (Integer)

V3 value

vertexAttrib4fv(index, array)

Performs a vertexAttrib4fv.

Arguments:
index (Integer)

Index

array (Float[])

Array

vertexAttribPointer(attr, size, type, normalized, stride, offset)

Create a pointer to an attribute.

Arguments:
attr (Integer)

Attribute

size (Integer)

Size

type (Integer)

Type

normalized (Boolean)

Normalized

stride (Integer)

Stride

offset (Integer)

Offset

viewPort(x_pos, y_pos, width, height)

Set the viewport to a certain position.

Arguments:
x_pos (Integer)

X position

y_pos (Integer)

Y position

width (Integer)

width size

height (Integer)

Height size

ACTIVE_ATTRIBUTES(readonly)

  • Type: Integer

Constant name for ACTIVE_ATTRIBUTES.

ACTIVE_ATTRIBUTE_MAX_LENGTH(readonly)

  • Type: Integer

Constant name for ACTIVE_ATTRIBUTE_MAX_LENGTH.

ACTIVE_TEXTURE(readonly)

  • Type: Integer

Constant name for ACTIVE_TEXTURE.

ACTIVE_UNIFORMS(readonly)

  • Type: Integer

Constant name for ACTIVE_UNIFORMS.

ACTIVE_UNIFORM_MAX_LENGTH(readonly)

  • Type: Integer

Constant name for ACTIVE_UNIFORM_MAX_LENGTH.

ALIASED_LINE_WIDTH_RANGE(readonly)

  • Type: Integer

Constant name for ALIASED_LINE_WIDTH_RANGE.

ALIASED_POINT_SIZE_RANGE(readonly)

  • Type: Integer

Constant name for ALIASED_POINT_SIZE_RANGE.

ALPHA(readonly)

  • Type: Integer

Constant name for ALPHA.

ALPHA_BITS(readonly)

  • Type: Integer

Constant name for ALPHA_BITS.

ALWAYS(readonly)

  • Type: Integer

Constant name for ALWAYS.

ARRAY_BUFFER(readonly)

  • Type: Integer

Constant name for ARRAY_BUFFER.

ARRAY_BUFFER_BINDING(readonly)

  • Type: Integer

Constant name for ARRAY_BUFFER_BINDING.

ATTACHED_SHADERS(readonly)

  • Type: Integer

Constant name for ATTACHED_SHADERS.

BACK(readonly)

  • Type: Integer

Constant name for BACK.

BLEND(readonly)

  • Type: Integer

Constant name for BLEND.

BLEND_COLOR(readonly)

  • Type: Integer

Constant name for BLEND_COLOR.

BLEND_DST_ALPHA(readonly)

  • Type: Integer

Constant name for BLEND_DST_ALPHA.

BLEND_DST_RGB(readonly)

  • Type: Integer

Constant name for BLEND_DST_RGB.

BLEND_EQUATION(readonly)

  • Type: Integer

Constant name for BLEND_EQUATION.

BLEND_EQUATION_ALPHA(readonly)

  • Type: Integer

Constant name for BLEND_EQUATION_ALPHA.

BLEND_EQUATION_RGB(readonly)

  • Type: Integer

Constant name for BLEND_EQUATION_RGB.

BLEND_SRC_ALPHA(readonly)

  • Type: Integer

Constant name for BLEND_SRC_ALPHA.

BLEND_SRC_RGB(readonly)

  • Type: Integer

Constant name for BLEND_SRC_RGB.

BLUE_BITS(readonly)

  • Type: Integer

Constant name for BLUE_BITS.

BOOL(readonly)

  • Type: Integer

Constant name for BOOL.

BOOL_VEC2(readonly)

  • Type: Integer

Constant name for BOOL_VEC2.

BOOL_VEC3(readonly)

  • Type: Integer

Constant name for BOOL_VEC3.

BOOL_VEC4(readonly)

  • Type: Integer

Constant name for BOOL_VEC4.

BROWSER_DEFAULT_WEBGL(readonly)

  • Type: Integer

Constant name for BROWSER_DEFAULT_WEBGL.

BUFFER_SIZE(readonly)

  • Type: Integer

Constant name for BUFFER_SIZE.

BUFFER_USAGE(readonly)

  • Type: Integer

Constant name for BUFFER_USAGE.

BYTE(readonly)

  • Type: Integer

Constant name for BYTE.

CCW(readonly)

  • Type: Integer

Constant name for CCW.

CLAMP_TO_EDGE(readonly)

  • Type: Integer

Constant name for CLAMP_TO_EDGE.

COLOR_ATTACHMENT0(readonly)

  • Type: Integer

Constant name for COLOR_ATTACHMENT0.

COLOR_BUFFER_BIT(readonly)

  • Type: Integer

Constant name for COLOR_BUFFER_BIT.

COLOR_CLEAR_VALUE(readonly)

  • Type: Integer

Constant name for COLOR_CLEAR_VALUE.

COLOR_WRITEMASK(readonly)

  • Type: Integer

Constant name for COLOR_WRITEMASK.

COMPILE_STATUS(readonly)

  • Type: Integer

Constant name for COMPILE_STATUS.

COMPRESSED_TEXTURE_FORMATS(readonly)

  • Type: Integer

Constant name for COMPRESSED_TEXTURE_FORMATS.

CONSTANT_ALPHA(readonly)

  • Type: Integer

Constant name for CONSTANT_ALPHA.

CONSTANT_COLOR(readonly)

  • Type: Integer

Constant name for CONSTANT_COLOR.

CONTEXT_LOST_WEBGL(readonly)

  • Type: Integer

Constant name for CONTEXT_LOST_WEBGL.

CULL_FACE(readonly)

  • Type: Integer

Constant name for CULL_FACE.

CULL_FACE_MODE(readonly)

  • Type: Integer

Constant name for CULL_FACE_MODE.

CURRENT_PROGRAM(readonly)

  • Type: Integer

Constant name for CURRENT_PROGRAM.

CURRENT_VERTEX_ATTRIB(readonly)

  • Type: Integer

Constant name for CURRENT_VERTEX_ATTRIB.

CW(readonly)

  • Type: Integer

Constant name for CW.

DECR(readonly)

  • Type: Integer

Constant name for DECR.

DECR_WRAP(readonly)

  • Type: Integer

Constant name for DECR_WRAP.

DELETE_STATUS(readonly)

  • Type: Integer

Constant name for DELETE_STATUS.

DEPTH_ATTACHMENT(readonly)

  • Type: Integer

Constant name for DEPTH_ATTACHMENT.

DEPTH_BITS(readonly)

  • Type: Integer

Constant name for DEPTH_BITS.

DEPTH_BUFFER_BIT(readonly)

  • Type: Integer

Constant name for DEPTH_BUFFER_BIT.

DEPTH_CLEAR_VALUE(readonly)

  • Type: Integer

Constant name for DEPTH_CLEAR_VALUE.

DEPTH_COMPONENT(readonly)

  • Type: Integer

Constant name for DEPTH_COMPONENT.

DEPTH_COMPONENT16(readonly)

  • Type: Integer

Constant name for DEPTH_COMPONENT16.

DEPTH_FUNC(readonly)

  • Type: Integer

Constant name for DEPTH_FUNC.

DEPTH_RANGE(readonly)

  • Type: Integer

Constant name for DEPTH_RANGE.

DEPTH_STENCIL(readonly)

  • Type: Integer

Constant name for DEPTH_STENCIL.

DEPTH_STENCIL_ATTACHMENT(readonly)

  • Type: Integer

Constant name for DEPTH_STENCIL_ATTACHMENT.

DEPTH_TEST(readonly)

  • Type: Integer

Constant name for DEPTH_TEST.

DEPTH_WRITEMASK(readonly)

  • Type: Integer

Constant name for DEPTH_WRITEMASK.

DITHER(readonly)

  • Type: Integer

Constant name for DITHER.

DONT_CARE(readonly)

  • Type: Integer

Constant name for DONT_CARE.

DST_ALPHA(readonly)

  • Type: Integer

Constant name for DST_ALPHA.

DST_COLOR(readonly)

  • Type: Integer

Constant name for DST_COLOR.

DYNAMIC_DRAW(readonly)

  • Type: Integer

Constant name for DYNAMIC_DRAW.

ELEMENT_ARRAY_BUFFER(readonly)

  • Type: Integer

Constant name for ELEMENT_ARRAY_BUFFER.

ELEMENT_ARRAY_BUFFER_BINDING(readonly)

  • Type: Integer

Constant name for ELEMENT_ARRAY_BUFFER_BINDING.

EQUAL(readonly)

  • Type: Integer

Constant name for EQUAL.

ES_VERSION_2_0(readonly)

  • Type: Integer

Constant name for ES_VERSION_2_0.

EXTENSIONS(readonly)

  • Type: Integer

Constant name for EXTENSIONS.

FASTEST(readonly)

  • Type: Integer

Constant name for FASTEST.

FIXED(readonly)

  • Type: Integer

Constant name for FIXED.

FLOAT(readonly)

  • Type: Integer

Constant name for FLOAT.

FLOAT_MAT2(readonly)

  • Type: Integer

Constant name for FLOAT_MAT2.

FLOAT_MAT3(readonly)

  • Type: Integer

Constant name for FLOAT_MAT3.

FLOAT_MAT4(readonly)

  • Type: Integer

Constant name for FLOAT_MAT4.

FLOAT_VEC2(readonly)

  • Type: Integer

Constant name for FLOAT_VEC2.

FLOAT_VEC3(readonly)

  • Type: Integer

Constant name for FLOAT_VEC3.

FLOAT_VEC4(readonly)

  • Type: Integer

Constant name for FLOAT_VEC4.

FRAGMENT_SHADER(readonly)

  • Type: Integer

Constant name for FRAGMENT_SHADER.

FRAMEBUFFER(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER.

FRAMEBUFFER_ATTACHMENT_OBJECT_NAME(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_ATTACHMENT_OBJECT_NAME.

FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE.

FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE.

FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL.

FRAMEBUFFER_BINDING(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_BINDING.

FRAMEBUFFER_COMPLETE(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_COMPLETE.

FRAMEBUFFER_INCOMPLETE_ATTACHMENT(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_INCOMPLETE_ATTACHMENT.

FRAMEBUFFER_INCOMPLETE_DIMENSIONS(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_INCOMPLETE_DIMENSIONS.

FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT.

FRAMEBUFFER_UNSUPPORTED(readonly)

  • Type: Integer

Constant name for FRAMEBUFFER_UNSUPPORTED.

FRONT(readonly)

  • Type: Integer

Constant name for FRONT.

FRONT_AND_BACK(readonly)

  • Type: Integer

Constant name for FRONT_AND_BACK.

FRONT_FACE(readonly)

  • Type: Integer

Constant name for FRONT_FACE.

FUNC_ADD(readonly)

  • Type: Integer

Constant name for FUNC_ADD.

FUNC_REVERSE_SUBTRACT(readonly)

  • Type: Integer

Constant name for FUNC_REVERSE_SUBTRACT.

FUNC_SUBTRACT(readonly)

  • Type: Integer

Constant name for FUNC_SUBTRACT.

GENERATE_MIPMAP_HINT(readonly)

  • Type: Integer

Constant name for GENERATE_MIPMAP_HINT.

GEQUAL(readonly)

  • Type: Integer

Constant name for GEQUAL.

GREATER(readonly)

  • Type: Integer

Constant name for GREATER.

GREEN_BITS(readonly)

  • Type: Integer

Constant name for GREEN_BITS.

HIGH_FLOAT(readonly)

  • Type: Integer

Constant name for HIGH_FLOAT.

HIGH_INT(readonly)

  • Type: Integer

Constant name for HIGH_INT.

IMPLEMENTATION_COLOR_READ_FORMAT(readonly)

  • Type: Integer

Constant name for IMPLEMENTATION_COLOR_READ_FORMAT.

IMPLEMENTATION_COLOR_READ_TYPE(readonly)

  • Type: Integer

Constant name for IMPLEMENTATION_COLOR_READ_TYPE.

INCR(readonly)

  • Type: Integer

Constant name for INCR.

INCR_WRAP(readonly)

  • Type: Integer

Constant name for INCR_WRAP.

INFO_LOG_LENGTH(readonly)

  • Type: Integer

Constant name for INFO_LOG_LENGTH.

INT(readonly)

  • Type: Integer

Constant name for INT.

INT_VEC2(readonly)

  • Type: Integer

Constant name for INT_VEC2.

INT_VEC3(readonly)

  • Type: Integer

Constant name for INT_VEC3.

INT_VEC4(readonly)

  • Type: Integer

Constant name for INT_VEC4.

INVALID_ENUM(readonly)

  • Type: Integer

Constant name for INVALID_ENUM.

INVALID_FRAMEBUFFER_OPERATION(readonly)

  • Type: Integer

Constant name for INVALID_FRAMEBUFFER_OPERATION.

INVALID_OPERATION(readonly)

  • Type: Integer

Constant name for INVALID_OPERATION.

INVALID_VALUE(readonly)

  • Type: Integer

Constant name for INVALID_VALUE.

INVERT(readonly)

  • Type: Integer

Constant name for INVERT.

KEEP(readonly)

  • Type: Integer

Constant name for KEEP.

LEQUAL(readonly)

  • Type: Integer

Constant name for LEQUAL.

LESS(readonly)

  • Type: Integer

Constant name for LESS.

LINEAR(readonly)

  • Type: Integer

Constant name for LINEAR.

LINEAR_MIPMAP_LINEAR(readonly)

  • Type: Integer

Constant name for LINEAR_MIPMAP_LINEAR.

LINEAR_MIPMAP_NEAREST(readonly)

  • Type: Integer

Constant name for LINEAR_MIPMAP_NEAREST.

LINES(readonly)

  • Type: Integer

Constant name for LINES.

LINE_LOOP(readonly)

  • Type: Integer

Constant name for LINE_LOOP.

LINE_STRIP(readonly)

  • Type: Integer

Constant name for LINE_STRIP.

LINE_WIDTH(readonly)

  • Type: Integer

Constant name for LINE_WIDTH.

LINK_STATUS(readonly)

  • Type: Integer

Constant name for LINK_STATUS.

LOW_FLOAT(readonly)

  • Type: Integer

Constant name for LOW_FLOAT.

LOW_INT(readonly)

  • Type: Integer

Constant name for LOW_INT.

LUMINANCE(readonly)

  • Type: Integer

Constant name for LUMINANCE.

LUMINANCE_ALPHA(readonly)

  • Type: Integer

Constant name for LUMINANCE_ALPHA.

MAX_COMBINED_TEXTURE_IMAGE_UNITS(readonly)

  • Type: Integer

Constant name for MAX_COMBINED_TEXTURE_IMAGE_UNITS.

MAX_CUBE_MAP_TEXTURE_SIZE(readonly)

  • Type: Integer

Constant name for MAX_CUBE_MAP_TEXTURE_SIZE.

MAX_FRAGMENT_UNIFORM_VECTORS(readonly)

  • Type: Integer

Constant name for MAX_FRAGMENT_UNIFORM_VECTORS.

MAX_RENDERBUFFER_SIZE(readonly)

  • Type: Integer

Constant name for MAX_RENDERBUFFER_SIZE.

MAX_TEXTURE_IMAGE_UNITS(readonly)

  • Type: Integer

Constant name for MAX_TEXTURE_IMAGE_UNITS.

MAX_TEXTURE_SIZE(readonly)

  • Type: Integer

Constant name for MAX_TEXTURE_SIZE.

MAX_VARYING_VECTORS(readonly)

  • Type: Integer

Constant name for MAX_VARYING_VECTORS.

MAX_VERTEX_ATTRIBS(readonly)

  • Type: Integer

Constant name for MAX_VERTEX_ATTRIBS.

MAX_VERTEX_TEXTURE_IMAGE_UNITS(readonly)

  • Type: Integer

Constant name for MAX_VERTEX_TEXTURE_IMAGE_UNITS.

MAX_VERTEX_UNIFORM_VECTORS(readonly)

  • Type: Integer

Constant name for MAX_VERTEX_UNIFORM_VECTORS.

MAX_VIEWPORT_DIMS(readonly)

  • Type: Integer

Constant name for MAX_VIEWPORT_DIMS.

MEDIUM_FLOAT(readonly)

  • Type: Integer

Constant name for MEDIUM_FLOAT.

MEDIUM_INT(readonly)

  • Type: Integer

Constant name for MEDIUM_INT.

MIRRORED_REPEAT(readonly)

  • Type: Integer

Constant name for MIRRORED_REPEAT.

NEAREST(readonly)

  • Type: Integer

Constant name for NEAREST.

NEAREST_MIPMAP_LINEAR(readonly)

  • Type: Integer

Constant name for NEAREST_MIPMAP_LINEAR.

NEAREST_MIPMAP_NEAREST(readonly)

  • Type: Integer

Constant name for NEAREST_MIPMAP_NEAREST.

NEVER(readonly)

  • Type: Integer

Constant name for NEVER.

NICEST(readonly)

  • Type: Integer

Constant name for NICEST.

NONE(readonly)

  • Type: Integer

Constant name for NONE.

NOTEQUAL(readonly)

  • Type: Integer

Constant name for NOTEQUAL.

NO_ERROR(readonly)

  • Type: Integer

Constant name for NO_ERROR.

NUM_COMPRESSED_TEXTURE_FORMATS(readonly)

  • Type: Integer

Constant name for NUM_COMPRESSED_TEXTURE_FORMATS.

ONE(readonly)

  • Type: Integer

Constant name for ONE.

ONE_MINUS_CONSTANT_ALPHA(readonly)

  • Type: Integer

Constant name for ONE_MINUS_CONSTANT_ALPHA.

ONE_MINUS_CONSTANT_COLOR(readonly)

  • Type: Integer

Constant name for ONE_MINUS_CONSTANT_COLOR.

ONE_MINUS_DST_ALPHA(readonly)

  • Type: Integer

Constant name for ONE_MINUS_DST_ALPHA.

ONE_MINUS_DST_COLOR(readonly)

  • Type: Integer

Constant name for ONE_MINUS_DST_COLOR.

ONE_MINUS_SRC_ALPHA(readonly)

  • Type: Integer

Constant name for ONE_MINUS_SRC_ALPHA.

ONE_MINUS_SRC_COLOR(readonly)

  • Type: Integer

Constant name for ONE_MINUS_SRC_COLOR.

OUT_OF_MEMORY(readonly)

  • Type: Integer

Constant name for OUT_OF_MEMORY.

PACK_ALIGNMENT(readonly)

  • Type: Integer

Constant name for PACK_ALIGNMENT.

POINTS(readonly)

  • Type: Integer

Constant name for POINTS.

POLYGON_OFFSET_FACTOR(readonly)

  • Type: Integer

Constant name for POLYGON_OFFSET_FACTOR.

POLYGON_OFFSET_FILL(readonly)

  • Type: Integer

Constant name for POLYGON_OFFSET_FILL.

POLYGON_OFFSET_UNITS(readonly)

  • Type: Integer

Constant name for POLYGON_OFFSET_UNITS.

RED_BITS(readonly)

  • Type: Integer

Constant name for RED_BITS.

RENDERBUFFER(readonly)

  • Type: Integer

Constant name for RENDERBUFFER.

RENDERBUFFER_ALPHA_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_ALPHA_SIZE.

RENDERBUFFER_BINDING(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_BINDING.

RENDERBUFFER_BLUE_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_BLUE_SIZE.

RENDERBUFFER_DEPTH_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_DEPTH_SIZE.

RENDERBUFFER_GREEN_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_GREEN_SIZE.

RENDERBUFFER_HEIGHT(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_HEIGHT.

RENDERBUFFER_INTERNAL_FORMAT(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_INTERNAL_FORMAT.

RENDERBUFFER_RED_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_RED_SIZE.

RENDERBUFFER_STENCIL_SIZE(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_STENCIL_SIZE.

RENDERBUFFER_WIDTH(readonly)

  • Type: Integer

Constant name for RENDERBUFFER_WIDTH.

RENDERER(readonly)

  • Type: Integer

Constant name for RENDERER.

REPEAT(readonly)

  • Type: Integer

Constant name for REPEAT.

REPLACE(readonly)

  • Type: Integer

Constant name for REPLACE.

RGB(readonly)

  • Type: Integer

Constant name for RGB.

RGB565(readonly)

  • Type: Integer

Constant name for RGB565.

RGB5_A1(readonly)

  • Type: Integer

Constant name for RGB5_A1.

RGBA(readonly)

  • Type: Integer

Constant name for RGBA.

RGBA4(readonly)

  • Type: Integer

Constant name for RGBA4.

SAMPLER_2D(readonly)

  • Type: Integer

Constant name for SAMPLER_2D.

SAMPLER_CUBE(readonly)

  • Type: Integer

Constant name for SAMPLER_CUBE.

SAMPLES(readonly)

  • Type: Integer

Constant name for SAMPLES.

SAMPLE_ALPHA_TO_COVERAGE(readonly)

  • Type: Integer

Constant name for SAMPLE_ALPHA_TO_COVERAGE.

SAMPLE_BUFFERS(readonly)

  • Type: Integer

Constant name for SAMPLE_BUFFERS.

SAMPLE_COVERAGE(readonly)

  • Type: Integer

Constant name for SAMPLE_COVERAGE.

SAMPLE_COVERAGE_INVERT(readonly)

  • Type: Integer

Constant name for SAMPLE_COVERAGE_INVERT.

SAMPLE_COVERAGE_VALUE(readonly)

  • Type: Integer

Constant name for SAMPLE_COVERAGE_VALUE.

SCISSOR_BOX(readonly)

  • Type: Integer

Constant name for SCISSOR_BOX.

SCISSOR_TEST(readonly)

  • Type: Integer

Constant name for SCISSOR_TEST.

SHADER_COMPILER(readonly)

  • Type: Integer

Constant name for SHADER_COMPILER.

SHADER_SOURCE_LENGTH(readonly)

  • Type: Integer

Constant name for SHADER_SOURCE_LENGTH.

SHADER_TYPE(readonly)

  • Type: Integer

Constant name for SHADER_TYPE.

SHADING_LANGUAGE_VERSION(readonly)

  • Type: Integer

Constant name for SHADING_LANGUAGE_VERSION.

SHORT(readonly)

  • Type: Integer

Constant name for SHORT.

SRC_ALPHA(readonly)

  • Type: Integer

Constant name for SRC_ALPHA.

SRC_ALPHA_SATURATE(readonly)

  • Type: Integer

Constant name for SRC_ALPHA_SATURATE.

SRC_COLOR(readonly)

  • Type: Integer

Constant name for SRC_COLOR.

STATIC_DRAW(readonly)

  • Type: Integer

Constant name for STATIC_DRAW.

STENCIL_ATTACHMENT(readonly)

  • Type: Integer

Constant name for STENCIL_ATTACHMENT.

STENCIL_BACK_FAIL(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_FAIL.

STENCIL_BACK_FUNC(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_FUNC.

STENCIL_BACK_PASS_DEPTH_FAIL(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_PASS_DEPTH_FAIL.

STENCIL_BACK_PASS_DEPTH_PASS(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_PASS_DEPTH_PASS.

STENCIL_BACK_REF(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_REF.

STENCIL_BACK_VALUE_MASK(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_VALUE_MASK.

STENCIL_BACK_WRITEMASK(readonly)

  • Type: Integer

Constant name for STENCIL_BACK_WRITEMASK.

STENCIL_BITS(readonly)

  • Type: Integer

Constant name for STENCIL_BITS.

STENCIL_BUFFER_BIT(readonly)

  • Type: Integer

Constant name for STENCIL_BUFFER_BIT.

STENCIL_CLEAR_VALUE(readonly)

  • Type: Integer

Constant name for STENCIL_CLEAR_VALUE.

STENCIL_FAIL(readonly)

  • Type: Integer

Constant name for STENCIL_FAIL.

STENCIL_FUNC(readonly)

  • Type: Integer

Constant name for STENCIL_FUNC.

STENCIL_INDEX(readonly)

  • Type: Integer

Constant name for STENCIL_INDEX.

STENCIL_INDEX8(readonly)

  • Type: Integer

Constant name for STENCIL_INDEX8.

STENCIL_PASS_DEPTH_FAIL(readonly)

  • Type: Integer

Constant name for STENCIL_PASS_DEPTH_FAIL.

STENCIL_PASS_DEPTH_PASS(readonly)

  • Type: Integer

Constant name for STENCIL_PASS_DEPTH_PASS.

STENCIL_REF(readonly)

  • Type: Integer

Constant name for STENCIL_REF.

STENCIL_TEST(readonly)

  • Type: Integer

Constant name for STENCIL_TEST.

STENCIL_VALUE_MASK(readonly)

  • Type: Integer

Constant name for STENCIL_VALUE_MASK.

STENCIL_WRITEMASK(readonly)

  • Type: Integer

Constant name for STENCIL_WRITEMASK.

STREAM_DRAW(readonly)

  • Type: Integer

Constant name for STREAM_DRAW.

SUBPIXEL_BITS(readonly)

  • Type: Integer

Constant name for SUBPIXEL_BITS.

TEXTURE(readonly)

  • Type: Integer

Constant name for TEXTURE.

TEXTURE0(readonly)

  • Type: Integer

Constant name for TEXTURE0.

TEXTURE1(readonly)

  • Type: Integer

Constant name for TEXTURE1.

TEXTURE10(readonly)

  • Type: Integer

Constant name for TEXTURE10.

TEXTURE11(readonly)

  • Type: Integer

Constant name for TEXTURE11.

TEXTURE12(readonly)

  • Type: Integer

Constant name for TEXTURE12.

TEXTURE13(readonly)

  • Type: Integer

Constant name for TEXTURE13.

TEXTURE14(readonly)

  • Type: Integer

Constant name for TEXTURE14.

TEXTURE15(readonly)

  • Type: Integer

Constant name for TEXTURE15.

TEXTURE16(readonly)

  • Type: Integer

Constant name for TEXTURE16.

TEXTURE17(readonly)

  • Type: Integer

Constant name for TEXTURE17.

TEXTURE18(readonly)

  • Type: Integer

Constant name for TEXTURE18.

TEXTURE19(readonly)

  • Type: Integer

Constant name for TEXTURE19.

TEXTURE2(readonly)

  • Type: Integer

Constant name for TEXTURE2.

TEXTURE20(readonly)

  • Type: Integer

Constant name for TEXTURE20.

TEXTURE21(readonly)

  • Type: Integer

Constant name for TEXTURE21.

TEXTURE22(readonly)

  • Type: Integer

Constant name for TEXTURE22.

TEXTURE23(readonly)

  • Type: Integer

Constant name for TEXTURE23.

TEXTURE24(readonly)

  • Type: Integer

Constant name for TEXTURE24.

TEXTURE25(readonly)

  • Type: Integer

Constant name for TEXTURE25.

TEXTURE26(readonly)

  • Type: Integer

Constant name for TEXTURE26.

TEXTURE27(readonly)

  • Type: Integer

Constant name for TEXTURE27.

TEXTURE28(readonly)

  • Type: Integer

Constant name for TEXTURE28.

TEXTURE29(readonly)

  • Type: Integer

Constant name for TEXTURE29.

TEXTURE3(readonly)

  • Type: Integer

Constant name for TEXTURE3.

TEXTURE30(readonly)

  • Type: Integer

Constant name for TEXTURE30.

TEXTURE31(readonly)

  • Type: Integer

Constant name for TEXTURE31.

TEXTURE4(readonly)

  • Type: Integer

Constant name for TEXTURE4.

TEXTURE5(readonly)

  • Type: Integer

Constant name for TEXTURE5.

TEXTURE6(readonly)

  • Type: Integer

Constant name for TEXTURE6.

TEXTURE7(readonly)

  • Type: Integer

Constant name for TEXTURE7.

TEXTURE8(readonly)

  • Type: Integer

Constant name for TEXTURE8.

TEXTURE9(readonly)

  • Type: Integer

Constant name for TEXTURE9.

TEXTURE_2D(readonly)

  • Type: Integer

Constant name for TEXTURE_2D.

TEXTURE_BINDING_2D(readonly)

  • Type: Integer

Constant name for TEXTURE_BINDING_2D.

TEXTURE_BINDING_CUBE_MAP(readonly)

  • Type: Integer

Constant name for TEXTURE_BINDING_CUBE_MAP.

TEXTURE_CUBE_MAP(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP.

TEXTURE_CUBE_MAP_NEGATIVE_X(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_NEGATIVE_X.

TEXTURE_CUBE_MAP_NEGATIVE_Y(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_NEGATIVE_Y.

TEXTURE_CUBE_MAP_NEGATIVE_Z(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_NEGATIVE_Z.

TEXTURE_CUBE_MAP_POSITIVE_X(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_POSITIVE_X.

TEXTURE_CUBE_MAP_POSITIVE_Y(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_POSITIVE_Y.

TEXTURE_CUBE_MAP_POSITIVE_Z(readonly)

  • Type: Integer

Constant name for TEXTURE_CUBE_MAP_POSITIVE_Z.

TEXTURE_MAG_FILTER(readonly)

  • Type: Integer

Constant name for TEXTURE_MAG_FILTER.

TEXTURE_MIN_FILTER(readonly)

  • Type: Integer

Constant name for TEXTURE_MIN_FILTER.

TEXTURE_WRAP_S(readonly)

  • Type: Integer

Constant name for TEXTURE_WRAP_S.

TEXTURE_WRAP_T(readonly)

  • Type: Integer

Constant name for TEXTURE_WRAP_T.

TRIANGLES(readonly)

  • Type: Integer

Constant name for TRIANGLES.

TRIANGLE_FAN(readonly)

  • Type: Integer

Constant name for TRIANGLE_FAN.

TRIANGLE_STRIP(readonly)

  • Type: Integer

Constant name for TRIANGLE_STRIP.

UNPACK_ALIGNMENT(readonly)

  • Type: Integer

Constant name for UNPACK_ALIGNMENT.

UNPACK_COLORSPACE_CONVERSION_WEBGL(readonly)

  • Type: Integer

Constant name for UNPACK_COLORSPACE_CONVERSION_WEBGL.

UNPACK_FLIP_Y_WEBGL(readonly)

  • Type: Integer

Constant name for UNPACK_FLIP_Y_WEBGL.

UNPACK_PREMULTIPLY_ALPHA_WEBGL(readonly)

  • Type: Integer

Constant name for UNPACK_PREMULTIPLY_ALPHA_WEBGL.

UNSIGNED_BYTE(readonly)

  • Type: Integer

Constant name for UNSIGNED_BYTE.

UNSIGNED_INT(readonly)

  • Type: Integer

Constant name for UNSIGNED_INT.

UNSIGNED_SHORT(readonly)

  • Type: Integer

Constant name for UNSIGNED_SHORT.

UNSIGNED_SHORT_4_4_4_4(readonly)

  • Type: Integer

Constant name for UNSIGNED_SHORT_4_4_4_4.

UNSIGNED_SHORT_5_5_5_1(readonly)

  • Type: Integer

Constant name for UNSIGNED_SHORT_5_5_5_1.

UNSIGNED_SHORT_5_6_5(readonly)

  • Type: Integer

Constant name for UNSIGNED_SHORT_5_6_5.

VALIDATE_STATUS(readonly)

  • Type: Integer

Constant name for VALIDATE_STATUS.

VENDOR(readonly)

  • Type: Integer

Constant name for VENDOR.

VERSION(readonly)

  • Type: Integer

Constant name for VERSION.

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_BUFFER_BINDING.

VERTEX_ATTRIB_ARRAY_ENABLED(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_ENABLED.

VERTEX_ATTRIB_ARRAY_NORMALIZED(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_NORMALIZED.

VERTEX_ATTRIB_ARRAY_POINTER(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_POINTER.

VERTEX_ATTRIB_ARRAY_SIZE(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_SIZE.

VERTEX_ATTRIB_ARRAY_STRIDE(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_STRIDE.

VERTEX_ATTRIB_ARRAY_TYPE(readonly)

  • Type: Integer

Constant name for VERTEX_ATTRIB_ARRAY_TYPE.

VERTEX_SHADER(readonly)

  • Type: Integer

Constant name for VERTEX_SHADER.

VIEWPORT(readonly)

  • Type: Integer

Constant name for VIEWPORT.

ZERO(readonly)

  • Type: Integer

Constant name for ZERO.


Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!