GL

clay.opengl.web.GL (Class)

Static Members

version: Int


DEPTH_BUFFER_BIT: Int

STENCIL_BUFFER_BIT: Int

COLOR_BUFFER_BIT: Int

POINTS: Int

LINES: Int

LINE_LOOP: Int

LINE_STRIP: Int

TRIANGLES: Int

TRIANGLE_STRIP: Int

TRIANGLE_FAN: Int

ZERO: Int

ONE: Int

SRC_COLOR: Int

ONE_MINUS_SRC_COLOR: Int

SRC_ALPHA: Int

ONE_MINUS_SRC_ALPHA: Int

DST_ALPHA: Int

ONE_MINUS_DST_ALPHA: Int

DST_COLOR: Int

ONE_MINUS_DST_COLOR: Int

SRC_ALPHA_SATURATE: Int

FUNC_ADD: Int

BLEND_EQUATION: Int

BLEND_EQUATION_RGB: Int

BLEND_EQUATION_ALPHA: Int

FUNC_SUBTRACT: Int

FUNC_REVERSE_SUBTRACT: Int

BLEND_DST_RGB: Int

BLEND_SRC_RGB: Int

BLEND_DST_ALPHA: Int

BLEND_SRC_ALPHA: Int

CONSTANT_COLOR: Int

ONE_MINUS_CONSTANT_COLOR: Int

CONSTANT_ALPHA: Int

ONE_MINUS_CONSTANT_ALPHA: Int

BLEND_COLOR: Int

ARRAY_BUFFER: Int

ELEMENT_ARRAY_BUFFER: Int

ARRAY_BUFFER_BINDING: Int

ELEMENT_ARRAY_BUFFER_BINDING: Int

STREAM_DRAW: Int

STATIC_DRAW: Int

DYNAMIC_DRAW: Int

BUFFER_SIZE: Int

BUFFER_USAGE: Int

CURRENT_VERTEX_ATTRIB: Int

FRONT: Int

BACK: Int

FRONT_AND_BACK: Int

CULL_FACE: Int

BLEND: Int

DITHER: Int

STENCIL_TEST: Int

DEPTH_TEST: Int

SCISSOR_TEST: Int

POLYGON_OFFSET_FILL: Int

SAMPLE_ALPHA_TO_COVERAGE: Int

SAMPLE_COVERAGE: Int

NO_ERROR: Int

INVALID_ENUM: Int

INVALID_VALUE: Int

INVALID_OPERATION: Int

OUT_OF_MEMORY: Int

CW: Int

CCW: Int

LINE_WIDTH: Int

ALIASED_POINT_SIZE_RANGE: Int

ALIASED_LINE_WIDTH_RANGE: Int

CULL_FACE_MODE: Int

FRONT_FACE: Int

DEPTH_RANGE: Int

DEPTH_WRITEMASK: Int

DEPTH_CLEAR_VALUE: Int

DEPTH_FUNC: Int

STENCIL_CLEAR_VALUE: Int

STENCIL_FUNC: Int

STENCIL_FAIL: Int

STENCIL_PASS_DEPTH_FAIL: Int

STENCIL_PASS_DEPTH_PASS: Int

STENCIL_REF: Int

STENCIL_VALUE_MASK: Int

STENCIL_WRITEMASK: Int

STENCIL_BACK_FUNC: Int

STENCIL_BACK_FAIL: Int

STENCIL_BACK_PASS_DEPTH_FAIL: Int

STENCIL_BACK_PASS_DEPTH_PASS: Int

STENCIL_BACK_REF: Int

STENCIL_BACK_VALUE_MASK: Int

STENCIL_BACK_WRITEMASK: Int

VIEWPORT: Int

SCISSOR_BOX: Int

COLOR_CLEAR_VALUE: Int

COLOR_WRITEMASK: Int

UNPACK_ALIGNMENT: Int

PACK_ALIGNMENT: Int

MAX_TEXTURE_SIZE: Int

MAX_VIEWPORT_DIMS: Int

SUBPIXEL_BITS: Int

RED_BITS: Int

GREEN_BITS: Int

BLUE_BITS: Int

ALPHA_BITS: Int

DEPTH_BITS: Int

STENCIL_BITS: Int

POLYGON_OFFSET_UNITS: Int

POLYGON_OFFSET_FACTOR: Int

TEXTURE_BINDING_2D: Int

SAMPLE_BUFFERS: Int

SAMPLES: Int

SAMPLE_COVERAGE_VALUE: Int

SAMPLE_COVERAGE_INVERT: Int

COMPRESSED_TEXTURE_FORMATS: Int

DONT_CARE: Int

FASTEST: Int

NICEST: Int

GENERATE_MIPMAP_HINT: Int

BYTE: Int

UNSIGNED_BYTE: Int

SHORT: Int

UNSIGNED_SHORT: Int

INT: Int

UNSIGNED_INT: Int

FLOAT: Int

DEPTH_COMPONENT: Int

ALPHA: Int

RGB: Int

RGBA: Int

LUMINANCE: Int

LUMINANCE_ALPHA: Int

UNSIGNED_SHORT_4_4_4_4: Int

UNSIGNED_SHORT_5_5_5_1: Int

UNSIGNED_SHORT_5_6_5: Int

FRAGMENT_SHADER: Int

VERTEX_SHADER: Int

MAX_VERTEX_ATTRIBS: Int

MAX_VERTEX_UNIFORM_VECTORS: Int

MAX_VARYING_VECTORS: Int

MAX_COMBINED_TEXTURE_IMAGE_UNITS: Int

MAX_VERTEX_TEXTURE_IMAGE_UNITS: Int

MAX_TEXTURE_IMAGE_UNITS: Int

MAX_FRAGMENT_UNIFORM_VECTORS: Int

SHADER_TYPE: Int

DELETE_STATUS: Int


VALIDATE_STATUS: Int

ATTACHED_SHADERS: Int

ACTIVE_UNIFORMS: Int

ACTIVE_ATTRIBUTES: Int

SHADING_LANGUAGE_VERSION: Int

CURRENT_PROGRAM: Int

NEVER: Int

LESS: Int

EQUAL: Int

LEQUAL: Int

GREATER: Int

NOTEQUAL: Int

GEQUAL: Int

ALWAYS: Int

KEEP: Int

REPLACE: Int

INCR: Int

DECR: Int

INVERT: Int

INCR_WRAP: Int

DECR_WRAP: Int

VENDOR: Int

RENDERER: Int

VERSION: Int

NEAREST: Int

LINEAR: Int

NEAREST_MIPMAP_NEAREST: Int

LINEAR_MIPMAP_NEAREST: Int

NEAREST_MIPMAP_LINEAR: Int

LINEAR_MIPMAP_LINEAR: Int

TEXTURE_MAG_FILTER: Int

TEXTURE_MIN_FILTER: Int

TEXTURE_WRAP_S: Int

TEXTURE_WRAP_T: Int

TEXTURE_2D: Int

TEXTURE: Int

TEXTURE_CUBE_MAP: Int

TEXTURE_BINDING_CUBE_MAP: Int

TEXTURE_CUBE_MAP_POSITIVE_X: Int

TEXTURE_CUBE_MAP_NEGATIVE_X: Int

TEXTURE_CUBE_MAP_POSITIVE_Y: Int

TEXTURE_CUBE_MAP_NEGATIVE_Y: Int

TEXTURE_CUBE_MAP_POSITIVE_Z: Int

TEXTURE_CUBE_MAP_NEGATIVE_Z: Int

MAX_CUBE_MAP_TEXTURE_SIZE: Int

TEXTURE0: Int

TEXTURE1: Int

TEXTURE2: Int

TEXTURE3: Int

TEXTURE4: Int

TEXTURE5: Int

TEXTURE6: Int

TEXTURE7: Int

TEXTURE8: Int

TEXTURE9: Int

TEXTURE10: Int

TEXTURE11: Int

TEXTURE12: Int

TEXTURE13: Int

TEXTURE14: Int

TEXTURE15: Int

TEXTURE16: Int

TEXTURE17: Int

TEXTURE18: Int

TEXTURE19: Int

TEXTURE20: Int

TEXTURE21: Int

TEXTURE22: Int

TEXTURE23: Int

TEXTURE24: Int

TEXTURE25: Int

TEXTURE26: Int

TEXTURE27: Int

TEXTURE28: Int

TEXTURE29: Int

TEXTURE30: Int

TEXTURE31: Int

ACTIVE_TEXTURE: Int

REPEAT: Int

CLAMP_TO_EDGE: Int

MIRRORED_REPEAT: Int

FLOAT_VEC2: Int

FLOAT_VEC3: Int

FLOAT_VEC4: Int

INT_VEC2: Int

INT_VEC3: Int

INT_VEC4: Int

BOOL: Int

BOOL_VEC2: Int

BOOL_VEC3: Int

BOOL_VEC4: Int

FLOAT_MAT2: Int

FLOAT_MAT3: Int

FLOAT_MAT4: Int

SAMPLER_2D: Int

SAMPLER_CUBE: Int

VERTEX_ATTRIB_ARRAY_ENABLED: Int

VERTEX_ATTRIB_ARRAY_SIZE: Int

VERTEX_ATTRIB_ARRAY_STRIDE: Int

VERTEX_ATTRIB_ARRAY_TYPE: Int

VERTEX_ATTRIB_ARRAY_NORMALIZED: Int

VERTEX_ATTRIB_ARRAY_POINTER: Int

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: Int

VERTEX_PROGRAM_POINT_SIZE: Int

POINT_SPRITE: Int

COMPILE_STATUS: Int

LOW_FLOAT: Int

MEDIUM_FLOAT: Int

HIGH_FLOAT: Int

LOW_INT: Int

MEDIUM_INT: Int

HIGH_INT: Int

FRAMEBUFFER: Int

RENDERBUFFER: Int

RGBA4: Int

RGB5_A1: Int

RGB565: Int

DEPTH_COMPONENT16: Int

STENCIL_INDEX: Int

STENCIL_INDEX8: Int

DEPTH_STENCIL: Int

RENDERBUFFER_WIDTH: Int

RENDERBUFFER_HEIGHT: Int

RENDERBUFFER_INTERNAL_FORMAT: Int

RENDERBUFFER_RED_SIZE: Int

RENDERBUFFER_GREEN_SIZE: Int

RENDERBUFFER_BLUE_SIZE: Int

RENDERBUFFER_ALPHA_SIZE: Int

RENDERBUFFER_DEPTH_SIZE: Int

RENDERBUFFER_STENCIL_SIZE: Int

FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: Int

FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: Int

FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: Int

FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: Int

COLOR_ATTACHMENT0: Int

DEPTH_ATTACHMENT: Int

STENCIL_ATTACHMENT: Int

DEPTH_STENCIL_ATTACHMENT: Int

NONE: Int

FRAMEBUFFER_COMPLETE: Int

FRAMEBUFFER_INCOMPLETE_ATTACHMENT: Int

FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: Int

FRAMEBUFFER_INCOMPLETE_DIMENSIONS: Int

FRAMEBUFFER_UNSUPPORTED: Int

FRAMEBUFFER_BINDING: Int

RENDERBUFFER_BINDING: Int

MAX_RENDERBUFFER_SIZE: Int

INVALID_FRAMEBUFFER_OPERATION: Int

UNPACK_FLIP_Y_WEBGL: Int

UNPACK_PREMULTIPLY_ALPHA_WEBGL: Int

CONTEXT_LOST_WEBGL: Int

UNPACK_COLORSPACE_CONVERSION_WEBGL: Int

BROWSER_DEFAULT_WEBGL: Int

versionString(): String
Returns
String

activeTexture(texture: Int): Void
Name Type
texture Int

attachShader(program: GLProgram, shader: GLShader): Void
Name Type
program GLProgram
shader GLShader

bindAttribLocation(program: GLProgram, index: Int, name: String): Void
Name Type
program GLProgram
index Int
name String

bindBuffer(target: Int, buffer: GLBuffer): Void
Name Type
target Int
buffer GLBuffer

bindFramebuffer(target: Int, framebuffer: GLFramebuffer): Void
Name Type
target Int
framebuffer GLFramebuffer

bindRenderbuffer(target: Int, renderbuffer: GLRenderbuffer): Void
Name Type
target Int
renderbuffer GLRenderbuffer

bindTexture(target: Int, texture: GLTexture): Void
Name Type
target Int
texture GLTexture

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

blendEquation(mode: Int): Void
Name Type
mode Int

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

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

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

bufferData(target: Int, data: clay.buffers.ArrayBufferView, usage: Int): Void
Name Type
target Int
data clay.buffers.ArrayBufferView
usage Int

bufferSubData(target: Int, offset: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
target Int
offset Int
data clay.buffers.ArrayBufferView

checkFramebufferStatus(target: Int): Int
Name Type
target Int
Returns
Int

clear(mask: Int): Void
Name Type
mask Int

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

clearDepth(depth: Float): Void
Name Type
depth Float

clearStencil(s: Int): Void
Name Type
s Int

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

compileShader(shader: GLShader): Void
Name Type
shader GLShader

compressedTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
target Int
level Int
internalformat Int
width Int
height Int
border Int
data clay.buffers.ArrayBufferView

compressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
target Int
level Int
xoffset Int
yoffset Int
width Int
height Int
format Int
data clay.buffers.ArrayBufferView

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

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

createBuffer(): GLBuffer
Returns
GLBuffer

createFramebuffer(): GLFramebuffer
Returns
GLFramebuffer

createProgram(): GLProgram
Returns
GLProgram

createRenderbuffer(): GLRenderbuffer
Returns
GLRenderbuffer

createShader(type: Int): GLShader
Name Type
type Int
Returns
GLShader

createTexture(): GLTexture
Returns
GLTexture

cullFace(mode: Int): Void
Name Type
mode Int

deleteBuffer(buffer: GLBuffer): Void
Name Type
buffer GLBuffer

deleteFramebuffer(framebuffer: GLFramebuffer): Void
Name Type
framebuffer GLFramebuffer

deleteProgram(program: GLProgram): Void
Name Type
program GLProgram

deleteRenderbuffer(renderbuffer: GLRenderbuffer): Void
Name Type
renderbuffer GLRenderbuffer

deleteShader(shader: GLShader): Void
Name Type
shader GLShader

deleteTexture(texture: GLTexture): Void
Name Type
texture GLTexture

depthFunc(func: Int): Void
Name Type
func Int

depthMask(flag: Bool): Void
Name Type
flag Bool

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

detachShader(program: GLProgram, shader: GLShader): Void
Name Type
program GLProgram
shader GLShader

disable(cap: Int): Void
Name Type
cap Int

disableVertexAttribArray(index: Int): Void
Name Type
index Int

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

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

enable(cap: Int): Void
Name Type
cap Int

enableVertexAttribArray(index: Int): Void
Name Type
index Int

finish(): Void

flush(): Void

framebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: GLRenderbuffer): Void
Name Type
target Int
attachment Int
renderbuffertarget Int
renderbuffer GLRenderbuffer

framebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: GLTexture, level: Int): Void
Name Type
target Int
attachment Int
textarget Int
texture GLTexture
level Int

frontFace(mode: Int): Void
Name Type
mode Int

generateMipmap(target: Int): Void
Name Type
target Int

getActiveAttrib(program: GLProgram, index: Int): GLActiveInfo
Name Type
program GLProgram
index Int
Returns
GLActiveInfo

getActiveUniform(program: GLProgram, index: Int): GLActiveInfo
Name Type
program GLProgram
index Int
Returns
GLActiveInfo

getAttachedShaders(program: GLProgram): Array<GLShader>
Name Type
program GLProgram
Returns
Array<GLShader>

getAttribLocation(program: GLProgram, name: String): Int
Name Type
program GLProgram
name String
Returns
Int

getBufferParameter(target: Int, pname: Int): Dynamic
Name Type
target Int
pname Int
Returns
Dynamic

getContextAttributes(): GLContextAttributes
Returns
GLContextAttributes

getError(): Int
Returns
Int

getExtension(name: String): Dynamic
Name Type
name String
Returns
Dynamic

getFramebufferAttachmentParameter(target: Int, attachment: Int, pname: Int): Dynamic
Name Type
target Int
attachment Int
pname Int
Returns
Dynamic

getParameter(pname: Int): Dynamic
Name Type
pname Int
Returns
Dynamic

getProgramInfoLog(program: GLProgram): String
Name Type
program GLProgram
Returns
String

getProgramParameter(program: GLProgram, pname: Int): Int
Name Type
program GLProgram
pname Int
Returns
Int

getRenderbufferParameter(target: Int, pname: Int): Dynamic
Name Type
target Int
pname Int
Returns
Dynamic

getShaderInfoLog(shader: GLShader): String
Name Type
shader GLShader
Returns
String

getShaderParameter(shader: GLShader, pname: Int): Int
Name Type
shader GLShader
pname Int
Returns
Int

getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): GLShaderPrecisionFormat
Name Type
shadertype Int
precisiontype Int
Returns
GLShaderPrecisionFormat

getShaderSource(shader: GLShader): String
Name Type
shader GLShader
Returns
String

getSupportedExtensions(): Array<String>
Returns
Array<String>

getTexParameter(target: Int, pname: Int): Dynamic
Name Type
target Int
pname Int
Returns
Dynamic

getUniform(program: GLProgram, location: GLUniformLocation): Dynamic
Name Type
program GLProgram
location GLUniformLocation
Returns
Dynamic

getUniformLocation(program: GLProgram, name: String): GLUniformLocation
Name Type
program GLProgram
name String
Returns
GLUniformLocation

getVertexAttrib(index: Int, pname: Int): Dynamic
Name Type
index Int
pname Int
Returns
Dynamic

getVertexAttribOffset(index: Int, pname: Int): Int
Name Type
index Int
pname Int
Returns
Int

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

isBuffer(buffer: GLBuffer): Bool
Name Type
buffer GLBuffer
Returns
Bool

isEnabled(cap: Int): Bool
Name Type
cap Int
Returns
Bool

isFramebuffer(framebuffer: GLFramebuffer): Bool
Name Type
framebuffer GLFramebuffer
Returns
Bool

isProgram(program: GLProgram): Bool
Name Type
program GLProgram
Returns
Bool

isRenderbuffer(renderbuffer: GLRenderbuffer): Bool
Name Type
renderbuffer GLRenderbuffer
Returns
Bool

isShader(shader: GLShader): Bool
Name Type
shader GLShader
Returns
Bool

isTexture(texture: GLTexture): Bool
Name Type
texture GLTexture
Returns
Bool

lineWidth(width: Float): Void
Name Type
width Float

linkProgram(program: GLProgram): Void
Name Type
program GLProgram

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

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

readPixels(x: Int, y: Int, width: Int, height: Int, format: Int, type: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
x Int
y Int
width Int
height Int
format Int
type Int
data clay.buffers.ArrayBufferView

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

renderbufferStorageMultisample(target: Int, samples: Int, internalformat: Int, width: Int, height: Int): Void
Name Type
target Int
samples Int
internalformat Int
width Int
height Int

clearBufferfv(buffer: Int, drawbuffer: Int, values: clay.buffers.Float32Array, ?srcOffset: Int = 0): Void
Name Type Default
buffer Int
drawbuffer Int
values clay.buffers.Float32Array
srcOffset Int 0

blitFramebuffer(srcX0: Int, srcY0: Int, srcX1: Int, srcY1: Int, dstX0: Int, dstY0: Int, dstX1: Int, dstY1: Int, mask: Int, filter: Int): Void
Name Type
srcX0 Int
srcY0 Int
srcX1 Int
srcY1 Int
dstX0 Int
dstY0 Int
dstX1 Int
dstY1 Int
mask Int
filter Int

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

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

shaderSource(shader: GLShader, source: String): Void
Name Type
shader GLShader
source String

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

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

stencilMask(mask: Int): Void
Name Type
mask Int

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

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

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

texImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
target Int
level Int
internalformat Int
width Int
height Int
border Int
format Int
type Int
data clay.buffers.ArrayBufferView

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

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

texSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, data: clay.buffers.ArrayBufferView): Void
Name Type
target Int
level Int
xoffset Int
yoffset Int
width Int
height Int
format Int
type Int
data clay.buffers.ArrayBufferView

uniform1f(location: GLUniformLocation, x: Float): Void
Name Type
location GLUniformLocation
x Float

uniform1fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Float32Array

uniform1i(location: GLUniformLocation, x: Int): Void
Name Type
location GLUniformLocation
x Int

uniform1iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Int32Array

uniform2f(location: GLUniformLocation, x: Float, y: Float): Void
Name Type
location GLUniformLocation
x Float
y Float

uniform2fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Float32Array

uniform2i(location: GLUniformLocation, x: Int, y: Int): Void
Name Type
location GLUniformLocation
x Int
y Int

uniform2iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Int32Array

uniform3f(location: GLUniformLocation, x: Float, y: Float, z: Float): Void
Name Type
location GLUniformLocation
x Float
y Float
z Float

uniform3fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Float32Array

uniform3i(location: GLUniformLocation, x: Int, y: Int, z: Int): Void
Name Type
location GLUniformLocation
x Int
y Int
z Int

uniform3iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Int32Array

uniform4f(location: GLUniformLocation, x: Float, y: Float, z: Float, w: Float): Void
Name Type
location GLUniformLocation
x Float
y Float
z Float
w Float

uniform4fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Float32Array

uniform4i(location: GLUniformLocation, x: Int, y: Int, z: Int, w: Int): Void
Name Type
location GLUniformLocation
x Int
y Int
z Int
w Int

uniform4iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name Type
location GLUniformLocation
data clay.buffers.Int32Array

uniformMatrix2fv(location: GLUniformLocation, transpose: Bool, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
transpose Bool
data clay.buffers.Float32Array

uniformMatrix3fv(location: GLUniformLocation, transpose: Bool, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
transpose Bool
data clay.buffers.Float32Array

uniformMatrix4fv(location: GLUniformLocation, transpose: Bool, data: clay.buffers.Float32Array): Void
Name Type
location GLUniformLocation
transpose Bool
data clay.buffers.Float32Array

useProgram(program: GLProgram): Void
Name Type
program GLProgram

validateProgram(program: GLProgram): Void
Name Type
program GLProgram

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

vertexAttrib1fv(indx: Int, data: clay.buffers.Float32Array): Void
Name Type
indx Int
data clay.buffers.Float32Array

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

vertexAttrib2fv(indx: Int, data: clay.buffers.Float32Array): Void
Name Type
indx Int
data clay.buffers.Float32Array

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

vertexAttrib3fv(indx: Int, data: clay.buffers.Float32Array): Void
Name Type
indx Int
data clay.buffers.Float32Array

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

vertexAttrib4fv(indx: Int, data: clay.buffers.Float32Array): Void
Name Type
indx Int
data clay.buffers.Float32Array

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

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

Private Members