WebGL
opengl.WebGL (extern class)
Static Members
force_include: Bool
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
LINK_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
Name | Type |
---|---|
texture |
GLenum |
Name | Type |
---|---|
program |
GLProgram |
shader |
GLShader |
Name | Type |
---|---|
program |
GLProgram |
index |
GLuint |
name |
String |
Name | Type |
---|---|
target |
GLenum |
buffer |
GLBuffer |
bindFramebuffer(target: GLenum, framebuffer: GLFramebuffer): Void
Name | Type |
---|---|
target |
GLenum |
framebuffer |
GLFramebuffer |
bindRenderbuffer(target: GLenum, renderbuffer: GLRenderbuffer): Void
Name | Type |
---|---|
target |
GLenum |
renderbuffer |
GLRenderbuffer |
Name | Type |
---|---|
target |
GLenum |
texture |
GLTexture |
Name | Type |
---|---|
red |
Float |
green |
Float |
blue |
Float |
alpha |
Float |
Name | Type |
---|---|
mode |
GLenum |
Name | Type |
---|---|
modeRGB |
GLenum |
modeAlpha |
GLenum |
Name | Type |
---|---|
sfactor |
GLenum |
dfactor |
GLenum |
Name | Type |
---|---|
srcRGB |
GLenum |
dstRGB |
GLenum |
srcAlpha |
GLenum |
dstAlpha |
GLenum |
Name | Type |
---|---|
target |
GLenum |
Returns |
---|
GLenum |
clear(mask: GLbitfield): Void
Name | Type |
---|---|
mask |
GLbitfield |
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 |
copyTexImage2D(target: GLenum, level: Int, internalformat: GLenum, x: Int, y: Int, width: Int, height: Int, border: Int): Void
Name | Type |
---|---|
target |
GLenum |
level |
Int |
internalformat |
GLenum |
x |
Int |
y |
Int |
width |
Int |
height |
Int |
border |
Int |
copyTexSubImage2D(target: GLenum, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int): Void
Name | Type |
---|---|
target |
GLenum |
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 |
GLenum |
Returns |
---|
GLShader |
createTexture(): GLTexture
Returns |
---|
GLTexture |
Name | Type |
---|---|
mode |
GLenum |
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 |
GLenum |
Name | Type |
---|---|
flag |
Bool |
Name | Type |
---|---|
zNear |
Float |
zFar |
Float |
Name | Type |
---|---|
program |
GLProgram |
shader |
GLShader |
Name | Type |
---|---|
cap |
GLenum |
Name | Type |
---|---|
index |
GLuint |
Name | Type |
---|---|
mode |
GLenum |
first |
Int |
count |
Int |
Name | Type |
---|---|
mode |
GLenum |
count |
Int |
type |
GLenum |
offset |
Int |
Name | Type |
---|---|
cap |
GLenum |
Name | Type |
---|---|
index |
GLuint |
finish(): Void
flush(): Void
framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: GLRenderbuffer): Void
Name | Type |
---|---|
target |
GLenum |
attachment |
GLenum |
renderbuffertarget |
GLenum |
renderbuffer |
GLRenderbuffer |
framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: GLTexture, level: Int): Void
Name | Type |
---|---|
target |
GLenum |
attachment |
GLenum |
textarget |
GLenum |
texture |
GLTexture |
level |
Int |
Name | Type |
---|---|
mode |
GLenum |
Name | Type |
---|---|
target |
GLenum |
getActiveAttrib(program: GLProgram, index: GLuint): GLActiveInfo
Name | Type |
---|---|
program |
GLProgram |
index |
GLuint |
Returns |
---|
GLActiveInfo |
getActiveUniform(program: GLProgram, index: GLuint): GLActiveInfo
Name | Type |
---|---|
program |
GLProgram |
index |
GLuint |
Returns |
---|
GLActiveInfo |
Name | Type |
---|---|
program |
GLProgram |
Returns |
---|
Array<GLShader> |
Name | Type |
---|---|
program |
GLProgram |
name |
String |
Returns |
---|
Int |
getError(): GLenum
Returns |
---|
GLenum |
Name | Type |
---|---|
pname |
GLenum |
Returns |
---|
Any |
Name | Type |
---|---|
program |
GLProgram |
Returns |
---|
String |
Name | Type |
---|---|
program |
GLProgram |
pname |
GLenum |
Returns |
---|
Int |
Name | Type |
---|---|
target |
GLenum |
pname |
GLenum |
Returns |
---|
Int |
Name | Type |
---|---|
shader |
GLShader |
Returns |
---|
String |
Name | Type |
---|---|
shader |
GLShader |
pname |
GLenum |
Returns |
---|
Int |
Name | Type |
---|---|
shader |
GLShader |
Returns |
---|
String |
Returns |
---|
Array<String> |
Name | Type |
---|---|
target |
GLenum |
pname |
GLenum |
Returns |
---|
Int |
getUniformLocation(program: GLProgram, name: String): GLUniformLocation
Name | Type |
---|---|
program |
GLProgram |
name |
String |
Returns |
---|
GLUniformLocation |
Name | Type |
---|---|
target |
GLenum |
mode |
GLenum |
Name | Type |
---|---|
buffer |
GLBuffer |
Returns |
---|
Bool |
Name | Type |
---|---|
cap |
GLenum |
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 |
GLenum |
param |
Int |
Name | Type |
---|---|
factor |
Float |
units |
Float |
Name | Type |
---|---|
target |
GLenum |
internalformat |
GLenum |
width |
Int |
height |
Int |
renderbufferStorageMultisample(target: GLenum, samples: Int, internalformat: GLenum, width: Int, height: Int): Void
Name | Type |
---|---|
target |
GLenum |
samples |
Int |
internalformat |
GLenum |
width |
Int |
height |
Int |
clearBufferfv(buffer: Int, drawBuffer: Int, value: clay.buffers.Float32Array): Void
Name | Type |
---|---|
buffer |
Int |
drawBuffer |
Int |
value |
clay.buffers.Float32Array |
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 |
GLenum |
ref |
Int |
mask |
GLuint |
Name | Type |
---|---|
mask |
GLuint |
Name | Type |
---|---|
face |
GLenum |
mask |
GLuint |
Name | Type |
---|---|
fail |
GLenum |
zfail |
GLenum |
zpass |
GLenum |
Name | Type |
---|---|
face |
GLenum |
fail |
GLenum |
zfail |
GLenum |
zpass |
GLenum |
Name | Type |
---|---|
target |
GLenum |
pname |
GLenum |
param |
Float |
Name | Type |
---|---|
target |
GLenum |
pname |
GLenum |
param |
Int |
uniform1f(location: GLUniformLocation, x: Float): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Float |
uniform1i(location: GLUniformLocation, x: Int): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Int |
uniform2f(location: GLUniformLocation, x: Float, y: Float): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Float |
y |
Float |
uniform2i(location: GLUniformLocation, x: Int, y: Int): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Int |
y |
Int |
uniform3f(location: GLUniformLocation, x: Float, y: Float, z: Float): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Float |
y |
Float |
z |
Float |
uniform3i(location: GLUniformLocation, x: Int, y: Int, z: Int): Void
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Int |
y |
Int |
z |
Int |
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Float |
y |
Float |
z |
Float |
w |
Float |
Name | Type |
---|---|
location |
GLUniformLocation |
x |
Int |
y |
Int |
z |
Int |
w |
Int |
Name | Type |
---|---|
program |
GLProgram |
Name | Type |
---|---|
program |
GLProgram |
Name | Type |
---|---|
indx |
GLuint |
x |
Float |
Name | Type |
---|---|
indx |
GLuint |
x |
Float |
y |
Float |
Name | Type |
---|---|
indx |
GLuint |
x |
Float |
y |
Float |
z |
Float |
Name | Type |
---|---|
indx |
GLuint |
x |
Float |
y |
Float |
z |
Float |
w |
Float |
Name | Type |
---|---|
x |
Int |
y |
Int |
width |
Int |
height |
Int |
bufferData(target: GLenum, data: clay.buffers.ArrayBufferView, usage: GLenum): Void
Name | Type |
---|---|
target |
GLenum |
data |
clay.buffers.ArrayBufferView |
usage |
GLenum |
bufferSubData(target: GLenum, offset: Int, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
target |
GLenum |
offset |
Int |
data |
clay.buffers.ArrayBufferView |
compressedTexImage2D(target: GLenum, level: Int, internalformat: GLenum, width: Int, height: Int, border: Int, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
target |
GLenum |
level |
Int |
internalformat |
GLenum |
width |
Int |
height |
Int |
border |
Int |
data |
clay.buffers.ArrayBufferView |
compressedTexSubImage2D(target: GLenum, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: GLenum, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
target |
GLenum |
level |
Int |
xoffset |
Int |
yoffset |
Int |
width |
Int |
height |
Int |
format |
GLenum |
data |
clay.buffers.ArrayBufferView |
readPixels(x: Int, y: Int, width: Int, height: Int, format: GLenum, type: GLenum, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
x |
Int |
y |
Int |
width |
Int |
height |
Int |
format |
GLenum |
type |
GLenum |
data |
clay.buffers.ArrayBufferView |
texImage2D(target: GLenum, level: Int, internalformat: GLenum, width: Int, height: Int, border: Int, format: GLenum, type: GLenum, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
target |
GLenum |
level |
Int |
internalformat |
GLenum |
width |
Int |
height |
Int |
border |
Int |
format |
GLenum |
type |
GLenum |
data |
clay.buffers.ArrayBufferView |
texSubImage2D(target: GLenum, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: GLenum, type: GLenum, data: clay.buffers.ArrayBufferView): Void
Name | Type |
---|---|
target |
GLenum |
level |
Int |
xoffset |
Int |
yoffset |
Int |
width |
Int |
height |
Int |
format |
GLenum |
type |
GLenum |
data |
clay.buffers.ArrayBufferView |
uniform1fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Float32Array |
uniform1iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Int32Array |
uniform2fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Float32Array |
uniform2iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Int32Array |
uniform3fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Float32Array |
uniform3iv(location: GLUniformLocation, data: clay.buffers.Int32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Int32Array |
uniform4fv(location: GLUniformLocation, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
location |
GLUniformLocation |
data |
clay.buffers.Float32Array |
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 |
vertexAttrib1fv(indx: GLuint, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
indx |
GLuint |
data |
clay.buffers.Float32Array |
vertexAttrib2fv(indx: GLuint, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
indx |
GLuint |
data |
clay.buffers.Float32Array |
vertexAttrib3fv(indx: GLuint, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
indx |
GLuint |
data |
clay.buffers.Float32Array |
vertexAttrib4fv(indx: GLuint, data: clay.buffers.Float32Array): Void
Name | Type |
---|---|
indx |
GLuint |
data |
clay.buffers.Float32Array |
vertexAttribPointer(indx: GLuint, size: Int, type: GLenum, normalized: Bool, stride: Int, offset: Int): Void
Name | Type |
---|---|
indx |
GLuint |
size |
Int |
type |
GLenum |
normalized |
Bool |
stride |
Int |
offset |
Int |
versionString(): String
Returns |
---|
String |
Metadata
Name | Parameters |
---|---|
:include |
"linc_opengl.h" |
:build |
linc.Linc.touch() |