W3cubDocs

/Haxe JavaScript

RenderingContext

package js.html.webgl

@:native("WebGLRenderingContext") Available on js

The WebGLRenderingContext interface provides the OpenGL ES 2.0 rendering context for the drawing surface of an HTML canvas element.

Documentation WebGLRenderingContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only canvas:CanvasElement

read only drawingBufferHeight:Int

read only drawingBufferWidth:Int

Methods

activeTexture (texture:Int):Void

attachShader (program:Program, shader:Shader):Void

bindAttribLocation (program:Program, index:Int, name:String):Void

bindBuffer (target:Int, buffer:Buffer):Void

bindFramebuffer (target:Int, framebuffer:Framebuffer):Void

bindRenderbuffer (target:Int, renderbuffer:Renderbuffer):Void

bindTexture (target:Int, texture:Texture):Void

blendColor (red:Float, green:Float, blue:Float, alpha:Float):Void

blendEquation (mode:Int):Void

blendEquationSeparate (modeRGB:Int, modeAlpha:Int):Void

blendFunc (sfactor:Int, dfactor:Int):Void

blendFuncSeparate (srcRGB:Int, dstRGB:Int, srcAlpha:Int, dstAlpha:Int):Void

bufferData (target:Int, data:Dynamic, usage:Int):Void

bufferData (target:Int, size:Int, usage:Int):Void

bufferData (target:Int, data:ArrayBufferView, usage:Int):Void

bufferData (target:Int, data:ArrayBuffer, usage:Int):Void

bufferSubData (target:Int, offset:Int, data:Dynamic):Void

bufferSubData (target:Int, offset:Int, data:ArrayBufferView):Void

bufferSubData (target:Int, offset:Int, data:ArrayBuffer):Void

checkFramebufferStatus (target:Int):Int

clear (mask:Int):Void

clearColor (red:Float, green:Float, blue:Float, alpha:Float):Void

clearDepth (depth:Float):Void

clearStencil (s:Int):Void

colorMask (red:Bool, green:Bool, blue:Bool, alpha:Bool):Void

compileShader (shader:Shader):Void

compressedTexImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, data:ArrayBufferView):Void

compressedTexSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, data:ArrayBufferView):Void

copyTexImage2D (target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int):Void

copyTexSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int):Void

createBuffer ():Buffer

createFramebuffer ():Framebuffer

createProgram ():Program

createRenderbuffer ():Renderbuffer

createShader (type:Int):Shader

createTexture ():Texture

cullFace (mode:Int):Void

deleteBuffer (buffer:Buffer):Void

deleteFramebuffer (framebuffer:Framebuffer):Void

deleteProgram (program:Program):Void

deleteRenderbuffer (renderbuffer:Renderbuffer):Void

deleteShader (shader:Shader):Void

deleteTexture (texture:Texture):Void

depthFunc (func:Int):Void

depthMask (flag:Bool):Void

depthRange (zNear:Float, zFar:Float):Void

detachShader (program:Program, shader:Shader):Void

disable (cap:Int):Void

disableVertexAttribArray (index:Int):Void

drawArrays (mode:Int, first:Int, count:Int):Void

drawElements (mode:Int, count:Int, type:Int, offset:Int):Void

enable (cap:Int):Void

enableVertexAttribArray (index:Int):Void

finish ():Void

flush ():Void

framebufferRenderbuffer (target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:Renderbuffer):Void

framebufferTexture2D (target:Int, attachment:Int, textarget:Int, texture:Texture, level:Int):Void

frontFace (mode:Int):Void

generateMipmap (target:Int):Void

getActiveAttrib (program:Program, index:Int):ActiveInfo

getActiveUniform (program:Program, index:Int):ActiveInfo

getAttachedShaders (program:Program):Array<Shader>

getAttribLocation (program:Program, name:String):Int

getBufferParameter (target:Int, pname:Int):Dynamic

getContextAttributes ():ContextAttributes

getError ():Int

getExtension (name:String):Dynamic

Throws:

null DOMError

getFramebufferAttachmentParameter (target:Int, attachment:Int, pname:Int):Dynamic

Throws:

null DOMError

getParameter (pname:Int):Dynamic

Throws:

null DOMError

getProgramInfoLog (program:Program):String

getProgramParameter (program:Program, pname:Int):Dynamic

getRenderbufferParameter (target:Int, pname:Int):Dynamic

getShaderInfoLog (shader:Shader):String

getShaderParameter (shader:Shader, pname:Int):Dynamic

getShaderPrecisionFormat (shadertype:Int, precisiontype:Int):ShaderPrecisionFormat

getShaderSource (shader:Shader):String

getSupportedExtensions ():Array<String>

getTexParameter (target:Int, pname:Int):Dynamic

getUniform (program:Program, location:UniformLocation):Dynamic

getUniformLocation (program:Program, name:String):UniformLocation

getVertexAttrib (index:Int, pname:Int):Dynamic

Throws:

null DOMError

getVertexAttribOffset (index:Int, pname:Int):Int

hint (target:Int, mode:Int):Void

isBuffer (buffer:Buffer):Bool

isContextLost ():Bool

isEnabled (cap:Int):Bool

isFramebuffer (framebuffer:Framebuffer):Bool

isProgram (program:Program):Bool

isRenderbuffer (renderbuffer:Renderbuffer):Bool

isShader (shader:Shader):Bool

isTexture (texture:Texture):Bool

lineWidth (width:Float):Void

linkProgram (program:Program):Void

pixelStorei (pname:Int, param:Int):Void

polygonOffset (factor:Float, units:Float):Void

readPixels (x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

Throws:

null DOMError

renderbufferStorage (target:Int, internalformat:Int, width:Int, height:Int):Void

sampleCoverage (value:Float, invert:Bool):Void

scissor (x:Int, y:Int, width:Int, height:Int):Void

shaderSource (shader:Shader, source:String):Void

stencilFunc (func:Int, ref:Int, mask:Int):Void

stencilFuncSeparate (face:Int, func:Int, ref:Int, mask:Int):Void

stencilMask (mask:Int):Void

stencilMaskSeparate (face:Int, mask:Int):Void

stencilOp (fail:Int, zfail:Int, zpass:Int):Void

stencilOpSeparate (face:Int, fail:Int, zfail:Int, zpass:Int):Void

texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, video:VideoElement):Void

texImage2D (target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, pixels:ImageData):Void

texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, image:ImageElement):Void

texImage2D (target:Int, level:Int, internalformat:Int, format:Int, type:Int, canvas:CanvasElement):Void

Throws:

null DOMError

texParameterf (target:Int, pname:Int, param:Float):Void

texParameteri (target:Int, pname:Int, param:Int):Void

texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, video:VideoElement):Void

texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:ArrayBufferView):Void

texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, pixels:ImageData):Void

texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, image:ImageElement):Void

texSubImage2D (target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, canvas:CanvasElement):Void

Throws:

null DOMError

uniform1f (location:UniformLocation, x:Float):Void

uniform1fv (location:UniformLocation, v:Array<Float>):Void

uniform1fv (location:UniformLocation, v:Float32Array):Void

uniform1i (location:UniformLocation, x:Int):Void

uniform1iv (location:UniformLocation, v:Array<Int>):Void

uniform1iv (location:UniformLocation, v:Int32Array):Void

uniform2f (location:UniformLocation, x:Float, y:Float):Void

uniform2fv (location:UniformLocation, v:Array<Float>):Void

uniform2fv (location:UniformLocation, v:Float32Array):Void

uniform2i (location:UniformLocation, x:Int, y:Int):Void

uniform2iv (location:UniformLocation, v:Array<Int>):Void

uniform2iv (location:UniformLocation, v:Int32Array):Void

uniform3f (location:UniformLocation, x:Float, y:Float, z:Float):Void

uniform3fv (location:UniformLocation, v:Array<Float>):Void

uniform3fv (location:UniformLocation, v:Float32Array):Void

uniform3i (location:UniformLocation, x:Int, y:Int, z:Int):Void

uniform3iv (location:UniformLocation, v:Array<Int>):Void

uniform3iv (location:UniformLocation, v:Int32Array):Void

uniform4f (location:UniformLocation, x:Float, y:Float, z:Float, w:Float):Void

uniform4fv (location:UniformLocation, v:Array<Float>):Void

uniform4fv (location:UniformLocation, v:Float32Array):Void

uniform4i (location:UniformLocation, x:Int, y:Int, z:Int, w:Int):Void

uniform4iv (location:UniformLocation, v:Array<Int>):Void

uniform4iv (location:UniformLocation, v:Int32Array):Void

uniformMatrix2fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void

uniformMatrix2fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void

uniformMatrix3fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void

uniformMatrix3fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void

uniformMatrix4fv (location:UniformLocation, transpose:Bool, value:Array<Float>):Void

uniformMatrix4fv (location:UniformLocation, transpose:Bool, value:Float32Array):Void

useProgram (program:Program):Void

validateProgram (program:Program):Void

vertexAttrib1f (indx:Int, x:Float):Void

vertexAttrib1fv (indx:Int, values:Array<Float>):Void

vertexAttrib1fv (indx:Int, values:Float32Array):Void

vertexAttrib2f (indx:Int, x:Float, y:Float):Void

vertexAttrib2fv (indx:Int, values:Array<Float>):Void

vertexAttrib2fv (indx:Int, values:Float32Array):Void

vertexAttrib3f (indx:Int, x:Float, y:Float, z:Float):Void

vertexAttrib3fv (indx:Int, values:Array<Float>):Void

vertexAttrib3fv (indx:Int, values:Float32Array):Void

vertexAttrib4f (indx:Int, x:Float, y:Float, z:Float, w:Float):Void

vertexAttrib4fv (indx:Int, values:Array<Float>):Void

vertexAttrib4fv (indx:Int, values:Float32Array):Void

vertexAttribPointer (indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, offset:Int):Void

viewport (x:Int, y:Int, width:Int, height:Int):Void

Static variables

@:value(35721) static inline read only ACTIVE_ATTRIBUTES:Int = 35721

@:value(34016) static inline read only ACTIVE_TEXTURE:Int = 34016

@:value(35718) static inline read only ACTIVE_UNIFORMS:Int = 35718

@:value(33902) static inline read only ALIASED_LINE_WIDTH_RANGE:Int = 33902

@:value(33901) static inline read only ALIASED_POINT_SIZE_RANGE:Int = 33901

@:value(6406) static inline read only ALPHA:Int = 6406

@:value(3413) static inline read only ALPHA_BITS:Int = 3413

@:value(519) static inline read only ALWAYS:Int = 519

@:value(34962) static inline read only ARRAY_BUFFER:Int = 34962

@:value(34964) static inline read only ARRAY_BUFFER_BINDING:Int = 34964

@:value(35717) static inline read only ATTACHED_SHADERS:Int = 35717

@:value(1029) static inline read only BACK:Int = 1029

@:value(3042) static inline read only BLEND:Int = 3042

@:value(32773) static inline read only BLEND_COLOR:Int = 32773

@:value(32970) static inline read only BLEND_DST_ALPHA:Int = 32970

@:value(32968) static inline read only BLEND_DST_RGB:Int = 32968

@:value(32777) static inline read only BLEND_EQUATION:Int = 32777

@:value(34877) static inline read only BLEND_EQUATION_ALPHA:Int = 34877

@:value(32777) static inline read only BLEND_EQUATION_RGB:Int = 32777

@:value(32971) static inline read only BLEND_SRC_ALPHA:Int = 32971

@:value(32969) static inline read only BLEND_SRC_RGB:Int = 32969

@:value(3412) static inline read only BLUE_BITS:Int = 3412

@:value(35670) static inline read only BOOL:Int = 35670

@:value(35671) static inline read only BOOL_VEC2:Int = 35671

@:value(35672) static inline read only BOOL_VEC3:Int = 35672

@:value(35673) static inline read only BOOL_VEC4:Int = 35673

@:value(37444) static inline read only BROWSER_DEFAULT_WEBGL:Int = 37444

@:value(34660) static inline read only BUFFER_SIZE:Int = 34660

@:value(34661) static inline read only BUFFER_USAGE:Int = 34661

@:value(5120) static inline read only BYTE:Int = 5120

@:value(2305) static inline read only CCW:Int = 2305

@:value(33071) static inline read only CLAMP_TO_EDGE:Int = 33071

@:value(36064) static inline read only COLOR_ATTACHMENT0:Int = 36064

@:value(16384) static inline read only COLOR_BUFFER_BIT:Int = 16384

@:value(3106) static inline read only COLOR_CLEAR_VALUE:Int = 3106

@:value(3107) static inline read only COLOR_WRITEMASK:Int = 3107

@:value(35713) static inline read only COMPILE_STATUS:Int = 35713

@:value(34467) static inline read only COMPRESSED_TEXTURE_FORMATS:Int = 34467

@:value(32771) static inline read only CONSTANT_ALPHA:Int = 32771

@:value(32769) static inline read only CONSTANT_COLOR:Int = 32769

@:value(37442) static inline read only CONTEXT_LOST_WEBGL:Int = 37442

@:value(2884) static inline read only CULL_FACE:Int = 2884

@:value(2885) static inline read only CULL_FACE_MODE:Int = 2885

@:value(35725) static inline read only CURRENT_PROGRAM:Int = 35725

@:value(34342) static inline read only CURRENT_VERTEX_ATTRIB:Int = 34342

@:value(2304) static inline read only CW:Int = 2304

@:value(7683) static inline read only DECR:Int = 7683

@:value(34056) static inline read only DECR_WRAP:Int = 34056

@:value(35712) static inline read only DELETE_STATUS:Int = 35712

@:value(36096) static inline read only DEPTH_ATTACHMENT:Int = 36096

@:value(3414) static inline read only DEPTH_BITS:Int = 3414

@:value(256) static inline read only DEPTH_BUFFER_BIT:Int = 256

@:value(2931) static inline read only DEPTH_CLEAR_VALUE:Int = 2931

@:value(6402) static inline read only DEPTH_COMPONENT:Int = 6402

@:value(33189) static inline read only DEPTH_COMPONENT16:Int = 33189

@:value(2932) static inline read only DEPTH_FUNC:Int = 2932

@:value(2928) static inline read only DEPTH_RANGE:Int = 2928

@:value(34041) static inline read only DEPTH_STENCIL:Int = 34041

@:value(33306) static inline read only DEPTH_STENCIL_ATTACHMENT:Int = 33306

@:value(2929) static inline read only DEPTH_TEST:Int = 2929

@:value(2930) static inline read only DEPTH_WRITEMASK:Int = 2930

@:value(3024) static inline read only DITHER:Int = 3024

@:value(4352) static inline read only DONT_CARE:Int = 4352

@:value(772) static inline read only DST_ALPHA:Int = 772

@:value(774) static inline read only DST_COLOR:Int = 774

@:value(35048) static inline read only DYNAMIC_DRAW:Int = 35048

@:value(34963) static inline read only ELEMENT_ARRAY_BUFFER:Int = 34963

@:value(34965) static inline read only ELEMENT_ARRAY_BUFFER_BINDING:Int = 34965

@:value(514) static inline read only EQUAL:Int = 514

@:value(4353) static inline read only FASTEST:Int = 4353

@:value(5126) static inline read only FLOAT:Int = 5126

@:value(35674) static inline read only FLOAT_MAT2:Int = 35674

@:value(35675) static inline read only FLOAT_MAT3:Int = 35675

@:value(35676) static inline read only FLOAT_MAT4:Int = 35676

@:value(35664) static inline read only FLOAT_VEC2:Int = 35664

@:value(35665) static inline read only FLOAT_VEC3:Int = 35665

@:value(35666) static inline read only FLOAT_VEC4:Int = 35666

@:value(35632) static inline read only FRAGMENT_SHADER:Int = 35632

@:value(36160) static inline read only FRAMEBUFFER:Int = 36160

@:value(36049) static inline read only FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:Int = 36049

@:value(36048) static inline read only FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:Int = 36048

@:value(36051) static inline read only FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:Int = 36051

@:value(36050) static inline read only FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:Int = 36050

@:value(36006) static inline read only FRAMEBUFFER_BINDING:Int = 36006

@:value(36053) static inline read only FRAMEBUFFER_COMPLETE:Int = 36053

@:value(36054) static inline read only FRAMEBUFFER_INCOMPLETE_ATTACHMENT:Int = 36054

@:value(36057) static inline read only FRAMEBUFFER_INCOMPLETE_DIMENSIONS:Int = 36057

@:value(36055) static inline read only FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:Int = 36055

@:value(36061) static inline read only FRAMEBUFFER_UNSUPPORTED:Int = 36061

@:value(1028) static inline read only FRONT:Int = 1028

@:value(1032) static inline read only FRONT_AND_BACK:Int = 1032

@:value(2886) static inline read only FRONT_FACE:Int = 2886

@:value(32774) static inline read only FUNC_ADD:Int = 32774

@:value(32779) static inline read only FUNC_REVERSE_SUBTRACT:Int = 32779

@:value(32778) static inline read only FUNC_SUBTRACT:Int = 32778

@:value(33170) static inline read only GENERATE_MIPMAP_HINT:Int = 33170

@:value(518) static inline read only GEQUAL:Int = 518

@:value(516) static inline read only GREATER:Int = 516

@:value(3411) static inline read only GREEN_BITS:Int = 3411

@:value(36338) static inline read only HIGH_FLOAT:Int = 36338

@:value(36341) static inline read only HIGH_INT:Int = 36341

@:value(35739) static inline read only IMPLEMENTATION_COLOR_READ_FORMAT:Int = 35739

@:value(35738) static inline read only IMPLEMENTATION_COLOR_READ_TYPE:Int = 35738

@:value(7682) static inline read only INCR:Int = 7682

@:value(34055) static inline read only INCR_WRAP:Int = 34055

@:value(5124) static inline read only INT:Int = 5124

@:value(35667) static inline read only INT_VEC2:Int = 35667

@:value(35668) static inline read only INT_VEC3:Int = 35668

@:value(35669) static inline read only INT_VEC4:Int = 35669

@:value(1280) static inline read only INVALID_ENUM:Int = 1280

@:value(1286) static inline read only INVALID_FRAMEBUFFER_OPERATION:Int = 1286

@:value(1282) static inline read only INVALID_OPERATION:Int = 1282

@:value(1281) static inline read only INVALID_VALUE:Int = 1281

@:value(5386) static inline read only INVERT:Int = 5386

@:value(7680) static inline read only KEEP:Int = 7680

@:value(515) static inline read only LEQUAL:Int = 515

@:value(513) static inline read only LESS:Int = 513

@:value(9729) static inline read only LINEAR:Int = 9729

@:value(9987) static inline read only LINEAR_MIPMAP_LINEAR:Int = 9987

@:value(9985) static inline read only LINEAR_MIPMAP_NEAREST:Int = 9985

@:value(1) static inline read only LINES:Int = 1

@:value(2) static inline read only LINE_LOOP:Int = 2

@:value(3) static inline read only LINE_STRIP:Int = 3

@:value(2849) static inline read only LINE_WIDTH:Int = 2849

@:value(36336) static inline read only LOW_FLOAT:Int = 36336

@:value(36339) static inline read only LOW_INT:Int = 36339

@:value(6409) static inline read only LUMINANCE:Int = 6409

@:value(6410) static inline read only LUMINANCE_ALPHA:Int = 6410

@:value(35661) static inline read only MAX_COMBINED_TEXTURE_IMAGE_UNITS:Int = 35661

@:value(34076) static inline read only MAX_CUBE_MAP_TEXTURE_SIZE:Int = 34076

@:value(36349) static inline read only MAX_FRAGMENT_UNIFORM_VECTORS:Int = 36349

@:value(34024) static inline read only MAX_RENDERBUFFER_SIZE:Int = 34024

@:value(34930) static inline read only MAX_TEXTURE_IMAGE_UNITS:Int = 34930

@:value(3379) static inline read only MAX_TEXTURE_SIZE:Int = 3379

@:value(36348) static inline read only MAX_VARYING_VECTORS:Int = 36348

@:value(34921) static inline read only MAX_VERTEX_ATTRIBS:Int = 34921

@:value(35660) static inline read only MAX_VERTEX_TEXTURE_IMAGE_UNITS:Int = 35660

@:value(36347) static inline read only MAX_VERTEX_UNIFORM_VECTORS:Int = 36347

@:value(3386) static inline read only MAX_VIEWPORT_DIMS:Int = 3386

@:value(36337) static inline read only MEDIUM_FLOAT:Int = 36337

@:value(36340) static inline read only MEDIUM_INT:Int = 36340

@:value(33648) static inline read only MIRRORED_REPEAT:Int = 33648

@:value(9728) static inline read only NEAREST:Int = 9728

@:value(9986) static inline read only NEAREST_MIPMAP_LINEAR:Int = 9986

@:value(9984) static inline read only NEAREST_MIPMAP_NEAREST:Int = 9984

@:value(512) static inline read only NEVER:Int = 512

@:value(4354) static inline read only NICEST:Int = 4354

@:value(0) static inline read only NONE:Int = 0

@:value(517) static inline read only NOTEQUAL:Int = 517

@:value(0) static inline read only NO_ERROR:Int = 0

@:value(1) static inline read only ONE:Int = 1

@:value(32772) static inline read only ONE_MINUS_CONSTANT_ALPHA:Int = 32772

@:value(32770) static inline read only ONE_MINUS_CONSTANT_COLOR:Int = 32770

@:value(773) static inline read only ONE_MINUS_DST_ALPHA:Int = 773

@:value(775) static inline read only ONE_MINUS_DST_COLOR:Int = 775

@:value(771) static inline read only ONE_MINUS_SRC_ALPHA:Int = 771

@:value(769) static inline read only ONE_MINUS_SRC_COLOR:Int = 769

@:value(1285) static inline read only OUT_OF_MEMORY:Int = 1285

@:value(3333) static inline read only PACK_ALIGNMENT:Int = 3333

@:value(0) static inline read only POINTS:Int = 0

@:value(32824) static inline read only POLYGON_OFFSET_FACTOR:Int = 32824

@:value(32823) static inline read only POLYGON_OFFSET_FILL:Int = 32823

@:value(10752) static inline read only POLYGON_OFFSET_UNITS:Int = 10752

@:value(3410) static inline read only RED_BITS:Int = 3410

@:value(36161) static inline read only RENDERBUFFER:Int = 36161

@:value(36179) static inline read only RENDERBUFFER_ALPHA_SIZE:Int = 36179

@:value(36007) static inline read only RENDERBUFFER_BINDING:Int = 36007

@:value(36178) static inline read only RENDERBUFFER_BLUE_SIZE:Int = 36178

@:value(36180) static inline read only RENDERBUFFER_DEPTH_SIZE:Int = 36180

@:value(36177) static inline read only RENDERBUFFER_GREEN_SIZE:Int = 36177

@:value(36163) static inline read only RENDERBUFFER_HEIGHT:Int = 36163

@:value(36164) static inline read only RENDERBUFFER_INTERNAL_FORMAT:Int = 36164

@:value(36176) static inline read only RENDERBUFFER_RED_SIZE:Int = 36176

@:value(36181) static inline read only RENDERBUFFER_STENCIL_SIZE:Int = 36181

@:value(36162) static inline read only RENDERBUFFER_WIDTH:Int = 36162

@:value(7937) static inline read only RENDERER:Int = 7937

@:value(10497) static inline read only REPEAT:Int = 10497

@:value(7681) static inline read only REPLACE:Int = 7681

@:value(6407) static inline read only RGB:Int = 6407

@:value(36194) static inline read only RGB565:Int = 36194

@:value(32855) static inline read only RGB5_A1:Int = 32855

@:value(6408) static inline read only RGBA:Int = 6408

@:value(32854) static inline read only RGBA4:Int = 32854

@:value(35678) static inline read only SAMPLER_2D:Int = 35678

@:value(35680) static inline read only SAMPLER_CUBE:Int = 35680

@:value(32937) static inline read only SAMPLES:Int = 32937

@:value(32926) static inline read only SAMPLE_ALPHA_TO_COVERAGE:Int = 32926

@:value(32936) static inline read only SAMPLE_BUFFERS:Int = 32936

@:value(32928) static inline read only SAMPLE_COVERAGE:Int = 32928

@:value(32939) static inline read only SAMPLE_COVERAGE_INVERT:Int = 32939

@:value(32938) static inline read only SAMPLE_COVERAGE_VALUE:Int = 32938

@:value(3088) static inline read only SCISSOR_BOX:Int = 3088

@:value(3089) static inline read only SCISSOR_TEST:Int = 3089

@:value(35663) static inline read only SHADER_TYPE:Int = 35663

@:value(35724) static inline read only SHADING_LANGUAGE_VERSION:Int = 35724

@:value(5122) static inline read only SHORT:Int = 5122

@:value(770) static inline read only SRC_ALPHA:Int = 770

@:value(776) static inline read only SRC_ALPHA_SATURATE:Int = 776

@:value(768) static inline read only SRC_COLOR:Int = 768

@:value(35044) static inline read only STATIC_DRAW:Int = 35044

@:value(36128) static inline read only STENCIL_ATTACHMENT:Int = 36128

@:value(34817) static inline read only STENCIL_BACK_FAIL:Int = 34817

@:value(34816) static inline read only STENCIL_BACK_FUNC:Int = 34816

@:value(34818) static inline read only STENCIL_BACK_PASS_DEPTH_FAIL:Int = 34818

@:value(34819) static inline read only STENCIL_BACK_PASS_DEPTH_PASS:Int = 34819

@:value(36003) static inline read only STENCIL_BACK_REF:Int = 36003

@:value(36004) static inline read only STENCIL_BACK_VALUE_MASK:Int = 36004

@:value(36005) static inline read only STENCIL_BACK_WRITEMASK:Int = 36005

@:value(3415) static inline read only STENCIL_BITS:Int = 3415

@:value(1024) static inline read only STENCIL_BUFFER_BIT:Int = 1024

@:value(2961) static inline read only STENCIL_CLEAR_VALUE:Int = 2961

@:value(2964) static inline read only STENCIL_FAIL:Int = 2964

@:value(2962) static inline read only STENCIL_FUNC:Int = 2962

@:value(6401) static inline read only STENCIL_INDEX:Int = 6401

@:value(36168) static inline read only STENCIL_INDEX8:Int = 36168

@:value(2965) static inline read only STENCIL_PASS_DEPTH_FAIL:Int = 2965

@:value(2966) static inline read only STENCIL_PASS_DEPTH_PASS:Int = 2966

@:value(2967) static inline read only STENCIL_REF:Int = 2967

@:value(2960) static inline read only STENCIL_TEST:Int = 2960

@:value(2963) static inline read only STENCIL_VALUE_MASK:Int = 2963

@:value(2968) static inline read only STENCIL_WRITEMASK:Int = 2968

@:value(35040) static inline read only STREAM_DRAW:Int = 35040

@:value(3408) static inline read only SUBPIXEL_BITS:Int = 3408

@:value(5890) static inline read only TEXTURE:Int = 5890

@:value(33984) static inline read only TEXTURE0:Int = 33984

@:value(33985) static inline read only TEXTURE1:Int = 33985

@:value(33994) static inline read only TEXTURE10:Int = 33994

@:value(33995) static inline read only TEXTURE11:Int = 33995

@:value(33996) static inline read only TEXTURE12:Int = 33996

@:value(33997) static inline read only TEXTURE13:Int = 33997

@:value(33998) static inline read only TEXTURE14:Int = 33998

@:value(33999) static inline read only TEXTURE15:Int = 33999

@:value(34000) static inline read only TEXTURE16:Int = 34000

@:value(34001) static inline read only TEXTURE17:Int = 34001

@:value(34002) static inline read only TEXTURE18:Int = 34002

@:value(34003) static inline read only TEXTURE19:Int = 34003

@:value(33986) static inline read only TEXTURE2:Int = 33986

@:value(34004) static inline read only TEXTURE20:Int = 34004

@:value(34005) static inline read only TEXTURE21:Int = 34005

@:value(34006) static inline read only TEXTURE22:Int = 34006

@:value(34007) static inline read only TEXTURE23:Int = 34007

@:value(34008) static inline read only TEXTURE24:Int = 34008

@:value(34009) static inline read only TEXTURE25:Int = 34009

@:value(34010) static inline read only TEXTURE26:Int = 34010

@:value(34011) static inline read only TEXTURE27:Int = 34011

@:value(34012) static inline read only TEXTURE28:Int = 34012

@:value(34013) static inline read only TEXTURE29:Int = 34013

@:value(33987) static inline read only TEXTURE3:Int = 33987

@:value(34014) static inline read only TEXTURE30:Int = 34014

@:value(34015) static inline read only TEXTURE31:Int = 34015

@:value(33988) static inline read only TEXTURE4:Int = 33988

@:value(33989) static inline read only TEXTURE5:Int = 33989

@:value(33990) static inline read only TEXTURE6:Int = 33990

@:value(33991) static inline read only TEXTURE7:Int = 33991

@:value(33992) static inline read only TEXTURE8:Int = 33992

@:value(33993) static inline read only TEXTURE9:Int = 33993

@:value(3553) static inline read only TEXTURE_2D:Int = 3553

@:value(32873) static inline read only TEXTURE_BINDING_2D:Int = 32873

@:value(34068) static inline read only TEXTURE_BINDING_CUBE_MAP:Int = 34068

@:value(34067) static inline read only TEXTURE_CUBE_MAP:Int = 34067

@:value(34070) static inline read only TEXTURE_CUBE_MAP_NEGATIVE_X:Int = 34070

@:value(34072) static inline read only TEXTURE_CUBE_MAP_NEGATIVE_Y:Int = 34072

@:value(34074) static inline read only TEXTURE_CUBE_MAP_NEGATIVE_Z:Int = 34074

@:value(34069) static inline read only TEXTURE_CUBE_MAP_POSITIVE_X:Int = 34069

@:value(34071) static inline read only TEXTURE_CUBE_MAP_POSITIVE_Y:Int = 34071

@:value(34073) static inline read only TEXTURE_CUBE_MAP_POSITIVE_Z:Int = 34073

@:value(10240) static inline read only TEXTURE_MAG_FILTER:Int = 10240

@:value(10241) static inline read only TEXTURE_MIN_FILTER:Int = 10241

@:value(10242) static inline read only TEXTURE_WRAP_S:Int = 10242

@:value(10243) static inline read only TEXTURE_WRAP_T:Int = 10243

@:value(4) static inline read only TRIANGLES:Int = 4

@:value(6) static inline read only TRIANGLE_FAN:Int = 6

@:value(5) static inline read only TRIANGLE_STRIP:Int = 5

@:value(3317) static inline read only UNPACK_ALIGNMENT:Int = 3317

@:value(37443) static inline read only UNPACK_COLORSPACE_CONVERSION_WEBGL:Int = 37443

@:value(37440) static inline read only UNPACK_FLIP_Y_WEBGL:Int = 37440

@:value(37441) static inline read only UNPACK_PREMULTIPLY_ALPHA_WEBGL:Int = 37441

@:value(5121) static inline read only UNSIGNED_BYTE:Int = 5121

@:value(5125) static inline read only UNSIGNED_INT:Int = 5125

@:value(5123) static inline read only UNSIGNED_SHORT:Int = 5123

@:value(32819) static inline read only UNSIGNED_SHORT_4_4_4_4:Int = 32819

@:value(32820) static inline read only UNSIGNED_SHORT_5_5_5_1:Int = 32820

@:value(33635) static inline read only UNSIGNED_SHORT_5_6_5:Int = 33635

@:value(35715) static inline read only VALIDATE_STATUS:Int = 35715

@:value(7936) static inline read only VENDOR:Int = 7936

@:value(7938) static inline read only VERSION:Int = 7938

@:value(34975) static inline read only VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:Int = 34975

@:value(34338) static inline read only VERTEX_ATTRIB_ARRAY_ENABLED:Int = 34338

@:value(34922) static inline read only VERTEX_ATTRIB_ARRAY_NORMALIZED:Int = 34922

@:value(34373) static inline read only VERTEX_ATTRIB_ARRAY_POINTER:Int = 34373

@:value(34339) static inline read only VERTEX_ATTRIB_ARRAY_SIZE:Int = 34339

@:value(34340) static inline read only VERTEX_ATTRIB_ARRAY_STRIDE:Int = 34340

@:value(34341) static inline read only VERTEX_ATTRIB_ARRAY_TYPE:Int = 34341

@:value(35633) static inline read only VERTEX_SHADER:Int = 35633

@:value(2978) static inline read only VIEWPORT:Int = 2978

@:value(0) static inline read only ZERO:Int = 0

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/RenderingContext.html