Imports: |
|
Constants: |
- GL_ACTIVE_ATTRIBUTES : Int
- GL_ACTIVE_ATTRIBUTE_MAX_LENGTH : Int
- GL_ACTIVE_TEXTURE : Int
- GL_ACTIVE_UNIFORMS : Int
- GL_ACTIVE_UNIFORM_MAX_LENGTH : Int
- GL_ALIASED_LINE_WIDTH_RANGE : Int
- GL_ALIASED_POINT_SIZE_RANGE : Int
- GL_ALPHA : Int
- GL_ALPHA_BITS : Int
- GL_ALWAYS : Int
- GL_ARRAY_BUFFER : Int
- GL_ARRAY_BUFFER_BINDING : Int
- GL_ATTACHED_SHADERS : Int
- GL_BACK : Int
- GL_BLEND : Int
- GL_BLEND_COLOR : Int
- GL_BLEND_DST_ALPHA : Int
- GL_BLEND_DST_RGB : Int
- GL_BLEND_EQUATION : Int
- GL_BLEND_EQUATION_ALPHA : Int
- GL_BLEND_EQUATION_RGB : Int
- GL_BLEND_SRC_ALPHA : Int
- GL_BLEND_SRC_RGB : Int
- GL_BLUE_BITS : Int
- GL_BOOL : Int
- GL_BOOL_VEC2 : Int
- GL_BOOL_VEC3 : Int
- GL_BOOL_VEC4 : Int
- GL_BUFFER_SIZE : Int
- GL_BUFFER_USAGE : Int
- GL_BYTE : Int
- GL_CCW : Int
- GL_CLAMP_TO_EDGE : Int
- GL_COLOR_ATTACHMENT0 : Int
- GL_COLOR_BUFFER_BIT : Int
- GL_COLOR_CLEAR_VALUE : Int
- GL_COLOR_WRITEMASK : Int
- GL_COMPILE_STATUS : Int
- GL_COMPRESSED_TEXTURE_FORMATS : Int
- GL_CONSTANT_ALPHA : Int
- GL_CONSTANT_COLOR : Int
- GL_CULL_FACE : Int
- GL_CULL_FACE_MODE : Int
- GL_CURRENT_PROGRAM : Int
- GL_CURRENT_VERTEX_ATTRIB : Int
- GL_CW : Int
- GL_DECR : Int
- GL_DECR_WRAP : Int
- GL_DELETE_STATUS : Int
- GL_DEPTH_ATTACHMENT : Int
- GL_DEPTH_BITS : Int
- GL_DEPTH_BUFFER_BIT : Int
- GL_DEPTH_CLEAR_VALUE : Int
- GL_DEPTH_COMPONENT : Int
- GL_DEPTH_COMPONENT16 : Int
- GL_DEPTH_FUNC : Int
- GL_DEPTH_RANGE : Int
- GL_DEPTH_TEST : Int
- GL_DEPTH_WRITEMASK : Int
- GL_DITHER : Int
- GL_DONT_CARE : Int
- GL_DST_ALPHA : Int
- GL_DST_COLOR : Int
- GL_DYNAMIC_DRAW : Int
- GL_ELEMENT_ARRAY_BUFFER : Int
- GL_ELEMENT_ARRAY_BUFFER_BINDING : Int
- GL_EQUAL : Int
- GL_EXTENSIONS : Int
- GL_FALSE : Int
- GL_FASTEST : Int
- GL_FIXED : Int
- GL_FLOAT : Int
- GL_FLOAT_MAT2 : Int
- GL_FLOAT_MAT3 : Int
- GL_FLOAT_MAT4 : Int
- GL_FLOAT_VEC2 : Int
- GL_FLOAT_VEC3 : Int
- GL_FLOAT_VEC4 : Int
- GL_FRAGMENT_SHADER : Int
- GL_FRAMEBUFFER : Int
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : Int
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : Int
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : Int
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : Int
- GL_FRAMEBUFFER_BINDING : Int
- GL_FRAMEBUFFER_COMPLETE : Int
- GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT : Int
- GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS : Int
- GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : Int
- GL_FRAMEBUFFER_UNSUPPORTED : Int
- GL_FRONT : Int
- GL_FRONT_AND_BACK : Int
- GL_FRONT_FACE : Int
- GL_FUNC_ADD : Int
- GL_FUNC_REVERSE_SUBTRACT : Int
- GL_FUNC_SUBTRACT : Int
- GL_GENERATE_MIPMAP_HINT : Int
- GL_GEQUAL : Int
- GL_GREATER : Int
- GL_GREEN_BITS : Int
- GL_HIGH_FLOAT : Int
- GL_HIGH_INT : Int
- GL_IMPLEMENTATION_COLOR_READ_FORMAT : Int
- GL_IMPLEMENTATION_COLOR_READ_TYPE : Int
- GL_INCR : Int
- GL_INCR_WRAP : Int
- GL_INFO_LOG_LENGTH : Int
- GL_INT : Int
- GL_INT_VEC2 : Int
- GL_INT_VEC3 : Int
- GL_INT_VEC4 : Int
- GL_INVALID_ENUM : Int
- GL_INVALID_FRAMEBUFFER_OPERATION : Int
- GL_INVALID_OPERATION : Int
- GL_INVALID_VALUE : Int
- GL_INVERT : Int
- GL_KEEP : Int
- GL_LEQUAL : Int
- GL_LESS : Int
- GL_LINEAR : Int
- GL_LINEAR_MIPMAP_LINEAR : Int
- GL_LINEAR_MIPMAP_NEAREST : Int
- GL_LINES : Int
- GL_LINE_LOOP : Int
- GL_LINE_STRIP : Int
- GL_LINE_WIDTH : Int
- GL_LINK_STATUS : Int
- GL_LOW_FLOAT : Int
- GL_LOW_INT : Int
- GL_LUMINANCE : Int
- GL_LUMINANCE_ALPHA : Int
- GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS : Int
- GL_MAX_CUBE_MAP_TEXTURE_SIZE : Int
- GL_MAX_FRAGMENT_UNIFORM_VECTORS : Int
- GL_MAX_RENDERBUFFER_SIZE : Int
- GL_MAX_TEXTURE_IMAGE_UNITS : Int
- GL_MAX_TEXTURE_SIZE : Int
- GL_MAX_VARYING_VECTORS : Int
- GL_MAX_VERTEX_ATTRIBS : Int
- GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS : Int
- GL_MAX_VERTEX_UNIFORM_VECTORS : Int
- GL_MAX_VIEWPORT_DIMS : Int
- GL_MEDIUM_FLOAT : Int
- GL_MEDIUM_INT : Int
- GL_MIRRORED_REPEAT : Int
- GL_NEAREST : Int
- GL_NEAREST_MIPMAP_LINEAR : Int
- GL_NEAREST_MIPMAP_NEAREST : Int
- GL_NEVER : Int
- GL_NICEST : Int
- GL_NONE : Int
- GL_NOTEQUAL : Int
- GL_NO_ERROR : Int
- GL_NUM_COMPRESSED_TEXTURE_FORMATS : Int
- GL_NUM_SHADER_BINARY_FORMATS : Int
- GL_ONE : Int
- GL_ONE_MINUS_CONSTANT_ALPHA : Int
- GL_ONE_MINUS_CONSTANT_COLOR : Int
- GL_ONE_MINUS_DST_ALPHA : Int
- GL_ONE_MINUS_DST_COLOR : Int
- GL_ONE_MINUS_SRC_ALPHA : Int
- GL_ONE_MINUS_SRC_COLOR : Int
- GL_OUT_OF_MEMORY : Int
- GL_PACK_ALIGNMENT : Int
- GL_POINTS : Int
- GL_POLYGON_OFFSET_FACTOR : Int
- GL_POLYGON_OFFSET_FILL : Int
- GL_POLYGON_OFFSET_UNITS : Int
- GL_RED_BITS : Int
- GL_RENDERBUFFER : Int
- GL_RENDERBUFFER_ALPHA_SIZE : Int
- GL_RENDERBUFFER_BINDING : Int
- GL_RENDERBUFFER_BLUE_SIZE : Int
- GL_RENDERBUFFER_DEPTH_SIZE : Int
- GL_RENDERBUFFER_GREEN_SIZE : Int
- GL_RENDERBUFFER_HEIGHT : Int
- GL_RENDERBUFFER_INTERNAL_FORMAT : Int
- GL_RENDERBUFFER_RED_SIZE : Int
- GL_RENDERBUFFER_STENCIL_SIZE : Int
- GL_RENDERBUFFER_WIDTH : Int
- GL_RENDERER : Int
- GL_REPEAT : Int
- GL_REPLACE : Int
- GL_RGB : Int
- GL_RGB565 : Int
- GL_RGB5_A1 : Int
- GL_RGBA : Int
- GL_RGBA4 : Int
- GL_SAMPLER_2D : Int
- GL_SAMPLER_CUBE : Int
- GL_SAMPLES : Int
- GL_SAMPLE_ALPHA_TO_COVERAGE : Int
- GL_SAMPLE_BUFFERS : Int
- GL_SAMPLE_COVERAGE : Int
- GL_SAMPLE_COVERAGE_INVERT : Int
- GL_SAMPLE_COVERAGE_VALUE : Int
- GL_SCISSOR_BOX : Int
- GL_SCISSOR_TEST : Int
- GL_SHADER_BINARY_FORMATS : Int
- GL_SHADER_COMPILER : Int
- GL_SHADER_SOURCE_LENGTH : Int
- GL_SHADER_TYPE : Int
- GL_SHADING_LANGUAGE_VERSION : Int
- GL_SHORT : Int
- GL_SRC_ALPHA : Int
- GL_SRC_ALPHA_SATURATE : Int
- GL_SRC_COLOR : Int
- GL_STATIC_DRAW : Int
- GL_STENCIL_ATTACHMENT : Int
- GL_STENCIL_BACK_FAIL : Int
- GL_STENCIL_BACK_FUNC : Int
- GL_STENCIL_BACK_PASS_DEPTH_FAIL : Int
- GL_STENCIL_BACK_PASS_DEPTH_PASS : Int
- GL_STENCIL_BACK_REF : Int
- GL_STENCIL_BACK_VALUE_MASK : Int
- GL_STENCIL_BACK_WRITEMASK : Int
- GL_STENCIL_BITS : Int
- GL_STENCIL_BUFFER_BIT : Int
- GL_STENCIL_CLEAR_VALUE : Int
- GL_STENCIL_FAIL : Int
- GL_STENCIL_FUNC : Int
- GL_STENCIL_INDEX : Int
- GL_STENCIL_INDEX8 : Int
- GL_STENCIL_PASS_DEPTH_FAIL : Int
- GL_STENCIL_PASS_DEPTH_PASS : Int
- GL_STENCIL_REF : Int
- GL_STENCIL_TEST : Int
- GL_STENCIL_VALUE_MASK : Int
- GL_STENCIL_WRITEMASK : Int
- GL_STREAM_DRAW : Int
- GL_SUBPIXEL_BITS : Int
- GL_TEXTURE : Int
- GL_TEXTURE0 : Int
- GL_TEXTURE1 : Int
- GL_TEXTURE10 : Int
- GL_TEXTURE11 : Int
- GL_TEXTURE12 : Int
- GL_TEXTURE13 : Int
- GL_TEXTURE14 : Int
- GL_TEXTURE15 : Int
- GL_TEXTURE16 : Int
- GL_TEXTURE17 : Int
- GL_TEXTURE18 : Int
- GL_TEXTURE19 : Int
- GL_TEXTURE2 : Int
- GL_TEXTURE20 : Int
- GL_TEXTURE21 : Int
- GL_TEXTURE22 : Int
- GL_TEXTURE23 : Int
- GL_TEXTURE24 : Int
- GL_TEXTURE25 : Int
- GL_TEXTURE26 : Int
- GL_TEXTURE27 : Int
- GL_TEXTURE28 : Int
- GL_TEXTURE29 : Int
- GL_TEXTURE3 : Int
- GL_TEXTURE30 : Int
- GL_TEXTURE31 : Int
- GL_TEXTURE4 : Int
- GL_TEXTURE5 : Int
- GL_TEXTURE6 : Int
- GL_TEXTURE7 : Int
- GL_TEXTURE8 : Int
- GL_TEXTURE9 : Int
- GL_TEXTURE_2D : Int
- GL_TEXTURE_BINDING_2D : Int
- GL_TEXTURE_BINDING_CUBE_MAP : Int
- GL_TEXTURE_CUBE_MAP : Int
- GL_TEXTURE_CUBE_MAP_NEGATIVE_X : Int
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : Int
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : Int
- GL_TEXTURE_CUBE_MAP_POSITIVE_X : Int
- GL_TEXTURE_CUBE_MAP_POSITIVE_Y : Int
- GL_TEXTURE_CUBE_MAP_POSITIVE_Z : Int
- GL_TEXTURE_MAG_FILTER : Int
- GL_TEXTURE_MIN_FILTER : Int
- GL_TEXTURE_WRAP_S : Int
- GL_TEXTURE_WRAP_T : Int
- GL_TRIANGLES : Int
- GL_TRIANGLE_FAN : Int
- GL_TRIANGLE_STRIP : Int
- GL_TRUE : Int
- GL_UNPACK_ALIGNMENT : Int
- GL_UNSIGNED_BYTE : Int
- GL_UNSIGNED_INT : Int
- GL_UNSIGNED_SHORT : Int
- GL_UNSIGNED_SHORT_4_4_4_4 : Int
- GL_UNSIGNED_SHORT_5_5_5_1 : Int
- GL_UNSIGNED_SHORT_5_6_5 : Int
- GL_VALIDATE_STATUS : Int
- GL_VENDOR : Int
- GL_VERSION : Int
- GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : Int
- GL_VERTEX_ATTRIB_ARRAY_ENABLED : Int
- GL_VERTEX_ATTRIB_ARRAY_NORMALIZED : Int
- GL_VERTEX_ATTRIB_ARRAY_POINTER : Int
- GL_VERTEX_ATTRIB_ARRAY_SIZE : Int
- GL_VERTEX_ATTRIB_ARRAY_STRIDE : Int
- GL_VERTEX_ATTRIB_ARRAY_TYPE : Int
- GL_VERTEX_SHADER : Int
- GL_VIEWPORT : Int
- GL_ZERO : Int
|
Functions: |
- LoadImageData : DataBuffer ( path:String, info:Int[] )
- glActiveTexture : Void ( texture:Int )
- glAttachShader : Void ( program:Int, shader:Int )
- glBindAttribLocation : Void ( program:Int, index:Int, name:String )
- glBindBuffer : Void ( target:Int, buffer:Int )
- glBindFramebuffer : Void ( target:Int, framebuffer:Int )
- glBindRenderbuffer : Void ( target:Int, renderbuffer:Int )
- glBindTexture : Void ( target:Int, texture:Int )
- glBlendColor : Void ( red:Float, green:Float, blue:Float, alpha:Float )
- glBlendEquation : Void ( mode:Int )
- glBlendEquationSeparate : Void ( modeRGB:Int, modeAlpha:Int )
- glBlendFunc : Void ( sfactor:Int, dfactor:Int )
- glBlendFuncSeparate : Void ( srcRGB:Int, dstRGB:Int, srcAlpha:Int, dstAlpha:Int )
- glBufferData : Void ( target:Int, size:Int, data:DataBuffer, usage:Int )
- glBufferSubData : Void ( target:Int, offset:Int, size:Int, data:DataBuffer )
- glCheckFramebufferStatus : Int ( target:Int )
- glClear : Void ( mask:Int )
- glClearColor : Void ( red:Float, green:Float, blue:Float, alpha:Float )
- glClearDepthf : Void ( depth:Float )
- glClearStencil : Void ( s:Int )
- glColorMask : Void ( red:Bool, green:Bool, blue:Bool, alpha:Bool )
- glCompileShader : Void ( shader:Int )
- glCopyTexImage2D : Void ( target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int )
- glCopyTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int )
- glCreateBuffer : Int ()
- glCreateFramebuffer : Int ()
- glCreateProgram : Int ()
- glCreateRenderbuffer : Int ()
- glCreateShader : Int ( type:Int )
- glCreateTexture : Int ()
- glCullFace : Void ( mode:Int )
- glDeleteBuffer : Void ( buffer:Int )
- glDeleteFramebuffer : Void ( framebuffer:Int )
- glDeleteProgram : Void ( program:Int )
- glDeleteRenderbuffer : Void ( renderBuffer:Int )
- glDeleteShader : Void ( shader:Int )
- glDeleteTexture : Void ( texture:Int )
- glDepthFunc : Void ( func:Int )
- glDepthMask : Void ( flag:Bool )
- glDepthRangef : Void ( zNear:Float, zFar:Float )
- glDetachShader : Void ( program:Int, shader:Int )
- glDisable : Void ( cap:Int )
- glDisableVertexAttribArray : Void ( index:Int )
- glDrawArrays : Void ( mode:Int, first:Int, count:Int )
- glDrawElements : Void ( mode:Int, count:Int, type:Int, ptr:DataBuffer )
- glDrawElements : Void ( mode:Int, count:Int, type:Int, offset:Int )
- glEnable : Void ( cap:Int )
- glEnableVertexAttribArray : Void ( index:Int )
- glFinish : Void ()
- glFlush : Void ()
- glFramebufferRenderbuffer : Void ( target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:Int )
- glFramebufferTexture2D : Void ( target:Int, attachment:Int, textarget:Int, texture:Int, level:Int )
- glFrontFace : Void ( mode:Int )
- glGenerateMipmap : Void ( target:Int )
- glGetActiveAttrib : Void ( program:Int, index:Int, size:Int[], type:Int[], name:String[] )
- glGetActiveUniform : Void ( program:Int, index:Int, size:Int[], type:Int[], name:String[] )
- glGetAttachedShaders : Void ( program:Int, maxcount:Int, count:Int[], shaders:Int[] )
- glGetAttribLocation : Int ( program:Int, name:String )
- glGetBooleanv : Void ( pname:Int, params:Bool[] )
- glGetBufferParameteriv : Void ( target:Int, pname:Int, params:Int[] )
- glGetError : Int ()
- glGetFloatv : Void ( pname:Int, params:Float[] )
- glGetFramebufferAttachmentParameteriv : Void ( target:Int, attachment:Int, pname:Int, params:Int[] )
- glGetIntegerv : Void ( pname:Int, params:Int[] )
- glGetProgramInfoLog : String ( program:Int )
- glGetProgramiv : Void ( program:Int, pname:Int, params:Int[] )
- glGetRenderbufferParameteriv : Void ( target:Int, pname:Int, params:Int[] )
- glGetShaderInfoLog : String ( shader:Int )
- glGetShaderSource : String ( shader:Int )
- glGetShaderiv : Void ( shader:Int, pname:Int, params:Int[] )
- glGetString : String ( name:Int )
- glGetTexParameterfv : Void ( target:Int, pname:Int, params:Float[] )
- glGetTexParameteriv : Void ( target:Int, pname:Int, params:Int[] )
- glGetUniformLocation : Int ( program:Int, name:String )
- glGetUniformfv : Void ( program:Int, location:Int, params:Float[] )
- glGetUniformiv : Void ( program:Int, location:Int, params:Int[] )
- glGetVertexAttribfv : Void ( index:Int, pname:Int, params:Float[] )
- glGetVertexAttribiv : Void ( index:Int, pname:Int, params:Int[] )
- glHint : Void ( target:Int, mode:Int )
- glIsBuffer : Bool ( buffer:Int )
- glIsEnabled : Bool ( cap:Int )
- glIsFramebuffer : Bool ( framebuffer:Int )
- glIsProgram : Bool ( program:Int )
- glIsRenderbuffer : Bool ( renderbuffer:Int )
- glIsShader : Bool ( shader:Int )
- glIsTexture : Bool ( texture:Int )
- glLineWidth : Void ( width:Float )
- glLinkProgram : Void ( program:Int )
- glPixelStorei : Void ( pname:Int, param:Int )
- glPolygonOffset : Void ( factor:Float, units:Float )
- glReadPixels : Void ( x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:DataBuffer )
- glReleaseShaderCompiler : Void ()
- glRenderbufferStorage : Void ( target:Int, internalformat:Int, width:Int, height:Int )
- glSampleCoverage : Void ( value:Float, invert:Bool )
- glScissor : Void ( x:Int, y:Int, width:Int, height:Int )
- glShaderSource : Void ( shader:Int, source:String )
- glStencilFunc : Void ( func:Int, ref:Int, mask:Int )
- glStencilFuncSeparate : Void ( face:Int, func:Int, ref:Int, mask:Int )
- glStencilMask : Void ( mask:Int )
- glStencilMaskSeparate : Void ( face:Int, mask:Int )
- glStencilOp : Void ( fail:Int, zfail:Int, zpass:Int )
- glStencilOpSeparate : Void ( face:Int, fail:Int, zfail:Int, zpass:Int )
- glTexImage2D : Void ( target:Int, level:Int, internalformat:Int, format:Int, type:Int, path:String )
- glTexImage2D : Void ( target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:DataBuffer )
- glTexParameterf : Void ( target:Int, pname:Int, param:Float )
- glTexParameteri : Void ( target:Int, pname:Int, param:Int )
- glTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, path:String )
- glTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:DataBuffer )
- glUniform1f : Void ( location:Int, x:Float )
- glUniform1fv : Void ( location:Int, count:Int, v:Float[] )
- glUniform1i : Void ( location:Int, x:Int )
- glUniform1iv : Void ( location:Int, count:Int, v:Int[] )
- glUniform2f : Void ( location:Int, x:Float, y:Float )
- glUniform2fv : Void ( location:Int, count:Int, v:Float[] )
- glUniform2i : Void ( location:Int, x:Int, y:Int )
- glUniform2iv : Void ( location:Int, count:Int, v:Int[] )
- glUniform3f : Void ( location:Int, x:Float, y:Float, z:Float )
- glUniform3fv : Void ( location:Int, count:Int, v:Float[] )
- glUniform3i : Void ( location:Int, x:Int, y:Int, z:Int )
- glUniform3iv : Void ( location:Int, count:Int, v:Int[] )
- glUniform4f : Void ( location:Int, x:Float, y:Float, z:Float, w:Float )
- glUniform4fv : Void ( location:Int, count:Int, v:Float[] )
- glUniform4i : Void ( location:Int, x:Int, y:Int, z:Int, w:Int )
- glUniform4iv : Void ( location:Int, count:Int, v:Int[] )
- glUniformMatrix2fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
- glUniformMatrix3fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
- glUniformMatrix4fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
- glUseProgram : Void ( program:Int )
- glValidateProgram : Void ( program:Int )
- glVertexAttrib1f : Void ( indx:Int, x:Float )
- glVertexAttrib1fv : Void ( indx:Int, values:Float[] )
- glVertexAttrib2f : Void ( indx:Int, x:Float, y:Float )
- glVertexAttrib2fv : Void ( indx:Int, values:Float[] )
- glVertexAttrib3f : Void ( indx:Int, x:Float, y:Float, z:Float )
- glVertexAttrib3fv : Void ( indx:Int, values:Float[] )
- glVertexAttrib4f : Void ( indx:Int, x:Float, y:Float, z:Float, w:Float )
- glVertexAttrib4fv : Void ( indx:Int, values:Float[] )
- glVertexAttribPointer : Void ( indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, data:DataBuffer )
- glVertexAttribPointer : Void ( indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, offset:Int )
- glViewport : Void ( x:Int, y:Int, width:Int, height:Int )
|
The gles20 module provides a Monkey wrapper for the OpenGL ES 2.0 API on the android, glfw, html5 and ios targets.
.
The opengl modules currently depend on the the mojo module to create and manage opengl contexts, so you must also import mojo.
You will need a web browser that supports WebGL.
Client side arrays are not supported in WebGL, so the versions of glVertexAttribPointer and glDrawElements that take a DataBuffer parameter are also not supported. You must use vertex buffer objects for vertex and index data on the HTML5 target.
LoadImageData is not supported on HTML5, so the only way you can load an image file into a texture is by using the versions of glTexImage that take an image path parameter.
GLES2.0 is only available on API 8 or higher. In addition, if you want to target API 8 (Android 2.2 'Froyo') and want to use vertex buffer objects, you must set the app config setting "ANDROID_NATIVE_GL_ENABLED" to "true". This will cause some 'native code' to be added to your app that works around an issue in Android API 8. Note that this is not necessary if you are targeting API 9 or higher.
Function LoadImageData : DataBuffer ( path:String, info:Int[] )
LoadImageData is a helper function that loads an image in your app's .data directory into a databuffer.
Upon success, info[0] is initialized to the width of the image, and info[1] is initialized to the height of the image. If the info array is not long enough, info is not written.
The image is returned in tightly packed, byte-per-component R,G,B,A format.
IMPORTANT: LoadImageData is not currently available on the HTML5 target.
See also DataBuffer
Function glActiveTexture : Void ( texture:Int )
Function glAttachShader : Void ( program:Int, shader:Int )
Function glBindAttribLocation : Void ( program:Int, index:Int, name:String )
Function glBindBuffer : Void ( target:Int, buffer:Int )
Function glBindFramebuffer : Void ( target:Int, framebuffer:Int )
Function glBindRenderbuffer : Void ( target:Int, renderbuffer:Int )
Function glBindTexture : Void ( target:Int, texture:Int )
Function glBlendColor : Void ( red:Float, green:Float, blue:Float, alpha:Float )
Function glBlendEquation : Void ( mode:Int )
Function glBlendEquationSeparate : Void ( modeRGB:Int, modeAlpha:Int )
Function glBlendFunc : Void ( sfactor:Int, dfactor:Int )
Function glBlendFuncSeparate : Void ( srcRGB:Int, dstRGB:Int, srcAlpha:Int, dstAlpha:Int )
Function glBufferData : Void ( target:Int, size:Int, data:DataBuffer, usage:Int )
Function glBufferSubData : Void ( target:Int, offset:Int, size:Int, data:DataBuffer )
Function glCheckFramebufferStatus : Int ( target:Int )
Function glClear : Void ( mask:Int )
Function glClearColor : Void ( red:Float, green:Float, blue:Float, alpha:Float )
Function glClearDepthf : Void ( depth:Float )
Function glClearStencil : Void ( s:Int )
Function glColorMask : Void ( red:Bool, green:Bool, blue:Bool, alpha:Bool )
Function glCompileShader : Void ( shader:Int )
Function glCopyTexImage2D : Void ( target:Int, level:Int, internalformat:Int, x:Int, y:Int, width:Int, height:Int, border:Int )
Function glCopyTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, x:Int, y:Int, width:Int, height:Int )
Function glCreateBuffer : Int ()
Function glCreateFramebuffer : Int ()
Function glCreateProgram : Int ()
Function glCreateRenderbuffer : Int ()
Function glCreateShader : Int ( type:Int )
Function glCreateTexture : Int ()
Function glCullFace : Void ( mode:Int )
Function glDeleteBuffer : Void ( buffer:Int )
Function glDeleteFramebuffer : Void ( framebuffer:Int )
Function glDeleteProgram : Void ( program:Int )
Function glDeleteRenderbuffer : Void ( renderBuffer:Int )
Function glDeleteShader : Void ( shader:Int )
Function glDeleteTexture : Void ( texture:Int )
Function glDepthFunc : Void ( func:Int )
Function glDepthMask : Void ( flag:Bool )
Function glDepthRangef : Void ( zNear:Float, zFar:Float )
Function glDetachShader : Void ( program:Int, shader:Int )
Function glDisable : Void ( cap:Int )
Function glDisableVertexAttribArray : Void ( index:Int )
Function glDrawArrays : Void ( mode:Int, first:Int, count:Int )
Function glDrawElements : Void ( mode:Int, count:Int, type:Int, ptr:DataBuffer )
Function glDrawElements : Void ( mode:Int, count:Int, type:Int, offset:Int )
Function glEnable : Void ( cap:Int )
Function glEnableVertexAttribArray : Void ( index:Int )
Function glFinish : Void ()
Function glFlush : Void ()
Function glFramebufferRenderbuffer : Void ( target:Int, attachment:Int, renderbuffertarget:Int, renderbuffer:Int )
Function glFramebufferTexture2D : Void ( target:Int, attachment:Int, textarget:Int, texture:Int, level:Int )
Function glFrontFace : Void ( mode:Int )
Function glGenerateMipmap : Void ( target:Int )
Function glGetActiveAttrib : Void ( program:Int, index:Int, size:Int[], type:Int[], name:String[] )
Function glGetActiveUniform : Void ( program:Int, index:Int, size:Int[], type:Int[], name:String[] )
Function glGetAttachedShaders : Void ( program:Int, maxcount:Int, count:Int[], shaders:Int[] )
Function glGetAttribLocation : Int ( program:Int, name:String )
Function glGetBooleanv : Void ( pname:Int, params:Bool[] )
Function glGetBufferParameteriv : Void ( target:Int, pname:Int, params:Int[] )
Function glGetError : Int ()
Function glGetFloatv : Void ( pname:Int, params:Float[] )
Function glGetFramebufferAttachmentParameteriv : Void ( target:Int, attachment:Int, pname:Int, params:Int[] )
Function glGetIntegerv : Void ( pname:Int, params:Int[] )
Function glGetProgramInfoLog : String ( program:Int )
Function glGetProgramiv : Void ( program:Int, pname:Int, params:Int[] )
Function glGetRenderbufferParameteriv : Void ( target:Int, pname:Int, params:Int[] )
Function glGetShaderInfoLog : String ( shader:Int )
Function glGetShaderSource : String ( shader:Int )
Function glGetShaderiv : Void ( shader:Int, pname:Int, params:Int[] )
Function glGetString : String ( name:Int )
Function glGetTexParameterfv : Void ( target:Int, pname:Int, params:Float[] )
Function glGetTexParameteriv : Void ( target:Int, pname:Int, params:Int[] )
Function glGetUniformLocation : Int ( program:Int, name:String )
Function glGetUniformfv : Void ( program:Int, location:Int, params:Float[] )
Function glGetUniformiv : Void ( program:Int, location:Int, params:Int[] )
Function glGetVertexAttribfv : Void ( index:Int, pname:Int, params:Float[] )
Function glGetVertexAttribiv : Void ( index:Int, pname:Int, params:Int[] )
Function glHint : Void ( target:Int, mode:Int )
Function glIsBuffer : Bool ( buffer:Int )
Function glIsEnabled : Bool ( cap:Int )
Function glIsFramebuffer : Bool ( framebuffer:Int )
Function glIsProgram : Bool ( program:Int )
Function glIsRenderbuffer : Bool ( renderbuffer:Int )
Function glIsShader : Bool ( shader:Int )
Function glIsTexture : Bool ( texture:Int )
Function glLineWidth : Void ( width:Float )
Function glLinkProgram : Void ( program:Int )
Function glPixelStorei : Void ( pname:Int, param:Int )
Function glPolygonOffset : Void ( factor:Float, units:Float )
Function glReadPixels : Void ( x:Int, y:Int, width:Int, height:Int, format:Int, type:Int, pixels:DataBuffer )
Function glReleaseShaderCompiler : Void ()
Function glRenderbufferStorage : Void ( target:Int, internalformat:Int, width:Int, height:Int )
Function glSampleCoverage : Void ( value:Float, invert:Bool )
Function glScissor : Void ( x:Int, y:Int, width:Int, height:Int )
Function glShaderSource : Void ( shader:Int, source:String )
Function glStencilFunc : Void ( func:Int, ref:Int, mask:Int )
Function glStencilFuncSeparate : Void ( face:Int, func:Int, ref:Int, mask:Int )
Function glStencilMask : Void ( mask:Int )
Function glStencilMaskSeparate : Void ( face:Int, mask:Int )
Function glStencilOp : Void ( fail:Int, zfail:Int, zpass:Int )
Function glStencilOpSeparate : Void ( face:Int, fail:Int, zfail:Int, zpass:Int )
Function glTexImage2D : Void ( target:Int, level:Int, internalformat:Int, format:Int, type:Int, path:String )
Function glTexImage2D : Void ( target:Int, level:Int, internalformat:Int, width:Int, height:Int, border:Int, format:Int, type:Int, pixels:DataBuffer )
Function glTexParameterf : Void ( target:Int, pname:Int, param:Float )
Function glTexParameteri : Void ( target:Int, pname:Int, param:Int )
Function glTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, format:Int, type:Int, path:String )
Function glTexSubImage2D : Void ( target:Int, level:Int, xoffset:Int, yoffset:Int, width:Int, height:Int, format:Int, type:Int, pixels:DataBuffer )
Function glUniform1f : Void ( location:Int, x:Float )
Function glUniform1fv : Void ( location:Int, count:Int, v:Float[] )
Function glUniform1i : Void ( location:Int, x:Int )
Function glUniform1iv : Void ( location:Int, count:Int, v:Int[] )
Function glUniform2f : Void ( location:Int, x:Float, y:Float )
Function glUniform2fv : Void ( location:Int, count:Int, v:Float[] )
Function glUniform2i : Void ( location:Int, x:Int, y:Int )
Function glUniform2iv : Void ( location:Int, count:Int, v:Int[] )
Function glUniform3f : Void ( location:Int, x:Float, y:Float, z:Float )
Function glUniform3fv : Void ( location:Int, count:Int, v:Float[] )
Function glUniform3i : Void ( location:Int, x:Int, y:Int, z:Int )
Function glUniform3iv : Void ( location:Int, count:Int, v:Int[] )
Function glUniform4f : Void ( location:Int, x:Float, y:Float, z:Float, w:Float )
Function glUniform4fv : Void ( location:Int, count:Int, v:Float[] )
Function glUniform4i : Void ( location:Int, x:Int, y:Int, z:Int, w:Int )
Function glUniform4iv : Void ( location:Int, count:Int, v:Int[] )
Function glUniformMatrix2fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
Function glUniformMatrix3fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
Function glUniformMatrix4fv : Void ( location:Int, count:Int, transpose:Bool, value:Float[] )
Function glUseProgram : Void ( program:Int )
Function glValidateProgram : Void ( program:Int )
Function glVertexAttrib1f : Void ( indx:Int, x:Float )
Function glVertexAttrib1fv : Void ( indx:Int, values:Float[] )
Function glVertexAttrib2f : Void ( indx:Int, x:Float, y:Float )
Function glVertexAttrib2fv : Void ( indx:Int, values:Float[] )
Function glVertexAttrib3f : Void ( indx:Int, x:Float, y:Float, z:Float )
Function glVertexAttrib3fv : Void ( indx:Int, values:Float[] )
Function glVertexAttrib4f : Void ( indx:Int, x:Float, y:Float, z:Float, w:Float )
Function glVertexAttrib4fv : Void ( indx:Int, values:Float[] )
Function glVertexAttribPointer : Void ( indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, data:DataBuffer )
Function glVertexAttribPointer : Void ( indx:Int, size:Int, type:Int, normalized:Bool, stride:Int, offset:Int )
Function glViewport : Void ( x:Int, y:Int, width:Int, height:Int )