GL
clay.opengl.web.GL (Class)
Static Members
version: IntDEPTH_BUFFER_BIT: IntSTENCIL_BUFFER_BIT: IntCOLOR_BUFFER_BIT: IntPOINTS: IntLINES: IntLINE_LOOP: IntLINE_STRIP: IntTRIANGLES: IntTRIANGLE_STRIP: IntTRIANGLE_FAN: IntZERO: IntONE: IntSRC_COLOR: IntONE_MINUS_SRC_COLOR: IntSRC_ALPHA: IntONE_MINUS_SRC_ALPHA: IntDST_ALPHA: IntONE_MINUS_DST_ALPHA: IntDST_COLOR: IntONE_MINUS_DST_COLOR: IntSRC_ALPHA_SATURATE: IntFUNC_ADD: IntBLEND_EQUATION: IntBLEND_EQUATION_RGB: IntBLEND_EQUATION_ALPHA: IntFUNC_SUBTRACT: IntFUNC_REVERSE_SUBTRACT: IntBLEND_DST_RGB: IntBLEND_SRC_RGB: IntBLEND_DST_ALPHA: IntBLEND_SRC_ALPHA: IntCONSTANT_COLOR: IntONE_MINUS_CONSTANT_COLOR: IntCONSTANT_ALPHA: IntONE_MINUS_CONSTANT_ALPHA: IntBLEND_COLOR: IntARRAY_BUFFER: IntELEMENT_ARRAY_BUFFER: IntARRAY_BUFFER_BINDING: IntELEMENT_ARRAY_BUFFER_BINDING: IntSTREAM_DRAW: IntSTATIC_DRAW: IntDYNAMIC_DRAW: IntBUFFER_SIZE: IntBUFFER_USAGE: IntCURRENT_VERTEX_ATTRIB: IntFRONT: IntBACK: IntFRONT_AND_BACK: IntCULL_FACE: IntBLEND: IntDITHER: IntSTENCIL_TEST: IntDEPTH_TEST: IntSCISSOR_TEST: IntPOLYGON_OFFSET_FILL: IntSAMPLE_ALPHA_TO_COVERAGE: IntSAMPLE_COVERAGE: IntNO_ERROR: IntINVALID_ENUM: IntINVALID_VALUE: IntINVALID_OPERATION: IntOUT_OF_MEMORY: IntCW: IntCCW: IntLINE_WIDTH: IntALIASED_POINT_SIZE_RANGE: IntALIASED_LINE_WIDTH_RANGE: IntCULL_FACE_MODE: IntFRONT_FACE: IntDEPTH_RANGE: IntDEPTH_WRITEMASK: IntDEPTH_CLEAR_VALUE: IntDEPTH_FUNC: IntSTENCIL_CLEAR_VALUE: IntSTENCIL_FUNC: IntSTENCIL_FAIL: IntSTENCIL_PASS_DEPTH_FAIL: IntSTENCIL_PASS_DEPTH_PASS: IntSTENCIL_REF: IntSTENCIL_VALUE_MASK: IntSTENCIL_WRITEMASK: IntSTENCIL_BACK_FUNC: IntSTENCIL_BACK_FAIL: IntSTENCIL_BACK_PASS_DEPTH_FAIL: IntSTENCIL_BACK_PASS_DEPTH_PASS: IntSTENCIL_BACK_REF: IntSTENCIL_BACK_VALUE_MASK: IntSTENCIL_BACK_WRITEMASK: IntVIEWPORT: IntSCISSOR_BOX: IntCOLOR_CLEAR_VALUE: IntCOLOR_WRITEMASK: IntUNPACK_ALIGNMENT: IntPACK_ALIGNMENT: IntMAX_TEXTURE_SIZE: IntMAX_VIEWPORT_DIMS: IntSUBPIXEL_BITS: IntRED_BITS: IntGREEN_BITS: IntBLUE_BITS: IntALPHA_BITS: IntDEPTH_BITS: IntSTENCIL_BITS: IntPOLYGON_OFFSET_UNITS: IntPOLYGON_OFFSET_FACTOR: IntTEXTURE_BINDING_2D: IntSAMPLE_BUFFERS: IntSAMPLES: IntSAMPLE_COVERAGE_VALUE: IntSAMPLE_COVERAGE_INVERT: IntCOMPRESSED_TEXTURE_FORMATS: IntDONT_CARE: IntFASTEST: IntNICEST: IntGENERATE_MIPMAP_HINT: IntBYTE: IntUNSIGNED_BYTE: IntSHORT: IntUNSIGNED_SHORT: IntINT: IntUNSIGNED_INT: IntFLOAT: IntDEPTH_COMPONENT: IntALPHA: IntRGB: IntRGBA: IntLUMINANCE: IntLUMINANCE_ALPHA: IntUNSIGNED_SHORT_4_4_4_4: IntUNSIGNED_SHORT_5_5_5_1: IntUNSIGNED_SHORT_5_6_5: IntFRAGMENT_SHADER: IntVERTEX_SHADER: IntMAX_VERTEX_ATTRIBS: IntMAX_VERTEX_UNIFORM_VECTORS: IntMAX_VARYING_VECTORS: IntMAX_COMBINED_TEXTURE_IMAGE_UNITS: IntMAX_VERTEX_TEXTURE_IMAGE_UNITS: IntMAX_TEXTURE_IMAGE_UNITS: IntMAX_FRAGMENT_UNIFORM_VECTORS: IntSHADER_TYPE: IntDELETE_STATUS: IntLINK_STATUS: IntVALIDATE_STATUS: IntATTACHED_SHADERS: IntACTIVE_UNIFORMS: IntACTIVE_ATTRIBUTES: IntSHADING_LANGUAGE_VERSION: IntCURRENT_PROGRAM: IntNEVER: IntLESS: IntEQUAL: IntLEQUAL: IntGREATER: IntNOTEQUAL: IntGEQUAL: IntALWAYS: IntKEEP: IntREPLACE: IntINCR: IntDECR: IntINVERT: IntINCR_WRAP: IntDECR_WRAP: IntVENDOR: IntRENDERER: IntVERSION: IntNEAREST: IntLINEAR: IntNEAREST_MIPMAP_NEAREST: IntLINEAR_MIPMAP_NEAREST: IntNEAREST_MIPMAP_LINEAR: IntLINEAR_MIPMAP_LINEAR: IntTEXTURE_MAG_FILTER: IntTEXTURE_MIN_FILTER: IntTEXTURE_WRAP_S: IntTEXTURE_WRAP_T: IntTEXTURE_2D: IntTEXTURE: IntTEXTURE_CUBE_MAP: IntTEXTURE_BINDING_CUBE_MAP: IntTEXTURE_CUBE_MAP_POSITIVE_X: IntTEXTURE_CUBE_MAP_NEGATIVE_X: IntTEXTURE_CUBE_MAP_POSITIVE_Y: IntTEXTURE_CUBE_MAP_NEGATIVE_Y: IntTEXTURE_CUBE_MAP_POSITIVE_Z: IntTEXTURE_CUBE_MAP_NEGATIVE_Z: IntMAX_CUBE_MAP_TEXTURE_SIZE: IntTEXTURE0: IntTEXTURE1: IntTEXTURE2: IntTEXTURE3: IntTEXTURE4: IntTEXTURE5: IntTEXTURE6: IntTEXTURE7: IntTEXTURE8: IntTEXTURE9: IntTEXTURE10: IntTEXTURE11: IntTEXTURE12: IntTEXTURE13: IntTEXTURE14: IntTEXTURE15: IntTEXTURE16: IntTEXTURE17: IntTEXTURE18: IntTEXTURE19: IntTEXTURE20: IntTEXTURE21: IntTEXTURE22: IntTEXTURE23: IntTEXTURE24: IntTEXTURE25: IntTEXTURE26: IntTEXTURE27: IntTEXTURE28: IntTEXTURE29: IntTEXTURE30: IntTEXTURE31: IntACTIVE_TEXTURE: IntREPEAT: IntCLAMP_TO_EDGE: IntMIRRORED_REPEAT: IntFLOAT_VEC2: IntFLOAT_VEC3: IntFLOAT_VEC4: IntINT_VEC2: IntINT_VEC3: IntINT_VEC4: IntBOOL: IntBOOL_VEC2: IntBOOL_VEC3: IntBOOL_VEC4: IntFLOAT_MAT2: IntFLOAT_MAT3: IntFLOAT_MAT4: IntSAMPLER_2D: IntSAMPLER_CUBE: IntVERTEX_ATTRIB_ARRAY_ENABLED: IntVERTEX_ATTRIB_ARRAY_SIZE: IntVERTEX_ATTRIB_ARRAY_STRIDE: IntVERTEX_ATTRIB_ARRAY_TYPE: IntVERTEX_ATTRIB_ARRAY_NORMALIZED: IntVERTEX_ATTRIB_ARRAY_POINTER: IntVERTEX_ATTRIB_ARRAY_BUFFER_BINDING: IntVERTEX_PROGRAM_POINT_SIZE: IntPOINT_SPRITE: IntCOMPILE_STATUS: IntLOW_FLOAT: IntMEDIUM_FLOAT: IntHIGH_FLOAT: IntLOW_INT: IntMEDIUM_INT: IntHIGH_INT: IntFRAMEBUFFER: IntRENDERBUFFER: IntRGBA4: IntRGB5_A1: IntRGB565: IntDEPTH_COMPONENT16: IntSTENCIL_INDEX: IntSTENCIL_INDEX8: IntDEPTH_STENCIL: IntRENDERBUFFER_WIDTH: IntRENDERBUFFER_HEIGHT: IntRENDERBUFFER_INTERNAL_FORMAT: IntRENDERBUFFER_RED_SIZE: IntRENDERBUFFER_GREEN_SIZE: IntRENDERBUFFER_BLUE_SIZE: IntRENDERBUFFER_ALPHA_SIZE: IntRENDERBUFFER_DEPTH_SIZE: IntRENDERBUFFER_STENCIL_SIZE: IntFRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: IntFRAMEBUFFER_ATTACHMENT_OBJECT_NAME: IntFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: IntFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: IntCOLOR_ATTACHMENT0: IntDEPTH_ATTACHMENT: IntSTENCIL_ATTACHMENT: IntDEPTH_STENCIL_ATTACHMENT: IntNONE: IntFRAMEBUFFER_COMPLETE: IntFRAMEBUFFER_INCOMPLETE_ATTACHMENT: IntFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: IntFRAMEBUFFER_INCOMPLETE_DIMENSIONS: IntFRAMEBUFFER_UNSUPPORTED: IntFRAMEBUFFER_BINDING: IntRENDERBUFFER_BINDING: IntMAX_RENDERBUFFER_SIZE: IntINVALID_FRAMEBUFFER_OPERATION: IntUNPACK_FLIP_Y_WEBGL: IntUNPACK_PREMULTIPLY_ALPHA_WEBGL: IntCONTEXT_LOST_WEBGL: IntUNPACK_COLORSPACE_CONVERSION_WEBGL: IntBROWSER_DEFAULT_WEBGL: IntversionString(): String| Returns |
|---|
| String |
| Name | Type |
|---|---|
texture |
Int |
| Name | Type |
|---|---|
program |
GLProgram |
shader |
GLShader |
| Name | Type |
|---|---|
program |
GLProgram |
index |
Int |
name |
String |
| 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 |
| Name | Type |
|---|---|
target |
Int |
texture |
GLTexture |
| Name | Type |
|---|---|
red |
Float |
green |
Float |
blue |
Float |
alpha |
Float |
| Name | Type |
|---|---|
mode |
Int |
| Name | Type |
|---|---|
modeRGB |
Int |
modeAlpha |
Int |
| Name | Type |
|---|---|
sfactor |
Int |
dfactor |
Int |
| 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 |
| Name | Type |
|---|---|
target |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
mask |
Int |
| Name | Type |
|---|---|
red |
Float |
green |
Float |
blue |
Float |
alpha |
Float |
| Name | Type |
|---|---|
depth |
Float |
| Name | Type |
|---|---|
s |
Int |
| Name | Type |
|---|---|
red |
Bool |
green |
Bool |
blue |
Bool |
alpha |
Bool |
| 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 |
| Name | Type |
|---|---|
type |
Int |
| Returns |
|---|
| GLShader |
createTexture(): GLTexture| Returns |
|---|
| GLTexture |
| Name | Type |
|---|---|
mode |
Int |
| Name | Type |
|---|---|
buffer |
GLBuffer |
deleteFramebuffer(framebuffer: GLFramebuffer): Void| Name | Type |
|---|---|
framebuffer |
GLFramebuffer |
| Name | Type |
|---|---|
program |
GLProgram |
deleteRenderbuffer(renderbuffer: GLRenderbuffer): Void| Name | Type |
|---|---|
renderbuffer |
GLRenderbuffer |
| Name | Type |
|---|---|
shader |
GLShader |
| Name | Type |
|---|---|
texture |
GLTexture |
| Name | Type |
|---|---|
func |
Int |
| Name | Type |
|---|---|
flag |
Bool |
| Name | Type |
|---|---|
zNear |
Float |
zFar |
Float |
| Name | Type |
|---|---|
program |
GLProgram |
shader |
GLShader |
| Name | Type |
|---|---|
cap |
Int |
| Name | Type |
|---|---|
index |
Int |
| Name | Type |
|---|---|
mode |
Int |
first |
Int |
count |
Int |
| Name | Type |
|---|---|
mode |
Int |
count |
Int |
type |
Int |
offset |
Int |
| Name | Type |
|---|---|
cap |
Int |
| Name | Type |
|---|---|
index |
Int |
finish(): Voidflush(): VoidframebufferRenderbuffer(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 |
| Name | Type |
|---|---|
mode |
Int |
| 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 |
| Name | Type |
|---|---|
program |
GLProgram |
| Returns |
|---|
| Array<GLShader> |
| Name | Type |
|---|---|
program |
GLProgram |
name |
String |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
target |
Int |
pname |
Int |
| Returns |
|---|
| Dynamic |
getContextAttributes(): GLContextAttributes| Returns |
|---|
| GLContextAttributes |
getError(): Int| Returns |
|---|
| Int |
| Name | Type |
|---|---|
name |
String |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
target |
Int |
attachment |
Int |
pname |
Int |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
pname |
Int |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
program |
GLProgram |
| Returns |
|---|
| String |
| Name | Type |
|---|---|
program |
GLProgram |
pname |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
target |
Int |
pname |
Int |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
shader |
GLShader |
| Returns |
|---|
| String |
| Name | Type |
|---|---|
shader |
GLShader |
pname |
Int |
| Returns |
|---|
| Int |
getShaderPrecisionFormat(shadertype: Int, precisiontype: Int): GLShaderPrecisionFormat| Name | Type |
|---|---|
shadertype |
Int |
precisiontype |
Int |
| Returns |
|---|
| GLShaderPrecisionFormat |
| Name | Type |
|---|---|
shader |
GLShader |
| Returns |
|---|
| String |
| Returns |
|---|
| Array<String> |
| 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 |
| Name | Type |
|---|---|
index |
Int |
pname |
Int |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
index |
Int |
pname |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
target |
Int |
mode |
Int |
| Name | Type |
|---|---|
buffer |
GLBuffer |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
cap |
Int |
| Returns |
|---|
| Bool |
isFramebuffer(framebuffer: GLFramebuffer): Bool| Name | Type |
|---|---|
framebuffer |
GLFramebuffer |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
program |
GLProgram |
| Returns |
|---|
| Bool |
isRenderbuffer(renderbuffer: GLRenderbuffer): Bool| Name | Type |
|---|---|
renderbuffer |
GLRenderbuffer |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
shader |
GLShader |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
texture |
GLTexture |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
width |
Float |
| Name | Type |
|---|---|
program |
GLProgram |
| Name | Type |
|---|---|
pname |
Int |
param |
Int |
| 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 |
| 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 |
| Name | Type |
|---|---|
value |
Float |
invert |
Bool |
| Name | Type |
|---|---|
x |
Int |
y |
Int |
width |
Int |
height |
Int |
| Name | Type |
|---|---|
shader |
GLShader |
source |
String |
| Name | Type |
|---|---|
func |
Int |
ref |
Int |
mask |
Int |
| Name | Type |
|---|---|
face |
Int |
func |
Int |
ref |
Int |
mask |
Int |
| Name | Type |
|---|---|
mask |
Int |
| Name | Type |
|---|---|
face |
Int |
mask |
Int |
| Name | Type |
|---|---|
fail |
Int |
zfail |
Int |
zpass |
Int |
| 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 |
| Name | Type |
|---|---|
target |
Int |
pname |
Int |
param |
Float |
| 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 |
| 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 |
| 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 |
| Name | Type |
|---|---|
program |
GLProgram |
| Name | Type |
|---|---|
program |
GLProgram |
| Name | Type |
|---|---|
indx |
Int |
x |
Float |
vertexAttrib1fv(indx: Int, data: clay.buffers.Float32Array): Void| Name | Type |
|---|---|
indx |
Int |
data |
clay.buffers.Float32Array |
| Name | Type |
|---|---|
indx |
Int |
x |
Float |
y |
Float |
vertexAttrib2fv(indx: Int, data: clay.buffers.Float32Array): Void| Name | Type |
|---|---|
indx |
Int |
data |
clay.buffers.Float32Array |
| 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 |
| 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 |
| Name | Type |
|---|---|
x |
Int |
y |
Int |
width |
Int |
height |
Int |