INativeGL

interface INativeGL

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun glActiveTexture(texture: GLenum)
Link copied to clipboard
abstract fun glAttachShader(program: GLuint, shader: GLuint)
Link copied to clipboard
abstract fun glBindAttribLocation(program: GLuint, index: GLuint, name: String)
Link copied to clipboard
abstract fun glBindBuffer(target: GLenum, buffer: GLuint)
Link copied to clipboard
open fun glBindBufferRange(target: GLenum, index: GLuint, buffer: GLuint, offset: GLintptr, size: GLsizeiptr)
Link copied to clipboard
abstract fun glBindFramebuffer(target: GLenum, framebuffer: GLuint)
Link copied to clipboard
abstract fun glBindRenderbuffer(target: GLenum, renderbuffer: GLuint)
Link copied to clipboard
abstract fun glBindTexture(target: GLenum, texture: GLuint)
Link copied to clipboard
abstract fun glBindVertexArray(array: GLuint)
Link copied to clipboard
abstract fun glBlendColor(red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat)
Link copied to clipboard
abstract fun glBlendEquation(mode: GLenum)
Link copied to clipboard
abstract fun glBlendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum)
Link copied to clipboard
abstract fun glBlendFunc(sfactor: GLenum, dfactor: GLenum)
Link copied to clipboard
abstract fun glBlendFuncSeparate(sfactorRGB: GLenum, dfactorRGB: GLenum, sfactorAlpha: GLenum, dfactorAlpha: GLenum)
Link copied to clipboard
abstract fun glBufferData(target: GLenum, size: GLsizeiptr, data: VoidPtr, usage: GLenum)
Link copied to clipboard
abstract fun glBufferSubData(target: GLenum, offset: GLintptr, size: GLsizeiptr, data: VoidPtr)
Link copied to clipboard
abstract fun glCheckFramebufferStatus(target: GLenum): GLenum
Link copied to clipboard
abstract fun glClear(mask: GLbitfield)
Link copied to clipboard
abstract fun glClearColor(red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat)
Link copied to clipboard
abstract fun glClearDepth(d: GLdouble)
Link copied to clipboard
abstract fun glClearStencil(s: GLint)
Link copied to clipboard
abstract fun glColorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean)
Link copied to clipboard
abstract fun glCompileShader(shader: GLuint)
Link copied to clipboard
abstract fun glCompressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, data: VoidPtr)
Link copied to clipboard
abstract fun glCompressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, data: VoidPtr)
Link copied to clipboard
abstract fun glCopyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint)
Link copied to clipboard
abstract fun glCopyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
Link copied to clipboard
abstract fun glCreateProgram(): GLuint
Link copied to clipboard
abstract fun glCreateShader(type: GLenum): GLuint
Link copied to clipboard
abstract fun glCullFace(mode: GLenum)
Link copied to clipboard
abstract fun glDeleteBuffers(n: GLsizei, items: IntPtr)
Link copied to clipboard
abstract fun glDeleteFramebuffers(n: GLsizei, items: IntPtr)
Link copied to clipboard
abstract fun glDeleteProgram(program: GLuint)
Link copied to clipboard
abstract fun glDeleteRenderbuffers(n: GLsizei, items: IntPtr)
Link copied to clipboard
abstract fun glDeleteShader(shader: GLuint)
Link copied to clipboard
abstract fun glDeleteTextures(n: GLsizei, items: IntPtr)
Link copied to clipboard
abstract fun glDeleteVertexArrays(n: GLsizei, items: IntPtr)
Link copied to clipboard
abstract fun glDepthFunc(func: GLenum)
Link copied to clipboard
abstract fun glDepthMask(flag: GLboolean)
Link copied to clipboard
abstract fun glDepthRange(n: GLdouble, f: GLdouble)
Link copied to clipboard
abstract fun glDetachShader(program: GLuint, shader: GLuint)
Link copied to clipboard
abstract fun glDisable(cap: GLenum)
Link copied to clipboard
abstract fun glDisableVertexAttribArray(index: GLuint)
Link copied to clipboard
abstract fun glDrawArrays(mode: GLenum, first: GLint, count: GLsizei)
Link copied to clipboard
abstract fun glDrawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instancecount: GLsizei)
Link copied to clipboard
abstract fun glDrawElements(mode: GLenum, count: GLsizei, type: GLenum, indices: IntSize)
Link copied to clipboard
abstract fun glDrawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, indices: IntSize, instancecount: GLsizei)
Link copied to clipboard
abstract fun glEnable(cap: GLenum)
Link copied to clipboard
abstract fun glEnableVertexAttribArray(index: GLuint)
Link copied to clipboard
abstract fun glFinish()
Link copied to clipboard
abstract fun glFlush()
Link copied to clipboard
abstract fun glFramebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: GLuint)
Link copied to clipboard
abstract fun glFramebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: GLuint, level: GLint)
Link copied to clipboard
abstract fun glFrontFace(mode: GLenum)
Link copied to clipboard
abstract fun glGenBuffers(n: GLsizei, buffers: IntPtr)
Link copied to clipboard
abstract fun glGenerateMipmap(target: GLenum)
Link copied to clipboard
abstract fun glGenFramebuffers(n: GLsizei, framebuffers: IntPtr)
Link copied to clipboard
abstract fun glGenRenderbuffers(n: GLsizei, renderbuffers: IntPtr)
Link copied to clipboard
abstract fun glGenTextures(n: GLsizei, textures: IntPtr)
Link copied to clipboard
abstract fun glGenVertexArrays(n: GLsizei, buffers: IntPtr)
Link copied to clipboard
abstract fun glGetActiveAttrib(program: GLuint, index: GLuint, bufSize: GLsizei, length: IntPtr, size: IntPtr, type: IntPtr, name: VoidPtr)
Link copied to clipboard
abstract fun glGetActiveUniform(program: GLuint, index: GLuint, bufSize: GLsizei, length: IntPtr, size: IntPtr, type: IntPtr, name: VoidPtr)
Link copied to clipboard
abstract fun glGetAttachedShaders(program: GLuint, maxCount: GLsizei, count: IntPtr, shaders: IntPtr)
Link copied to clipboard
abstract fun glGetAttribLocation(program: GLuint, name: String): Int
Link copied to clipboard
abstract fun glGetBooleanv(pname: GLenum, data: VoidPtr)
Link copied to clipboard
abstract fun glGetBufferParameteriv(target: GLenum, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glGetError(): GLenum
Link copied to clipboard
abstract fun glGetFloatv(pname: GLenum, data: FloatPtr)
Link copied to clipboard
abstract fun glGetFramebufferAttachmentParameteriv(target: GLenum, attachment: GLenum, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glGetIntegerv(pname: GLenum, data: IntPtr)
Link copied to clipboard
abstract fun glGetProgramInfoLog(program: GLuint, bufSize: GLsizei, length: IntPtr, infoLog: VoidPtr)
Link copied to clipboard
abstract fun glGetProgramiv(program: GLuint, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glGetRenderbufferParameteriv(target: GLenum, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glGetShaderInfoLog(shader: GLuint, bufSize: GLsizei, length: IntPtr, infoLog: VoidPtr)
Link copied to clipboard
abstract fun glGetShaderiv(shader: GLuint, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glGetShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum, range: IntPtr, precision: IntPtr)
Link copied to clipboard
abstract fun glGetShaderSource(shader: GLuint, bufSize: GLsizei, length: IntPtr, source: VoidPtr)
Link copied to clipboard
abstract fun glGetString(name: GLenum): String?
Link copied to clipboard
abstract fun glGetStringi(name: GLenum, i: GLuint): String?
Link copied to clipboard
abstract fun glGetTexParameterfv(target: GLenum, pname: GLenum, params: FloatPtr)
Link copied to clipboard
abstract fun glGetTexParameteriv(target: GLenum, pname: GLenum, params: IntPtr)
Link copied to clipboard
open fun glGetUniformBlockIndex(program: GLuint, uniformBlockName: String): Int
Link copied to clipboard
abstract fun glGetUniformfv(program: GLuint, location: GLint, params: FloatPtr)
Link copied to clipboard
abstract fun glGetUniformiv(program: GLuint, location: GLint, params: IntPtr)
Link copied to clipboard
abstract fun glGetUniformLocation(program: GLuint, name: String): Int
Link copied to clipboard
abstract fun glGetVertexAttribfv(index: GLuint, pname: GLenum, params: FloatPtr)
Link copied to clipboard
abstract fun glGetVertexAttribiv(index: GLuint, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glHint(target: GLenum, mode: GLenum)
Link copied to clipboard
abstract fun glIsBuffer(buffer: GLuint): GLboolean
Link copied to clipboard
abstract fun glIsEnabled(cap: GLenum): GLboolean
Link copied to clipboard
abstract fun glIsFramebuffer(framebuffer: GLuint): GLboolean
Link copied to clipboard
abstract fun glIsProgram(program: GLuint): GLboolean
Link copied to clipboard
abstract fun glIsRenderbuffer(renderbuffer: GLuint): GLboolean
Link copied to clipboard
abstract fun glIsShader(shader: GLuint): GLboolean
Link copied to clipboard
abstract fun glIsTexture(texture: GLuint): GLboolean
Link copied to clipboard
abstract fun glLineWidth(width: GLfloat)
Link copied to clipboard
abstract fun glLinkProgram(program: GLuint)
Link copied to clipboard
abstract fun glPixelStorei(pname: GLenum, param: GLint)
Link copied to clipboard
abstract fun glPolygonOffset(factor: GLfloat, units: GLfloat)
Link copied to clipboard
abstract fun glReadPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: VoidPtr)
Link copied to clipboard
Link copied to clipboard
abstract fun glRenderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei)
Link copied to clipboard
abstract fun glRenderbufferStorageMultisample(target: GLenum, samples: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei)
Link copied to clipboard
abstract fun glSampleCoverage(value: GLfloat, invert: GLboolean)
Link copied to clipboard
abstract fun glScissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei)
Link copied to clipboard
abstract fun glShaderBinary(count: GLsizei, shaders: IntPtr, binaryformat: GLenum, binary: VoidPtr, length: GLsizei)
Link copied to clipboard
abstract fun glShaderSource(shader: GLuint, count: GLsizei, string: Array<String>, length: IntArray?)
Link copied to clipboard
abstract fun glStencilFunc(func: GLenum, ref: GLint, mask: GLuint)
Link copied to clipboard
abstract fun glStencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint)
Link copied to clipboard
abstract fun glStencilMask(mask: GLuint)
Link copied to clipboard
abstract fun glStencilMaskSeparate(face: GLenum, mask: GLuint)
Link copied to clipboard
abstract fun glStencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum)
Link copied to clipboard
abstract fun glStencilOpSeparate(face: GLenum, sfail: GLenum, dpfail: GLenum, dppass: GLenum)
Link copied to clipboard
abstract fun glTexImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: VoidPtr?)
Link copied to clipboard
abstract fun glTexParameterf(target: GLenum, pname: GLenum, param: GLfloat)
Link copied to clipboard
abstract fun glTexParameterfv(target: GLenum, pname: GLenum, params: FloatPtr)
Link copied to clipboard
abstract fun glTexParameteri(target: GLenum, pname: GLenum, param: GLint)
Link copied to clipboard
abstract fun glTexParameteriv(target: GLenum, pname: GLenum, params: IntPtr)
Link copied to clipboard
abstract fun glTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: VoidPtr)
Link copied to clipboard
abstract fun glUniform1f(location: GLint, v0: GLfloat)
Link copied to clipboard
abstract fun glUniform1fv(location: GLint, count: GLsizei, value: FloatPtr)
Link copied to clipboard
abstract fun glUniform1i(location: GLint, v0: GLint)
Link copied to clipboard
abstract fun glUniform1iv(location: GLint, count: GLsizei, value: IntPtr)
Link copied to clipboard
abstract fun glUniform2f(location: GLint, v0: GLfloat, v1: GLfloat)
Link copied to clipboard
abstract fun glUniform2fv(location: GLint, count: GLsizei, value: FloatPtr)
Link copied to clipboard
abstract fun glUniform2i(location: GLint, v0: GLint, v1: GLint)
Link copied to clipboard
abstract fun glUniform2iv(location: GLint, count: GLsizei, value: IntPtr)
Link copied to clipboard
abstract fun glUniform3f(location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat)
Link copied to clipboard
abstract fun glUniform3fv(location: GLint, count: GLsizei, value: FloatPtr)
Link copied to clipboard
abstract fun glUniform3i(location: GLint, v0: GLint, v1: GLint, v2: GLint)
Link copied to clipboard
abstract fun glUniform3iv(location: GLint, count: GLsizei, value: IntPtr)
Link copied to clipboard
abstract fun glUniform4f(location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat, v3: GLfloat)
Link copied to clipboard
abstract fun glUniform4fv(location: GLint, count: GLsizei, value: FloatPtr)
Link copied to clipboard
abstract fun glUniform4i(location: GLint, v0: GLint, v1: GLint, v2: GLint, v3: GLint)
Link copied to clipboard
abstract fun glUniform4iv(location: GLint, count: GLsizei, value: IntPtr)
Link copied to clipboard
open fun glUniformBlockBinding(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint)
Link copied to clipboard
abstract fun glUniformMatrix2fv(location: GLint, count: GLsizei, transpose: GLboolean, value: FloatPtr)
Link copied to clipboard
abstract fun glUniformMatrix3fv(location: GLint, count: GLsizei, transpose: GLboolean, value: FloatPtr)
Link copied to clipboard
abstract fun glUniformMatrix4fv(location: GLint, count: GLsizei, transpose: GLboolean, value: FloatPtr)
Link copied to clipboard
abstract fun glUseProgram(program: GLuint)
Link copied to clipboard
abstract fun glValidateProgram(program: GLuint)
Link copied to clipboard
abstract fun glVertexAttrib1f(index: GLuint, x: GLfloat)
Link copied to clipboard
abstract fun glVertexAttrib1fv(index: GLuint, v: FloatPtr)
Link copied to clipboard
abstract fun glVertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat)
Link copied to clipboard
abstract fun glVertexAttrib2fv(index: GLuint, v: FloatPtr)
Link copied to clipboard
abstract fun glVertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat)
Link copied to clipboard
abstract fun glVertexAttrib3fv(index: GLuint, v: FloatPtr)
Link copied to clipboard
abstract fun glVertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat)
Link copied to clipboard
abstract fun glVertexAttrib4fv(index: GLuint, v: FloatPtr)
Link copied to clipboard
abstract fun glVertexAttribDivisor(index: GLuint, divisor: GLuint)
Link copied to clipboard
abstract fun glVertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, pointer: IntSize)
Link copied to clipboard
abstract fun glViewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei)