HTML5 WebGL Canvas Context
The WebGLRenderingContext object is used to manage OpenGL state and render to the drawing buffer
Supported Platform(s)
| - BlackBerry PlayBook 2.0 |
| - BlackBerry 10 |
| - Ripple Emulator |
Configuration Document Settings
|
To use all of the API described for this object, you must ensure the following settings are in your configuration document: |
| This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
| Permission Elements (PlayBook and BlackBerry 10+) |
|---|
| This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
Constructors
Functions
Constants
Constructors
canvas.getContext('experimental-webgl')
To create a WebGLRenderingContext object you must fetch the context of a Canvas using the 'experimental-webgl' identifier
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Code Example:
|
Functions
void
activeTexture
(texture : GLenum)
Select active texture unit
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| texture | Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of TEXTUREi, where i ranges from 0 to (MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is TEXTURE0. |
void
attachShader
(program : WebGLProgram, shader : WebGLShader)
Attach a shader object to a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to which a shader object will be attached. |
| shader | Specifies the shader object that is to be attached. |
void
bindAttribLocation
(program : WebGLProgram, index : GLuint, name : String)
Associate a generic vertex attribute index with a named attribute variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the handle of the program object in which the association is to be made. |
| index | Specifies the index of the generic vertex attribute to be bound. |
| name | Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. |
void
bindBuffer
(target : GLenum, buffer : WebGLBuffer)
Bind a named buffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target to which the buffer object is bound. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| buffer | Specifies the name of a buffer object. |
void
bindFramebuffer
(target : GLenum, framebuffer : WebGLFramebuffer)
Bind a named framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target to which the framebuffer object is bound. The symbolic constant must be FRAMEBUFFER. |
| framebuffer | Specifies the name of a framebuffer object. |
void
bindRenderbuffer
(target : GLenum, renderbuffer : WebGLRenderbuffer)
Bind a named renderbuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target to which the renderbuffer object is bound. The symbolic constant must be RENDERBUFFER. |
| renderbuffer | Specifies the name of a renderbuffer object. |
void
bindTexture
(target : GLenum, texture : WebGLTexture)
Bind a named texture to a texturing target
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target of the active texture unit to which the texture is bound. Must be either TEXTURE_2D or TEXTURE_CUBE_MAP. |
| texture | Specifies the name of a texture. |
void
blendColor
(red : GLclampf, green : GLclampf, blue : GLclampf, alpha : GLclampf)
Set the blend color
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| red | specify the red component of BLEND_COLOR |
| green | specify the green component of BLEND_COLOR |
| blue | specify the blue component of BLEND_COLOR |
| alpha | specify the alpha component of BLEND_COLOR |
void
blendEquation
(mode : GLenum)
Specify the equation used for both the RGB blend equation and the Alpha blend equation
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mode | specifies how source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. |
void
blendEquationSeparate
(modeRGB : GLenum, modeAlpha : GLenum)
Set the RGB blend equation and the alpha blend equation separately
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| modeRGB | specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. |
| modeAlpha | specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be FUNC_ADD, FUNC_SUBTRACT, or FUNC_REVERSE_SUBTRACT. |
void
blendFunc
(sfactor : GLenum, dfactor : GLenum)
Specify pixel arithmetic
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| sfactor | Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA, CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, ONE_MINUS_CONSTANT_ALPHA, and SRC_ALPHA_SATURATE. The initial value is ONE. |
| dfactor | Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA. CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, and ONE_MINUS_CONSTANT_ALPHA. The initial value is ZERO. |
void
blendFuncSeparate
(srcRGB : GLenum, dstRGB : GLenum, srcAlpha : GLenum, dstAlpha : GLenum)
Specify pixel arithmetic for RGB and alpha components separately
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| srcRGB | Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA, CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, ONE_MINUS_CONSTANT_ALPHA, and SRC_ALPHA_SATURATE. The initial value is ONE. |
| dstRGB | Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA. CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, and ONE_MINUS_CONSTANT_ALPHA. The initial value is ZERO. |
| srcAlpha | Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is ONE. |
| dstAlpha | Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is ZERO. |
void
bufferData
(target : GLenum, size : GLsizeiptr, usage : GLenum)
Set the size of the currently bound WebGLBuffer object for the passed target. The buffer is initialized to 0.
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| size | Specifies the size in bytes of the buffer object's new data store. |
| usage | Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. |
void
bufferData
(target : GLenum, data : ArrayBuffer, usage : GLenum)
Set the size of the currently bound WebGLBuffer object for the passed target to the size of the passed data, then write the contents of data to the buffer object.
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| data | Buffer to measure |
| usage | Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. |
void
bufferData
(target : GLenum, data : ArrayBufferView, usage : GLenum)
Set the size of the currently bound WebGLBuffer object for the passed target to the size of the passed data, then write the contents of data to the buffer object.
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| data | Buffer to measure |
| usage | Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. |
void
bufferSubData
(target : GLenum, offset : GLintptr, data : ArrayBuffer)
Update a subset of a buffer object's data store
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| offset | Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. |
| data | Specifies the size in bytes of the data store region being replaced. |
void
bufferSubData
(target : GLenum, offset : GLintptr, data : ArrayBufferView)
Update a subset of a buffer object's data store
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| offset | Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. |
| data | Specifies the size in bytes of the data store region being replaced. |
GLenum
checkFramebufferStatus
(target : GLenum)
Return the framebuffer completeness status of a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target framebuffer object. The symbolic constant must be FRAMEBUFFER. |
Return:
symbolic constant that identifies whether or not the currently bound framebuffer is framebuffer complete, and if not, which of the rules of framebuffer completeness is violated
void
clear
(mask : GLbitfield)
Clear buffers to preset values
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mask | Bitwise OR of masks that indicate the buffers to be cleared. The three masks are COLOR_BUFFER_BIT, DEPTH_BUFFER_BIT, and STENCIL_BUFFER_BIT. |
void
clearColor
(red : GLclampf, green : GLclampf, blue : GLclampf, alpha : GLclampf)
Specify clear values for the color buffers
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| red | |
| green | |
| blue | |
| alpha | Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. |
void
clearDepth
(depth : GLclampf)
Specify the clear value for the depth buffer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| depth | Specifies the depth value used when the depth buffer is cleared. The initial value is 1. |
void
clearStencil
(s : GLint)
Specify the clear value for the stencil buffer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| s | Specifies the index used when the stencil buffer is cleared. The initial value is 0. |
void
colorMask
(red : GLboolean, green : GLboolean, blue : GLboolean, alpha : GLboolean)
Enable and disable writing of frame buffer color components
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| red | |
| green | |
| blue | |
| alpha | Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all TRUE, indicating that the color components can be written. |
void
compileShader
(shader : WebGLShader)
Compile a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the shader object to be compiled. |
void
copyTexImage2D
(target : GLenum, level : GLint, internalformat : GLenum, x : GLint, y : GLint, width : GLsizei, height : GLsizei, border : GLint)
Copy pixels into a 2D texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, or RGBA. |
| x | Specify the x coordinate of the lower left corner of the rectangular region of pixels to be copied. |
| y | Specify the y coordinate of the lower left corner of the rectangular region of pixels to be copied. |
| width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| height | Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| border | Specifies the width of the border. Must be 0. |
void
copyTexSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, x : GLint, y : GLint, width : GLsizei, height : GLsizei)
Copy a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| x | Specify the x coordinate of the lower left corner of the rectangular region of pixels to be copied. |
| y | Specify the y coordinate of the lower left corner of the rectangular region of pixels to be copied. |
| width | Specifies the width of the texture subimage. |
| height | Specifies the height of the texture subimage. |
WebGLBuffer
createBuffer
()
Create a WebGLBuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
the created WebGLBuffer object
WebGLFramebuffer
createFramebuffer
()
Create a WebGLFramebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
the created WebGLFramebuffer object
WebGLProgram
createProgram
()
Create a WebGLProgram object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
the created WebGLProgram object
WebGLRenderbuffer
createRenderbuffer
()
Create a WebGLRenderbuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
the created WebGLRenderbuffer object
WebGLShader
createShader
(type : GLenum)
Create a WebGLShader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| type | Specifies the type of shader to be created. Must be either VERTEX_SHADER or FRAGMENT_SHADER. |
Return:
the created WebGLShader object
WebGLTexture
createTexture
()
Create a WebGLTexture object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
the created WebGLTexture object
void
cullFace
(mode : GLenum)
Specify whether front- or back-facing facets can be culled
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mode | Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants FRONT, BACK, and FRONT_AND_BACK are accepted. The initial value is BACK. |
void
deleteBuffer
(buffer : WebGLBuffer)
Delete a buffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| buffer | Specifies the buffer object to be deleted. |
void
deleteFramebuffer
(framebuffer : WebGLFramebuffer)
Delete a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| framebuffer | Specifies the framebuffer object to be deleted. |
void
deleteProgram
(program : WebGLProgram)
Delete a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be deleted. |
void
deleteRenderbuffer
(renderbuffer : WebGLRenderbuffer)
Delete a renderbuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| renderbuffer | Specifies the renderbuffer object to be deleted. |
void
deleteShader
(shader : WebGLShader)
Delete a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the shader object to be deleted. |
void
deleteTexture
(texture : WebGLTexture)
Delete a texture object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| texture | Specifies the texture object to be deleted. |
void
depthFunc
(func : GLenum)
Specify the value used for depth buffer comparisons
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| func | Specifies the depth comparison function. Symbolic constants NEVER, LESS, EQUAL, LEQUAL, GREATER, NOTEQUAL, GEQUAL, and ALWAYS are accepted. The initial value is LESS. |
void
depthMask
(flag : GLboolean)
Enable or disable writing into the depth buffer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| flag | Specifies whether the depth buffer is enabled for writing. If flag is FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. |
void
depthRange
(zNear : GLclampf, zFar : GLclampf)
Specify mapping of depth values from normalized device coordinates to window coordinates. zNear and zFar values are clamped to the range 0 to 1 and zNear must be less than or equal to zFar
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| zNear | Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. |
| zFar | Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. |
void
detachShader
(program : WebGLProgram, shader : WebGLShader)
Detach a shader object from a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object from which to detach the shader object. |
| shader | Specifies the shader object to be detached. |
void
disable
(cap : GLenum)
Disable server-side GL capabilities
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| cap |
Specifies a symbolic constant indicating a GL capability.
Both enable and disable take a single argument, cap, which can assume one of the following values:
If enabled, compute a temporary coverage value where each bit is determined by the alpha value at the corresponding sample location. The temporary coverage value is then ANDed with the fragment coverage value. |
void
disableVertexAttribArray
(index : GLuint)
Disables the generic vertex attribute array specified by index
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| index | Specifies the index of the generic vertex attribute to be disabled. |
void
drawArrays
(mode : GLenum, first : GLint, count : GLsizei)
Render primitives from vertex array data
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mode | Specifies what kind of primitives to render. Symbolic constants POINTS, LINE_STRIP, LINE_LOOP, LINES, TRIANGLE_STRIP, TRIANGLE_FAN, and TRIANGLES are accepted. |
| first | Specifies the starting index in the enabled arrays. |
| count | Specifies the number of vertices to be rendered. |
void
drawElements
(mode : GLenum, count : GLsizei, type : GLenum, offset : GLintptr)
Render primitives from index array data
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mode | Specifies what kind of primitives to render. Symbolic constants POINTS, LINE_STRIP, LINE_LOOP, LINES, TRIANGLE_STRIP, TRIANGLE_FAN, and TRIANGLES are accepted. |
| count | Specifies the number of elements to be rendered. |
| type | Specifies the type of the values in indices. Must be UNSIGNED_BYTE or UNSIGNED_SHORT. |
| offset | Specifies a pointer to the location where the indices are stored. |
void
enable
(cap : GLenum)
Enable server-side GL capabilities
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| cap | Specifies a symbolic constant indicating a GL capability. See @link {#disable} for list of valid constants. |
void
enableVertexAttribArray
(index : GLuint)
Enable a generic vertex attribute array
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| index | Specifies the index of the generic vertex attribute to be enabled. |
void
finish
()
Block until all GL execution is complete
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
void
flush
()
Force execution of GL commands in finite time
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
void
framebufferRenderbuffer
(target : GLenum, attachment : GLenum, renderbuffertarget : GLenum, renderbuffer : WebGLRenderbuffer)
Attach a renderbuffer object to a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the framebuffer target. The symbolic constant must be FRAMEBUFFER. |
| attachment | Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: COLOR_ATTACHMENT0, DEPTH_ATTACHMENT, or STENCIL_ATTACHMENT. |
| renderbuffertarget | Specifies the renderbuffer target. The symbolic constant must be RENDERBUFFER. |
| renderbuffer | Specifies the renderbuffer object that is to be attached. |
void
framebufferTexture2D
(target : GLenum, attachment : GLenum, textarget : GLenum, texture : WebGLTexture, level : GLint)
Attach a texture image to a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the framebuffer target. The symbolic constant must be FRAMEBUFFER. |
| attachment | Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: COLOR_ATTACHMENT0, DEPTH_ATTACHMENT, or STENCIL_ATTACHMENT. |
| textarget | Specifies the texture target. Must be one of the following symbolic constants: TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| texture | Specifies the texture object whose image is to be attached. |
| level | Specifies the mipmap level of the texture image to be attached, which must be 0. |
void
frontFace
(mode : GLenum)
Define front- and back-facing polygons
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mode | Specifies the orientation of front-facing polygons. CW and CCW are accepted. The initial value is CCW. |
void
generateMipmap
(target : GLenum)
Generate a complete set of mipmaps for a texture object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the texture target of the active texture unit to which the texture object is bound whose mipmaps will be generated. Must be one of the following symbolic constants: TEXTURE_2D or TEXTURE_CUBE_MAP. |
WebGLActiveInfo
getActiveAttrib
(program : WebGLProgram, index : GLuint)
Return information about an active attribute variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| index | Specifies the index of the attribute variable to be queried. |
Return:
information about the size, type and name of the vertex attribute at the passed index of the passed program object.
WebGLActiveInfo
getActiveUniform
(program : WebGLProgram, index : GLuint)
Return information about an active uniform variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| index | Specifies the index of the uniform variable to be queried. |
Return:
information about the size, type and name of the uniform at the passed index of the passed program object.
WebGLShader[ ]
getAttachedShaders
(program : WebGLProgram)
Return the handles of the shader objects attached to a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
Return:
the list of shaders attached to the passed program.
GLint
getAttribLocation
(program : WebGLProgram, name : String)
Return the location of an attribute variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| name | Points to a null terminated string containing the name of the attribute variable whose location is to be queried. |
Return:
the index of the generic vertex attribute that is bound to that attribute variable.
any
getBufferParameter
(target : GLenum, pname : GLenum)
Return parameters of a buffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target buffer object. The symbolic constant must be ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. |
| pname | Specifies the symbolic name of a buffer object parameter. Accepted values are BUFFER_SIZE or BUFFER_USAGE. |
Return:
the value for the passed pname.
WebGLContextAttributes
getContextAttributes
()
Returns the WebGLContextAttributes describing the current drawing buffer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
The WebGLContextAttributes object describing the current drawing buffer
GLenum
getError
()
Return error information
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
The following errors are currently defined:
- WebGLRenderingContext.NO_ERROR
No error has been recorded. The value of this symbolic constant is guaranteed to be 0. - WebGLRenderingContext.INVALID_ENUM
An unacceptable value is specified for an enumerated argument. The offending command is ignored and has no other side effect than to set the error flag. - WebGLRenderingContext.INVALID_VALUE
A numeric argument is out of range. The offending command is ignored and has no other side effect than to set the error flag. - WebGLRenderingContext.INVALID_OPERATION
The specified operation is not allowed in the current state. The offending command is ignored and has no other side effect than to set the error flag. - WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION
The command is trying to render to or read from the framebuffer while the currently bound framebuffer is not framebuffer complete (i.e. the return value from checkFramebufferStatus is not FRAMEBUFFER_COMPLETE). The offending command is ignored and has no other side effect than to set the error flag. - WebGLRenderingContext.OUT_OF_MEMORY
There is not enough memory left to execute the command. The state of the GL is undefined, except for the state of the error flags, after this error is recorded. - WebGLRenderingContext.CONTEXT_LOST_WEBGL
getError returns CONTEXT_LOST_WEBGL the first time it is called while the context is lost. Afterward it will return NO_ERROR until the context has been restored.
object
getExtension
(name : String)
Returns an object if the passed extension is supported. The object returned from getExtension contains any constants or functions used by the extension, if any. A returned object may have no constants or functions if the extension does not define any, but a unique object must still be returned. That object is used to indicate that the extension has been enabled
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| name | name of extension |
Return:
an object if the passed extension is supported, or null if not
any
getFramebufferAttachmentParameter
(target : GLenum, attachment : GLenum, pname : GLenum)
Return attachment parameters of a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target framebuffer object. The symbolic constant must be FRAMEBUFFER. |
| attachment | Specifies the symbolic name of a framebuffer object attachment point. Accepted values are COLOR_ATTACHMENT0, DEPTH_ATTACHMENT, and STENCIL_ATTACHMENT. |
| pname | Specifies the symbolic name of a framebuffer object attachment parameter. Accepted values are FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, and FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE. |
Return:
the value for the passed pname given the passed target and attachment.
any
getParameter
(pname : GLenum)
Return the value or values of a selected parameter
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| pname | Specifies the parameter value to be returned. |
Return:
the value for the passed pname. The type returned is the natural type for the requested pname, as given in the following table:
| pname | returned type |
|---|---|
| ACTIVE_TEXTURE | unsigned long |
| ALIASED_LINE_WIDTH_RANGE | Float32Array (with 2 elements) |
| ALIASED_POINT_SIZE_RANGE | Float32Array (with 2 elements) |
| ALPHA_BITS | long |
| ARRAY_BUFFER_BINDING | WebGLBuffer |
| BLEND | boolean |
| BLEND_COLOR | Float32Array (with 4 values) |
| BLEND_DST_ALPHA | unsigned long |
| BLEND_DST_RGB | unsigned long |
| BLEND_EQUATION_ALPHA | unsigned long |
| BLEND_EQUATION_RGB | unsigned long |
| BLEND_SRC_ALPHA | unsigned long |
| BLEND_SRC_RGB | unsigned long |
| BLUE_BITS | long |
| COLOR_CLEAR_VALUE | Float32Array (with 4 values) |
| COLOR_WRITEMASK | boolean[] (with 4 values) |
| COMPRESSED_TEXTURE_FORMATS | null |
| CULL_FACE | boolean |
| CULL_FACE_MODE | unsigned long |
| CURRENT_PROGRAM | WebGLProgram |
| DEPTH_BITS | long |
| DEPTH_CLEAR_VALUE | float |
| DEPTH_FUNC | unsigned long |
| DEPTH_RANGE | Float32Array (with 2 elements) |
| DEPTH_TEST | boolean |
| DEPTH_WRITEMASK | boolean |
| DITHER | boolean |
| ELEMENT_ARRAY_BUFFER_BINDING | WebGLBuffer |
| FRAMEBUFFER_BINDING | WebGLFramebuffer |
| FRONT_FACE | unsigned long |
| GENERATE_MIPMAP_HINT | unsigned long |
| GREEN_BITS | long |
| LINE_WIDTH | float |
| MAX_COMBINED_TEXTURE_IMAGE_UNITS | long |
| MAX_CUBE_MAP_TEXTURE_SIZE | long |
| MAX_FRAGMENT_UNIFORM_VECTORS | long |
| MAX_RENDERBUFFER_SIZE | long |
| MAX_TEXTURE_IMAGE_UNITS | long |
| MAX_TEXTURE_SIZE | long |
| MAX_VARYING_VECTORS | long |
| MAX_VERTEX_ATTRIBS | long |
| MAX_VERTEX_TEXTURE_IMAGE_UNITS | long |
| MAX_VERTEX_UNIFORM_VECTORS | long |
| MAX_VIEWPORT_DIMS | Int32Array (with 2 elements) |
| NUM_COMPRESSED_TEXTURE_FORMATS | long |
| PACK_ALIGNMENT | long |
| POLYGON_OFFSET_FACTOR | float |
| POLYGON_OFFSET_FILL | boolean |
| POLYGON_OFFSET_UNITS | float |
| RED_BITS | long |
| RENDERBUFFER_BINDING | WebGLRenderbuffer |
| RENDERER | String |
| SAMPLE_BUFFERS | long |
| SAMPLE_COVERAGE_INVERT | boolean |
| SAMPLE_COVERAGE_VALUE | float |
| SAMPLES | long |
| SCISSOR_BOX | Int32Array (with 4 elements) |
| SCISSOR_TEST | boolean |
| SHADING_LANGUAGE_VERSION | String |
| STENCIL_BACK_FAIL | unsigned long |
| STENCIL_BACK_FUNC | unsigned long |
| STENCIL_BACK_PASS_DEPTH_FAIL | unsigned long |
| STENCIL_BACK_PASS_DEPTH_PASS | unsigned long |
| STENCIL_BACK_REF | long |
| STENCIL_BACK_VALUE_MASK | unsigned long |
| STENCIL_BACK_WRITEMASK | unsigned long |
| STENCIL_BITS | long |
| STENCIL_CLEAR_VALUE | long |
| STENCIL_FAIL | unsigned long |
| STENCIL_FUNC | unsigned long |
| STENCIL_PASS_DEPTH_FAIL | unsigned long |
| STENCIL_PASS_DEPTH_PASS | unsigned long |
| STENCIL_REF | long |
| STENCIL_TEST | boolean |
| STENCIL_VALUE_MASK | unsigned long |
| STENCIL_WRITEMASK | unsigned long |
| SUBPIXEL_BITS | long |
| TEXTURE_BINDING_2D | WebGLTexture |
| TEXTURE_BINDING_CUBE_MAP | WebGLTexture |
| UNPACK_ALIGNMENT | int |
| UNPACK_COLORSPACE_CONVERSION_WEBGL | unsigned long |
| UNPACK_FLIP_Y_WEBGL | boolean |
| UNPACK_PREMULTIPLY_ALPHA_WEBGL | boolean |
| VENDOR | String |
| VERSION | String |
| VIEWPORT | Int32Array (with 4 elements) |
String
getProgramInfoLog
(program : WebGLProgram)
Return the information log for a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object whose information log is to be queried. |
Return:
the information log for the specified program object.
any
getProgramParameter
(program : WebGLProgram, pname : GLenum)
Return a parameter from a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| pname | Specifies the object parameter. Accepted symbolic names are DELETE_STATUS, LINK_STATUS, VALIDATE_STATUS, ATTACHED_SHADERS, ACTIVE_ATTRIBUTES, ACTIVE_UNIFORMS. |
Return:
the value for the passed pname given the passed program.
any
getRenderbufferParameter
(target : GLenum, pname : GLenum)
Return parameters of a renderbuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target renderbuffer object. The symbolic constant must be RENDERBUFFER. |
| pname | Specifies the symbolic name of a renderbuffer object parameter. Accepted values are RENDERBUFFER_WIDTH, RENDERBUFFER_HEIGHT, RENDERBUFFER_INTERNAL_FORMAT, RENDERBUFFER_RED_SIZE, RENDERBUFFER_GREEN_SIZE, RENDERBUFFER_BLUE_SIZE, RENDERBUFFER_ALPHA_SIZE, RENDERBUFFER_DEPTH_SIZE, or RENDERBUFFER_STENCIL_SIZE. |
Return:
the value for the passed pname given the passed target.
String
getShaderInfoLog
(shader : WebGLShader)
Return the information log for a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the shader object whose information log is to be queried. |
Return:
the information log for the specified shader object.
any
getShaderParameter
(shader : WebGLShader, pname : GLenum)
Return a parameter from a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the shader object to be queried. |
| pname | Specifies the object parameter. Accepted symbolic names are SHADER_TYPE, DELETE_STATUS, COMPILE_STATUS. |
Return:
the value for the passed pname given the passed shader.
String
getShaderSource
(shader : WebGLShader)
Return the source code string from a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the shader object to be queried. |
Return:
the concatenation of the source code strings from the shader object specified by shader.
String[]
getSupportedExtensions
()
Returns an array of all the supported extension strings
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
an array of all the supported extension strings
any
getTexParameter
(target : GLenum, pname : GLenum)
Return texture parameter values
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the symbolic name of the target texture of the active texture unit. TEXTURE_2D and TEXTURE_CUBE_MAP are accepted. |
| pname | Specifies the symbolic name of a texture parameter. TEXTURE_MAG_FILTER, TEXTURE_MIN_FILTER, TEXTURE_WRAP_S, and TEXTURE_WRAP_T are accepted. |
Return:
the value of the texture parameter specified as pname.
any
getUniform
(program : WebGLProgram, location : WebGLUniformLocation)
Return the value of a uniform variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| location | Specifies the location of the uniform variable to be queried. |
Return:
the uniform value at the passed location in the passed program. The type returned is dependent on the uniform type, as shown in the following table:
| uniform type | returned type |
|---|---|
| boolean | boolean |
| int | long |
| float | float |
| vec2 | Float32Array (with 2 elements) |
| ivec2 | Int32Array (with 2 elements) |
| bvec2 | boolean[] (with 2 elements) |
| vec3 | Float32Array (with 3 elements) |
| ivec3 | Int32Array (with 3 elements) |
| bvec3 | boolean[] (with 3 elements) |
| vec4 | Float32Array (with 4 elements) |
| ivec4 | Int32Array (with 4 elements) |
| bvec4 | boolean[] (with 4 elements) |
| mat2 | Float32Array (with 4 elements) |
| mat3 | Float32Array (with 9 elements) |
| mat4 | Float32Array (with 16 elements) |
WebGLUniformLocation
getUniformLocation
(program : WebGLProgram, name : String)
Return the location of a uniform variable
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the program object to be queried. |
| name | Points to a null terminated string containing the name of the uniform variable whose location is to be queried. |
Return:
an integer that represents the location of a specific uniform variable within a program object.
any
getVertexAttrib
(index : GLuint, pname : GLenum)
Return a generic vertex attribute parameter
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| index | Specifies the generic vertex attribute parameter to be queried. |
| pname | Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, VERTEX_ATTRIB_ARRAY_ENABLED, VERTEX_ATTRIB_ARRAY_SIZE, VERTEX_ATTRIB_ARRAY_STRIDE, VERTEX_ATTRIB_ARRAY_TYPE, VERTEX_ATTRIB_ARRAY_NORMALIZED, or CURRENT_VERTEX_ATTRIB. |
Return:
the value of a generic vertex attribute parameter.
GLsizeiptr
getVertexAttribOffset
(index : GLuint, pname : GLenum)
Return the address of the specified generic vertex attribute pointer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| index | Specifies the generic vertex attribute parameter to be returned. |
| pname | Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be VERTEX_ATTRIB_ARRAY_POINTER. |
Return:
the pointer value.
void
hint
(target : GLenum, mode : GLenum)
Specify implementation-specific hints
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies a symbolic constant indicating the behavior to be controlled. GENERATE_MIPMAP_HINT is accepted. |
| mode | Specifies a symbolic constant indicating the desired behavior. FASTEST, NICEST, and DONT_CARE are accepted. |
GLboolean
isBuffer
(buffer : WebGLBuffer)
Determine if a name corresponds to a buffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| buffer | Specifies a value that may be the name of a buffer object. |
Return:
TRUE if buffer is currently the name of a buffer object. If buffer is zero, or is a non-zero value that is not currently the name of a buffer object, or if an error occurs, isBuffer returns FALSE.
boolean
isContextLost
()
Returns true if the context is in the lost state
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Return:
true if the context is in the lost state, false otherwise
GLboolean
isEnabled
(cap : GLenum)
Test whether a capability is enabled
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| cap | Specifies a symbolic constant indicating a GL capability. |
Return:
returns WebGLRenderingContext.TRUE if cap is an enabled capability and returns WebGLRenderingContext.FALSE otherwise. Initially all capabilities except DITHER are disabled; DITHER is initially enabled. The following capabilities are accepted for cap:
| Constant | See |
|---|---|
| BLEND | #blendFunc |
| CULL_FACE | #cullFace |
| DEPTH_TEST | #depthFunc, #depthRange |
| DITHER | #enable |
| POLYGON_OFFSET_FILL | #polygonOffset |
| SAMPLE_ALPHA_TO_COVERAGE | #sampleCoverage |
| SAMPLE_COVERAGE | #sampleCoverage |
| SCISSOR_TEST | #scissor |
| STENCIL_TEST | #stencilFunc, #stencilOp |
GLboolean
isFramebuffer
(framebuffer : WebGLFramebuffer)
Determine if a name corresponds to a framebuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| framebuffer | Specifies a value that may be the name of a framebuffer object. |
Return:
true if the passed WebGLFramebuffer is valid and false otherwise.
GLboolean
isProgram
(program : WebGLProgram)
Determine if a name corresponds to a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies a potential program object. |
Return:
true if the passed WebGLProgram is valid and false otherwise.
GLboolean
isRenderbuffer
(renderbuffer : WebGLRenderbuffer)
Determine if a name corresponds to a renderbuffer object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| renderbuffer | Specifies a value that may be the name of a renderbuffer object. |
Return:
true if the passed WebGLRenderbuffer is valid and false otherwise.
GLboolean
isShader
(shader : WebGLShader)
Determine if a name corresponds to a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies a potential shader object. |
Return:
true if the passed WebGLShader is valid and false otherwise.
GLboolean
isTexture
(texture : WebGLTexture)
Determine if a name corresponds to a texture
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| texture | Specifies a value that may be the name of a texture. |
Return:
true if the passed WebGLTexture is valid and false otherwise.
void
lineWidth
(width : GLfloat)
Specify the width of rasterized lines
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| width | Specifies the width of rasterized lines. The initial value is 1. |
void
linkProgram
(program : WebGLProgram)
Link a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the handle of the program object to be linked. |
void
pixelStorei
(pname : GLenum, param : GLint)
Set pixel storage modes
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| pname | Specifies the symbolic name of the parameter to be set. One value affects the packing of pixel data into memory: PACK_ALIGNMENT. The other affects the unpacking of pixel data from memory: UNPACK_ALIGNMENT. |
| param | Specifies the value that pname is set to. |
void
polygonOffset
(factor : GLfloat, units : GLfloat)
Set the scale and units used to calculate depth values
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| factor | Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. |
| units | Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. |
void
readPixels
(x : GLint, y : GLint, width : GLsizei, height : GLsizei, format : GLenum, type : GLenum, pixels : ArrayBufferView)
Read a block of pixels from the frame buffer
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| x | Specify the x coordinate of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
| y | Specify the y coordinate of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. |
| width | Specify the width of the pixel rectangle. Width of one corresponds to a single pixel. |
| height | Specify the height of the pixel rectangle. Height of one corresponds to a single pixel. |
| format | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, and RGBA. |
| type | Specifies the data type of the pixel data. Must be one of UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, or UNSIGNED_SHORT_5_5_5_1. |
| pixels | Returns the pixel data. |
void
renderbufferStorage
(target : GLenum, internalformat : GLenum, width : GLsizei, height : GLsizei)
Create and initialize a renderbuffer object's data store
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the renderbuffer target. The symbolic constant must be RENDERBUFFER. |
| internalformat | Specifies the color-renderable, depth-renderable, or stencil-renderable format of the renderbuffer. Must be one of the following symbolic constants: RGBA4, RGB565, RGB5_A1, DEPTH_COMPONENT16, or STENCIL_INDEX8. |
| width | Specifies the width of the renderbuffer in pixels. |
| height | Specifies the height of the renderbuffer in pixels. |
void
sampleCoverage
(value : GLclampf, invert : GLboolean)
Specify multisample coverage parameters
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| value | Specify a single floating-point sample coverage value. The value is clamped to the range 0-1. The initial value is 1.0 . |
| invert | Specify a single boolean value representing if the coverage masks should be inverted. TRUE and FALSE are accepted. The initial value is FALSE. |
void
scissor
(x : GLint, y : GLint, width : GLsizei, height : GLsizei)
Define the scissor box
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| x | Specify the lower left corner of the scissor box. Initially (0, 0). |
| y | Specify the lower left corner of the scissor box. Initially (0, 0). |
| width | Specify the width of the scissor box. When a GL context is first attached to a window, width is set to the dimensions of that window. |
| height | Specify the height of the scissor box. When a GL context is first attached to a window, height is set to the dimensions of that window. |
void
shaderSource
(shader : WebGLShader, source : String)
Replace the source code in a shader object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| shader | Specifies the handle of the shader object whose source code is to be replaced. |
| source | Specifies the number of elements in the string and length arrays. |
void
stencilFunc
(func : GLenum, ref : GLint, mask : GLuint)
Set front and back function and reference value for stencil testing
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| func | Specifies the test function. Eight symbolic constants are valid: NEVER, LESS, LEQUAL, GREATER, GEQUAL, EQUAL, NOTEQUAL, and ALWAYS. The initial value is ALWAYS. |
| ref | Specifies the reference value for the stencil test. ref is clamped to the range 0-(2n-1), where n is the number of bitplanes in the stencil buffer. The initial value is 0. |
| mask | Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. |
void
stencilFuncSeparate
(face : GLenum, func : GLenum, ref : GLint, mask : GLuint)
Set front and/or back function and reference value for stencil testing
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| face | Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: FRONT, BACK, and FRONT_AND_BACK. |
| func | Specifies the test function. Eight symbolic constants are valid: NEVER, LESS, LEQUAL, GREATER, GEQUAL, EQUAL, NOTEQUAL, and ALWAYS. The initial value is ALWAYS. |
| ref | Specifies the reference value for the stencil test. ref is clamped to the range 0-(2n-1), where n is the number of bitplanes in the stencil buffer. The initial value is 0. |
| mask | Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. |
void
stencilMask
(mask : GLuint)
Control the front and back writing of individual bits in the stencil planes
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| mask | Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. |
void
stencilMaskSeparate
(face : GLenum, mask : GLuint)
Control the front and/or back writing of individual bits in the stencil planes
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| face | Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: FRONT, BACK, and FRONT_AND_BACK. |
| mask | Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. |
void
stencilOp
(fail : GLenum, zfail : GLenum, zpass : GLenum)
Set front and back stencil test actions
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| fail | Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: KEEP, ZERO, REPLACE, INCR, INCR_WRAP, DECR, DECR_WRAP, and INVERT. The initial value is KEEP. |
| zfail | Specifies the stencil action when the stencil test passes, but the depth test fails. zfail accepts the same symbolic constants as fail. The initial value is KEEP. |
| zpass | Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. zpass accepts the same symbolic constants as fail. The initial value is KEEP. |
void
stencilOpSeparate
(face : GLenum, fail : GLenum, zfail : GLenum, zpass : GLenum)
Set front and/or back stencil test actions
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| face | Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: FRONT, BACK, and FRONT_AND_BACK. |
| fail | Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: KEEP, ZERO, REPLACE, INCR, INCR_WRAP, DECR, DECR_WRAP, and INVERT. The initial value is KEEP. |
| zfail | Specifies the stencil action when the stencil test passes, but the depth test fails. zfail accepts the same symbolic constants as fail. The initial value is KEEP. |
| zpass | Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. zpass accepts the same symbolic constants as fail. The initial value is KEEP. |
void
texImage2D
(target : GLenum, level : GLint, internalformat : GLenum, format : GLenum, type : GLenum, video : HTMLVideoElement)
Specify a two-dimensional texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, RGBA. |
| format | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| type | Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| video | Specifies the width of the border. Must be 0. |
void
texImage2D
(target : GLenum, level : GLint, internalformat : GLenum, format : GLenum, type : GLenum, canvas : HTMLCanvasElement)
Specify a two-dimensional texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, RGBA. |
| format | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| type | Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| canvas | Specifies the width of the border. Must be 0. |
void
texImage2D
(target : GLenum, level : GLint, internalformat : GLenum, format : GLenum, type : GLenum, image : HTMLImageElement)
Specify a two-dimensional texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, RGBA. |
| format | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| type | Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| image | Specifies the width of the border. Must be 0. |
void
texImage2D
(target : GLenum, level : GLint, internalformat : GLenum, format : GLenum, type : GLenum, pixels : ImageData)
Specify a two-dimensional texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, RGBA. |
| format | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| type | Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| pixels | Specifies the width of the border. Must be 0. |
void
texImage2D
(target : GLenum, level : GLint, internalformat : GLenum, width : GLsizei, height : GLsizei, border : GLint, format : GLenum, type : GLenum, pixels : ArrayBufferView)
Specify a two-dimensional texture image
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| internalformat | Specifies the internal format of the texture. Must be one of the following symbolic constants: ALPHA, LUMINANCE, LUMINANCE_ALPHA, RGB, RGBA. |
| width | Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. |
| height | Specifies the height of the texture image All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. |
| border | Specifies the width of the border. Must be 0. |
| format | Specifies the format of the texel data. Must match internalformat. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
| type | Specifies the data type of the texel data. The following symbolic values are accepted: UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, and UNSIGNED_SHORT_5_5_5_1. |
| pixels | Specifies a pointer to the image data in memory. |
void
texParameterf
(target : GLenum, pname : GLenum, param : GLfloat)
Set texture parameters
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit, which must be either TEXTURE_2D or TEXTURE_CUBE_MAP. |
| pname | Specifies the symbolic name of a texture parameter. pname can be one of the following: TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER, TEXTURE_WRAP_S, or TEXTURE_WRAP_T. |
| param | Specifies the value of pname. |
void
texParameteri
(target : GLenum, pname : GLenum, param : GLint)
Set texture parameters
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit, which must be either TEXTURE_2D or TEXTURE_CUBE_MAP. |
| pname | Specifies the symbolic name of a texture parameter. pname can be one of the following: TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER, TEXTURE_WRAP_S, or TEXTURE_WRAP_T. |
| param | Specifies the value of pname. |
void
texSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, format : GLenum, type : GLenum, video : HTMLVideoElement)
Specify a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| format | Specifies the width of the texture subimage. |
| type | Specifies the height of the texture subimage. |
| video | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
void
texSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, format : GLenum, type : GLenum, canvas : HTMLCanvasElement)
Specify a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| format | Specifies the width of the texture subimage. |
| type | Specifies the height of the texture subimage. |
| canvas | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
void
texSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, format : GLenum, type : GLenum, image : HTMLImageElement)
Specify a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| format | Specifies the width of the texture subimage. |
| type | Specifies the height of the texture subimage. |
| image | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
void
texSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, format : GLenum, type : GLenum, pixels : ImageData)
Specify a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| format | Specifies the width of the texture subimage. |
| type | Specifies the height of the texture subimage. |
| pixels | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
void
texSubImage2D
(target : GLenum, level : GLint, xoffset : GLint, yoffset : GLint, width : GLsizei, height : GLsizei, format : GLenum, type : GLenum, pixels : ArrayBufferView)
Specify a two-dimensional texture subimage
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| target | Specifies the target texture of the active texture unit. Must be TEXTURE_2D, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, or TEXTURE_CUBE_MAP_NEGATIVE_Z. |
| level | Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. |
| xoffset | Specifies a texel offset in the x direction within the texture array. |
| yoffset | Specifies a texel offset in the y direction within the texture array. |
| width | Specifies the width of the texture subimage. |
| height | Specifies the height of the texture subimage. |
| format | Specifies the format of the pixel data. The following symbolic values are accepted: ALPHA, RGB, RGBA, LUMINANCE, and LUMINANCE_ALPHA. |
| type | Specifies the data type of the pixel data. The following symbolic values are accepted: UNSIGNED_BYTE, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_4_4_4_4, and UNSIGNED_SHORT_5_5_5_1. |
| pixels | Specifies a pointer to the image data in memory. |
void
uniform1f
(location : WebGLUniformLocation, x : GLfloat)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
void
uniform1fv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform1fv
(location : WebGLUniformLocation, v : FloatArray)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform1i
(location : WebGLUniformLocation, x : GLint)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
void
uniform1iv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform1iv
(location : WebGLUniformLocation, v : Int32Array)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform2f
(location : WebGLUniformLocation, x : GLfloat, y : GLfloat)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
void
uniform2fv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform2fv
(location : WebGLUniformLocation, v : FloatArray)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform2i
(location : WebGLUniformLocation, x : GLint, y : GLint)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
void
uniform2iv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform2iv
(location : WebGLUniformLocation, v : Int32Array)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform3f
(location : WebGLUniformLocation, x : GLfloat, y : GLfloat, z : GLfloat)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
| z | Specifies the new value to be used for the specified uniform variable. |
void
uniform3fv
(location : WebGLUniformLocation, v : FloatArray)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform3fv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform3i
(location : WebGLUniformLocation, x : GLint, y : GLint, z : GLint)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
| z | Specifies the new value to be used for the specified uniform variable. |
void
uniform3iv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform3iv
(location : WebGLUniformLocation, v : Int32Array)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform4f
(location : WebGLUniformLocation, x : GLfloat, y : GLfloat, z : GLfloat, w : GLfloat)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
| z | Specifies the new value to be used for the specified uniform variable. |
| w | Specifies the new value to be used for the specified uniform variable. |
void
uniform4fv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform4fv
(location : WebGLUniformLocation, v : FloatArray)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform4i
(location : WebGLUniformLocation, x : GLint, y : GLint, z : GLint, w : GLint)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| x | Specifies the new value to be used for the specified uniform variable. |
| y | Specifies the new value to be used for the specified uniform variable. |
| z | Specifies the new value to be used for the specified uniform variable. |
| w | Specifies the new value to be used for the specified uniform variable. |
void
uniform4iv
(location : WebGLUniformLocation, v : sequence)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniform4iv
(location : WebGLUniformLocation, v : Int32Array)
Specify the value of a uniform variable for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform variable to be modified. |
| v | Specifies the new values to be used for the specified uniform variable. |
void
uniformMatrix2fv
(location : WebGLUniformLocation, transpose : GLboolean, value : sequence)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
uniformMatrix2fv
(location : WebGLUniformLocation, transpose : GLboolean, value : FloatArray)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
uniformMatrix3fv
(location : WebGLUniformLocation, transpose : GLboolean, value : sequence)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
uniformMatrix3fv
(location : WebGLUniformLocation, transpose : GLboolean, value : FloatArray)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
uniformMatrix4fv
(location : WebGLUniformLocation, transpose : GLboolean, value : sequence)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
uniformMatrix4fv
(location : WebGLUniformLocation, transpose : GLboolean, value : FloatArray)
Specify the value of a uniform matrix for the current program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| location | Specifies the location of the uniform value to be modified. |
| transpose | Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be FALSE. |
| value | Specifies a pointer to an array of values that will be used to update the specified uniform matrix. |
void
useProgram
(program : WebGLProgram)
Install a program object as part of current rendering state
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the handle of the program object whose executables are to be used as part of current rendering state. |
void
validateProgram
(program : WebGLProgram)
Validate a program object
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| program | Specifies the handle of the program object to be validated. |
void
vertexAttrib1f
(indx : GLuint, x : GLfloat)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| x | Specifies the new value to be used for the specified vertex attribute. |
void
vertexAttrib1fv
(indx : GLuint, values : sequence)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib1fv
(indx : GLuint, values : FloatArray)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib2f
(indx : GLuint, x : GLfloat, y : GLfloat)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| x | Specifies the new value to be used for the specified vertex attribute. |
| y | Specifies the new value to be used for the specified vertex attribute. |
void
vertexAttrib2fv
(indx : GLuint, values : sequence)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib2fv
(indx : GLuint, values : FloatArray)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib3f
(indx : GLuint, x : GLfloat, y : GLfloat, z : GLfloat)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| x | Specifies the new value to be used for the specified vertex attribute. |
| y | Specifies the new value to be used for the specified vertex attribute. |
| z | Specifies the new value to be used for the specified vertex attribute. |
void
vertexAttrib3fv
(indx : GLuint, values : sequence)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib3fv
(indx : GLuint, values : FloatArray)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib4f
(indx : GLuint, x : GLfloat, y : GLfloat, z : GLfloat, w : GLfloat)
FSpecify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| x | Specifies the new value to be used for the specified vertex attribute. |
| y | Specifies the new value to be used for the specified vertex attribute. |
| z | Specifies the new value to be used for the specified vertex attribute. |
| w | Specifies the new value to be used for the specified vertex attribute. |
void
vertexAttrib4fv
(indx : GLuint, values : sequence)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttrib4fv
(indx : GLuint, values : FloatArray)
Specify the value of a generic vertex attribute
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| values | Specifies the new values to be used for the specified vertex attribute. |
void
vertexAttribPointer
(indx : GLuint, size : GLint, type : GLenum, normalized : GLboolean, stride : GLsizei, offset : GLintptr)
Define an array of generic vertex attribute data
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| indx | Specifies the index of the generic vertex attribute to be modified. |
| size | Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. |
| type | Specifies the data type of each component in the array. Symbolic constants BYTE, UNSIGNED_BYTE, SHORT, UNSIGNED_SHORT, FIXED, or FLOAT are accepted. The initial value is FLOAT. |
| normalized | Specifies whether fixed-point data values should be normalized (TRUE) or converted directly as fixed-point values (FALSE) when they are accessed. |
| stride | Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. |
| offset | Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. |
void
viewport
(x : GLint, y : GLint, width : GLsizei, height : GLsizei)
Set the viewport
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
| Parameters | |
|---|---|
| x | Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). |
| y | Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). |
| width | Specify the width of the viewport. When a GL context is first attached to a window, width is set to the dimensions of that window. |
| height | Specify the height of the viewport. When a GL context is first attached to a window, height is set to the dimensions of that window. |
Properties
canvas
canvas
Return the canvas interface element that the context paints on
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
Constants
static
GLenum
STENCIL_BUFFER_BIT
= 0x00000400
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COLOR_BUFFER_BIT
= 0x00004000
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
POINTS
= 0x0000
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINES
= 0x0001
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINE_LOOP
= 0x0002
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINE_STRIP
= 0x0003
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TRIANGLES
= 0x0004
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TRIANGLE_STRIP
= 0x0005
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TRIANGLE_FAN
= 0x0006
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ZERO
= 0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE
= 1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SRC_COLOR
= 0x0300
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_SRC_COLOR
= 0x0301
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SRC_ALPHA
= 0x0302
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_SRC_ALPHA
= 0x0303
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DST_ALPHA
= 0x0304
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_DST_ALPHA
= 0x0305
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DST_COLOR
= 0x0306
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_DST_COLOR
= 0x0307
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SRC_ALPHA_SATURATE
= 0x0308
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FUNC_ADD
= 0x8006
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_EQUATION
= 0x8009
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_EQUATION_RGB
= 0x8009
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_EQUATION_ALPHA
= 0x883D
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FUNC_SUBTRACT
= 0x800A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FUNC_REVERSE_SUBTRACT
= 0x800B
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_DST_RGB
= 0x80C8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_SRC_RGB
= 0x80C9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_DST_ALPHA
= 0x80CA
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_SRC_ALPHA
= 0x80CB
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CONSTANT_COLOR
= 0x8001
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_CONSTANT_COLOR
= 0x8002
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CONSTANT_ALPHA
= 0x8003
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ONE_MINUS_CONSTANT_ALPHA
= 0x8004
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND_COLOR
= 0x8005
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ARRAY_BUFFER
= 0x8892
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ELEMENT_ARRAY_BUFFER
= 0x8893
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ARRAY_BUFFER_BINDING
= 0x8894
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ELEMENT_ARRAY_BUFFER_BINDING
= 0x8895
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STREAM_DRAW
= 0x88E0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STATIC_DRAW
= 0x88E4
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DYNAMIC_DRAW
= 0x88E8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BUFFER_SIZE
= 0x8764
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BUFFER_USAGE
= 0x8765
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CURRENT_VERTEX_ATTRIB
= 0x8626
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRONT
= 0x0404
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BACK
= 0x0405
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRONT_AND_BACK
= 0x0408
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_2D
= 0x0DE1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CULL_FACE
= 0x0B44
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLEND
= 0x0BE2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DITHER
= 0x0BD0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_TEST
= 0x0B90
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_TEST
= 0x0B71
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SCISSOR_TEST
= 0x0C11
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
POLYGON_OFFSET_FILL
= 0x8037
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLE_ALPHA_TO_COVERAGE
= 0x809E
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLE_COVERAGE
= 0x80A0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NO_ERROR
= 0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INVALID_ENUM
= 0x0500
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INVALID_VALUE
= 0x0501
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INVALID_OPERATION
= 0x0502
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
OUT_OF_MEMORY
= 0x0505
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CW
= 0x0900
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CCW
= 0x0901
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINE_WIDTH
= 0x0B21
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ALIASED_POINT_SIZE_RANGE
= 0x846D
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ALIASED_LINE_WIDTH_RANGE
= 0x846E
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CULL_FACE_MODE
= 0x0B45
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRONT_FACE
= 0x0B46
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_RANGE
= 0x0B70
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_WRITEMASK
= 0x0B72
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_CLEAR_VALUE
= 0x0B73
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_FUNC
= 0x0B74
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_CLEAR_VALUE
= 0x0B91
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_FUNC
= 0x0B92
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_FAIL
= 0x0B94
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_PASS_DEPTH_FAIL
= 0x0B95
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_PASS_DEPTH_PASS
= 0x0B96
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_REF
= 0x0B97
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_VALUE_MASK
= 0x0B93
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_WRITEMASK
= 0x0B98
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_FUNC
= 0x8800
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_FAIL
= 0x8801
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_PASS_DEPTH_FAIL
= 0x8802
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_PASS_DEPTH_PASS
= 0x8803
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_REF
= 0x8CA3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_VALUE_MASK
= 0x8CA4
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BACK_WRITEMASK
= 0x8CA5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VIEWPORT
= 0x0BA2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SCISSOR_BOX
= 0x0C10
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COLOR_CLEAR_VALUE
= 0x0C22
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COLOR_WRITEMASK
= 0x0C23
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNPACK_ALIGNMENT
= 0x0CF5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
PACK_ALIGNMENT
= 0x0D05
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_TEXTURE_SIZE
= 0x0D33
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_VIEWPORT_DIMS
= 0x0D3A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SUBPIXEL_BITS
= 0x0D50
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RED_BITS
= 0x0D52
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
GREEN_BITS
= 0x0D53
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BLUE_BITS
= 0x0D54
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ALPHA_BITS
= 0x0D55
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_BITS
= 0x0D56
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_BITS
= 0x0D57
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
POLYGON_OFFSET_UNITS
= 0x2A00
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
POLYGON_OFFSET_FACTOR
= 0x8038
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_BINDING_2D
= 0x8069
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLE_BUFFERS
= 0x80A8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLES
= 0x80A9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLE_COVERAGE_VALUE
= 0x80AA
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLE_COVERAGE_INVERT
= 0x80AB
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NUM_COMPRESSED_TEXTURE_FORMATS
= 0x86A2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COMPRESSED_TEXTURE_FORMATS
= 0x86A3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DONT_CARE
= 0x1100
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FASTEST
= 0x1101
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NICEST
= 0x1102
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
GENERATE_MIPMAP_HINT
= 0x8192
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BYTE
= 0x1400
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_BYTE
= 0x1401
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SHORT
= 0x1402
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_SHORT
= 0x1403
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INT
= 0x1404
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_INT
= 0x1405
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT
= 0x1406
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_COMPONENT
= 0x1902
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ALPHA
= 0x1906
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RGB
= 0x1907
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RGBA
= 0x1908
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LUMINANCE
= 0x1909
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LUMINANCE_ALPHA
= 0x190A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_SHORT_4_4_4_4
= 0x8033
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_SHORT_5_5_5_1
= 0x8034
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNSIGNED_SHORT_5_6_5
= 0x8363
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAGMENT_SHADER
= 0x8B30
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_SHADER
= 0x8B31
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_VERTEX_ATTRIBS
= 0x8869
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_VERTEX_UNIFORM_VECTORS
= 0x8DFB
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_VARYING_VECTORS
= 0x8DFC
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_COMBINED_TEXTURE_IMAGE_UNITS
= 0x8B4D
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_VERTEX_TEXTURE_IMAGE_UNITS
= 0x8B4C
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_TEXTURE_IMAGE_UNITS
= 0x8872
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_FRAGMENT_UNIFORM_VECTORS
= 0x8DFD
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SHADER_TYPE
= 0x8B4F
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DELETE_STATUS
= 0x8B80
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINK_STATUS
= 0x8B82
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VALIDATE_STATUS
= 0x8B83
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ATTACHED_SHADERS
= 0x8B85
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ACTIVE_UNIFORMS
= 0x8B86
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ACTIVE_UNIFORM_MAX_LENGTH
= 0x8B87
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ACTIVE_ATTRIBUTES
= 0x8B89
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ACTIVE_ATTRIBUTE_MAX_LENGTH
= 0x8B8A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SHADING_LANGUAGE_VERSION
= 0x8B8C
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CURRENT_PROGRAM
= 0x8B8D
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NEVER
= 0x0200
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LESS
= 0x0201
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
EQUAL
= 0x0202
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LEQUAL
= 0x0203
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
GREATER
= 0x0204
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NOTEQUAL
= 0x0205
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
GEQUAL
= 0x0206
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ALWAYS
= 0x0207
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
KEEP
= 0x1E00
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
REPLACE
= 0x1E01
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INCR
= 0x1E02
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DECR
= 0x1E03
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INVERT
= 0x150A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INCR_WRAP
= 0x8507
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DECR_WRAP
= 0x8508
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VENDOR
= 0x1F00
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERER
= 0x1F01
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERSION
= 0x1F02
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NEAREST
= 0x2600
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINEAR
= 0x2601
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NEAREST_MIPMAP_NEAREST
= 0x2700
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINEAR_MIPMAP_NEAREST
= 0x2701
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NEAREST_MIPMAP_LINEAR
= 0x2702
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LINEAR_MIPMAP_LINEAR
= 0x2703
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_MAG_FILTER
= 0x2800
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_MIN_FILTER
= 0x2801
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_WRAP_S
= 0x2802
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_WRAP_T
= 0x2803
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE
= 0x1702
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP
= 0x8513
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_BINDING_CUBE_MAP
= 0x8514
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_POSITIVE_X
= 0x8515
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_NEGATIVE_X
= 0x8516
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_POSITIVE_Y
= 0x8517
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_NEGATIVE_Y
= 0x8518
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_POSITIVE_Z
= 0x8519
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE_CUBE_MAP_NEGATIVE_Z
= 0x851A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_CUBE_MAP_TEXTURE_SIZE
= 0x851C
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE0
= 0x84C0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE1
= 0x84C1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE2
= 0x84C2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE3
= 0x84C3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE4
= 0x84C4
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE5
= 0x84C5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE6
= 0x84C6
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE7
= 0x84C7
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE8
= 0x84C8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE9
= 0x84C9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE10
= 0x84CA
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE11
= 0x84CB
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE12
= 0x84CC
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE13
= 0x84CD
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE14
= 0x84CE
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE15
= 0x84CF
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE16
= 0x84D0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE17
= 0x84D1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE18
= 0x84D2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE19
= 0x84D3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE20
= 0x84D4
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE21
= 0x84D5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE22
= 0x84D6
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE23
= 0x84D7
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE24
= 0x84D8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE25
= 0x84D9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE26
= 0x84DA
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE27
= 0x84DB
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE28
= 0x84DC
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE29
= 0x84DD
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE30
= 0x84DE
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
TEXTURE31
= 0x84DF
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
ACTIVE_TEXTURE
= 0x84E0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
REPEAT
= 0x2901
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CLAMP_TO_EDGE
= 0x812F
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MIRRORED_REPEAT
= 0x8370
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_VEC2
= 0x8B50
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_VEC3
= 0x8B51
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_VEC4
= 0x8B52
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INT_VEC2
= 0x8B53
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INT_VEC3
= 0x8B54
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INT_VEC4
= 0x8B55
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BOOL
= 0x8B56
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BOOL_VEC2
= 0x8B57
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BOOL_VEC3
= 0x8B58
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
BOOL_VEC4
= 0x8B59
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_MAT2
= 0x8B5A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_MAT3
= 0x8B5B
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FLOAT_MAT4
= 0x8B5C
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLER_2D
= 0x8B5E
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SAMPLER_CUBE
= 0x8B60
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_ENABLED
= 0x8622
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_SIZE
= 0x8623
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_STRIDE
= 0x8624
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_TYPE
= 0x8625
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_NORMALIZED
= 0x886A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_POINTER
= 0x8645
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
= 0x889F
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COMPILE_STATUS
= 0x8B81
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INFO_LOG_LENGTH
= 0x8B84
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
SHADER_SOURCE_LENGTH
= 0x8B88
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LOW_FLOAT
= 0x8DF0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MEDIUM_FLOAT
= 0x8DF1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
HIGH_FLOAT
= 0x8DF2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
LOW_INT
= 0x8DF3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MEDIUM_INT
= 0x8DF4
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
HIGH_INT
= 0x8DF5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER
= 0x8D40
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER
= 0x8D41
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RGBA4
= 0x8056
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RGB5_A1
= 0x8057
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RGB565
= 0x8D62
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_COMPONENT16
= 0x81A5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_INDEX
= 0x1901
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_INDEX8
= 0x8D48
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_STENCIL
= 0x84F9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_WIDTH
= 0x8D42
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_HEIGHT
= 0x8D43
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_INTERNAL_FORMAT
= 0x8D44
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_RED_SIZE
= 0x8D50
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_GREEN_SIZE
= 0x8D51
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_BLUE_SIZE
= 0x8D52
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_ALPHA_SIZE
= 0x8D53
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_DEPTH_SIZE
= 0x8D54
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_STENCIL_SIZE
= 0x8D55
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
= 0x8CD0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
= 0x8CD1
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
= 0x8CD2
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
= 0x8CD3
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
COLOR_ATTACHMENT0
= 0x8CE0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_ATTACHMENT
= 0x8D00
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
STENCIL_ATTACHMENT
= 0x8D20
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
DEPTH_STENCIL_ATTACHMENT
= 0x821A
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
NONE
= 0
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_COMPLETE
= 0x8CD5
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_INCOMPLETE_ATTACHMENT
= 0x8CD6
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
= 0x8CD7
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_INCOMPLETE_DIMENSIONS
= 0x8CD9
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_UNSUPPORTED
= 0x8CDD
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
FRAMEBUFFER_BINDING
= 0x8CA6
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
RENDERBUFFER_BINDING
= 0x8CA7
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
MAX_RENDERBUFFER_SIZE
= 0x84E8
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
INVALID_FRAMEBUFFER_OPERATION
= 0x0506
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNPACK_FLIP_Y_WEBGL
= 0x9240
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
UNPACK_PREMULTIPLY_ALPHA_WEBGL
= 0x9241
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |
static
GLenum
CONTEXT_LOST_WEBGL
= 0x9242
| Supported Platforms | |
|---|---|
| - BlackBerry PlayBook 2.0 | |
| - BlackBerry 10 | |
| - Ripple Emulator | |