// //------------------ DOK FILE -------------------------------------------------- +Header openGlLib =pkg bios =title OpenGL ES =short 3d library =desc This library is mostly a straight integration of OpenGL, reduced to OpenGL ES capabilities for cross-platform pc/mobile compatibility. You can open a OpenGL UI with the UI_GL mask, then it's your play to write your own shaders. You may also use the package 'core.3d.gl' to start with basic shaders, and you may use it with 'core.2d.gl' if all you need is to play with 2d sprites. // // //------------------ PROTO ----------------------------------------------------- glES +Proto glES =type fun -> Bool =mode function =pkg bios =impl native =link =desc This function returns true if the host is running OpenGL ES. Otherwise, it returns false for regular OpenGL. This information is useful when you write shaders, as GL ES shaders must start with a precision declaration, such as: >precision mediump float; // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- GL_ALWAYS +Proto GL_ALWAYS =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ARRAY_BUFFER +Proto GL_ARRAY_BUFFER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_BACK +Proto GL_BACK =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_BLEND +Proto GL_BLEND =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_CCW +Proto GL_CCW =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_CLAMP_TO_EDGE +Proto GL_CLAMP_TO_EDGE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_COLOR_BUFFER_BIT +Proto GL_COLOR_BUFFER_BIT =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_CULL_FACE +Proto GL_CULL_FACE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_CW +Proto GL_CW =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DEPTH_BUFFER_BIT +Proto GL_DEPTH_BUFFER_BIT =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DEPTH_TEST +Proto GL_DEPTH_TEST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DITHER +Proto GL_DITHER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DONT_CARE +Proto GL_DONT_CARE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DST_ALPHA +Proto GL_DST_ALPHA =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_DST_COLOR +Proto GL_DST_COLOR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_EQUAL +Proto GL_EQUAL =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_EXTENSIONS +Proto GL_EXTENSIONS =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FALSE +Proto GL_FALSE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FASTEST +Proto GL_FASTEST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FRAGMENT_SHADER +Proto GL_FRAGMENT_SHADER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FRAMEBUFFER +Proto GL_FRAMEBUFFER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FRONT +Proto GL_FRONT =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_FRONT_AND_BACK +Proto GL_FRONT_AND_BACK =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_GEQUAL +Proto GL_GEQUAL =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_GREATER +Proto GL_GREATER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LEQUAL +Proto GL_LEQUAL =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LESS +Proto GL_LESS =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINEAR +Proto GL_LINEAR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINEAR_MIPMAP_LINEAR +Proto GL_LINEAR_MIPMAP_LINEAR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINEAR_MIPMAP_NEAREST +Proto GL_LINEAR_MIPMAP_NEAREST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINES +Proto GL_LINES =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINE_LOOP +Proto GL_LINE_LOOP =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LINE_STRIP +Proto GL_LINE_STRIP =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_LUMINANCE +Proto GL_LUMINANCE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_NEAREST +Proto GL_NEAREST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_NEAREST_MIPMAP_LINEAR +Proto GL_NEAREST_MIPMAP_LINEAR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_NEAREST_MIPMAP_NEAREST +Proto GL_NEAREST_MIPMAP_NEAREST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_NICEST +Proto GL_NICEST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_NOTEQUAL +Proto GL_NOTEQUAL =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ONE +Proto GL_ONE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ONE_MINUS_DST_ALPHA +Proto GL_ONE_MINUS_DST_ALPHA =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ONE_MINUS_DST_COLOR +Proto GL_ONE_MINUS_DST_COLOR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ONE_MINUS_SRC_ALPHA +Proto GL_ONE_MINUS_SRC_ALPHA =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ONE_MINUS_SRC_COLOR +Proto GL_ONE_MINUS_SRC_COLOR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_POINTS +Proto GL_POINTS =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_RENDERER +Proto GL_RENDERER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_REPEAT +Proto GL_REPEAT =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant. Be aware that using GL_REPEAT, OpenGL ES may restrict the size of textures to power of 2. // // //------------------ PROTO ----------------------------------------------------- GL_REPLACE +Proto GL_REPLACE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_RGB +Proto GL_RGB =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_RGBA +Proto GL_RGBA =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_SCISSOR_TEST +Proto GL_SCISSOR_TEST =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_SHADING_LANGUAGE_VERSION +Proto GL_SHADING_LANGUAGE_VERSION =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_SRC_ALPHA +Proto GL_SRC_ALPHA =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_SRC_ALPHA_SATURATE +Proto GL_SRC_ALPHA_SATURATE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_SRC_COLOR +Proto GL_SRC_COLOR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_STATIC_DRAW +Proto GL_STATIC_DRAW =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE0 +Proto GL_TEXTURE0 =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE_2D +Proto GL_TEXTURE_2D =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE_MAG_FILTER +Proto GL_TEXTURE_MAG_FILTER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE_MIN_FILTER +Proto GL_TEXTURE_MIN_FILTER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE_WRAP_S +Proto GL_TEXTURE_WRAP_S =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TEXTURE_WRAP_T +Proto GL_TEXTURE_WRAP_T =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TRIANGLES +Proto GL_TRIANGLES =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TRIANGLE_FAN +Proto GL_TRIANGLE_FAN =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TRIANGLE_STRIP +Proto GL_TRIANGLE_STRIP =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_TRUE +Proto GL_TRUE =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_VENDOR +Proto GL_VENDOR =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_VERSION +Proto GL_VERSION =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_VERTEX_SHADER +Proto GL_VERTEX_SHADER =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GL_ZERO +Proto GL_ZERO =type Int =mode constant =pkg bios =impl native =link =desc OpenGL constant // // //------------------ PROTO ----------------------------------------------------- GlProgram +Proto GlProgram =type GlProgram =mode type =pkg bios =impl native =link =desc Program type for OpenGL // // //------------------ PROTO ----------------------------------------------------- GlShader +Proto GlShader =type GlShader =mode type =pkg bios =impl native =link =desc Shader type for OpenGL // // //------------------ PROTO ----------------------------------------------------- GlTexture +Proto GlTexture =type GlTexture =mode type =pkg bios =impl native =link =desc Texture type for OpenGL // // //------------------ PROTO ----------------------------------------------------- glActiveTexture +Proto glActiveTexture =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg texture =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glAttachShader +Proto glAttachShader =type fun GlProgram GlShader -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg program =type GlProgram =desc // +arg shader =type GlShader =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glBindTexture +Proto glBindTexture =type fun Int GlTexture -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg texture =type GlTexture =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glBlendFunc +Proto glBlendFunc =type fun Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg sourceFactor =type Int =desc // +arg destinationFactor =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glClear +Proto glClear =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg mask =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glClearColor +Proto glClearColor =type fun Float Float Float Float -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg red =type Float =desc // +arg green =type Float =desc // +arg blue =type Float =desc // +arg alpha =type Float =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glCompileShader +Proto glCompileShader =type fun GlShader -> Bool =mode function =pkg bios =impl native =link =desc OpenGL function // +arg shader =type GlShader =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- glCopyTexImage2D +Proto glCopyTexImage2D =type fun Int Int Int Int Int Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg level =type Int =desc // +arg internalformat =type Int =desc // +arg x =type Int =desc // +arg y =type Int =desc // +arg width =type Int =desc // +arg height =type Int =desc // +arg border =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glCopyTexSubImage2D +Proto glCopyTexSubImage2D =type fun Int Int Int Int Int Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg level =type Int =desc // +arg xoffset =type Int =desc // +arg yoffset =type Int =desc // +arg x =type Int =desc // +arg y =type Int =desc // +arg width =type Int =desc // +arg height =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glCreateProgram +Proto glCreateProgram =type fun -> GlProgram =mode function =pkg bios =impl native =link =desc OpenGL function // +arg result =type GlProgram =desc // // //------------------ PROTO ----------------------------------------------------- glCreateShader +Proto glCreateShader =type fun Int -> GlShader =mode function =pkg bios =impl native =link =desc OpenGL function // +arg A =type Int =desc // +arg result =type GlShader =desc // // //------------------ PROTO ----------------------------------------------------- glCreateTexture +Proto glCreateTexture =type fun -> GlTexture =mode function =pkg bios =impl native =link =desc OpenGL function // +arg result =type GlTexture =desc // // //------------------ PROTO ----------------------------------------------------- glCullFace +Proto glCullFace =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg mode =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glDepthFunc +Proto glDepthFunc =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg func =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glDepthMask +Proto glDepthMask =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg flag =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glDisable +Proto glDisable =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg capability =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glDisableVertexAttribArray +Proto glDisableVertexAttribArray =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg index =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glDrawArrays +Proto glDrawArrays =type fun Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg mode =type Int =desc // +arg first =type Int =desc // +arg count =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glEnable +Proto glEnable =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg capability =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glEnableVertexAttribArray +Proto glEnableVertexAttribArray =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg index =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glFlush +Proto glFlush =type fun -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glFrontFace +Proto glFrontFace =type fun Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg mode =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glGetAttribLocation +Proto glGetAttribLocation =type fun GlProgram Str -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg program =type GlProgram =desc // +arg name =type Str =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glGetString +Proto glGetString =type fun Int -> Str =mode function =pkg bios =impl native =link =desc OpenGL function // +arg name =type Int =desc // +arg result =type Str =desc // // //------------------ PROTO ----------------------------------------------------- glGetUniformLocation +Proto glGetUniformLocation =type fun GlProgram Str -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg program =type GlProgram =desc // +arg name =type Str =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glHint +Proto glHint =type fun Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg mode =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glLineWidth +Proto glLineWidth =type fun Float -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg width =type Float =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glLinkProgram +Proto glLinkProgram =type fun GlProgram -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg program =type GlProgram =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glScissor +Proto glScissor =type fun Int Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg x =type Int =desc // +arg y =type Int =desc // +arg width =type Int =desc // +arg height =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glShaderSource +Proto glShaderSource =type fun GlShader Str -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg shader =type GlShader =desc // +arg source =type Str =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glSwapBuffers +Proto glSwapBuffers =type fun -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glTexImage2D +Proto glTexImage2D =type fun GlTexture Int Int Int Int Bitmap -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg texture =type GlTexture =desc // +arg vtarget =type Int =desc // +arg vlevel =type Int =desc // +arg vformat =type Int =desc // +arg vborder =type Int =desc // +arg bitmap =type Bitmap =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glTexParameterf +Proto glTexParameterf =type fun Int Int Float -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg pname =type Int =desc // +arg param =type Float =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glTexParameteri +Proto glTexParameteri =type fun Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg target =type Int =desc // +arg pname =type Int =desc // +arg param =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniform1fv +Proto glUniform1fv =type fun Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniform2fv +Proto glUniform2fv =type fun Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniform3fv +Proto glUniform3fv =type fun Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniform4fv +Proto glUniform4fv =type fun Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniformMatrix2fv +Proto glUniformMatrix2fv =type fun Int Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg transpose =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniformMatrix3fv +Proto glUniformMatrix3fv =type fun Int Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg transpose =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUniformMatrix4fv +Proto glUniformMatrix4fv =type fun Int Int Int Floats -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg location =type Int =desc // +arg count =type Int =desc // +arg transpose =type Int =desc // +arg values =type Floats =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glUseProgram +Proto glUseProgram =type fun GlProgram -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg program =type GlProgram =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glVertexAttribPointer +Proto glVertexAttribPointer =type fun Int Int Int Int Floats Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg index =type Int =desc // +arg size =type Int =desc // +arg normalized =type Int =desc // +arg stride =type Int =desc // +arg values =type Floats =desc // +arg offset =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glViewport +Proto glViewport =type fun Int Int Int Int -> Int =mode function =pkg bios =impl native =link =desc OpenGL function // +arg x =type Int =desc // +arg y =type Int =desc // +arg width =type Int =desc // +arg height =type Int =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glTexImage2DUpdate +Proto glTexImage2DUpdate =type fun GlTexture Bytes Int Int Int Int Int Int Bitmap -> Int =mode Function =pkg bios =impl native =link =desc // +arg A =type GlTexture =desc // +arg B =type Bytes =desc // +arg C =type Int =desc // +arg D =type Int =desc // +arg E =type Int =desc // +arg F =type Int =desc // +arg G =type Int =desc // +arg H =type Int =desc // +arg I =type Bitmap =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- glTexSubImage2D +Proto glTexSubImage2D =type fun GlTexture Int Int Int Int Int Int Bitmap -> Int =mode Function =pkg bios =impl native =link =desc // +arg A =type GlTexture =desc // +arg B =type Int =desc // +arg C =type Int =desc // +arg D =type Int =desc // +arg E =type Int =desc // +arg F =type Int =desc // +arg G =type Int =desc // +arg H =type Bitmap =desc // +arg result =type Int =desc