Companion

object Companion : MacGL

Functions

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