Package-level declarations

Types

Link copied to clipboard
class ApplicationEGLGL3(var program: Program, var configuration: Configuration) : Application
Link copied to clipboard
class ApplicationGLFWGL3(var program: Program, var configuration: Configuration) : Application
Link copied to clipboard
class ApplicationWindowGLFW(val application: ApplicationGLFWGL3, val window: Long, windowTitle: String, val windowResizable: Boolean, val windowMultisample: WindowMultisample, program: Program) : ApplicationWindow
Link copied to clipboard
class ArrayCubemapGL4(val target: Int, val texture: Int, val width: Int, val layers: Int, val format: ColorFormat, val type: ColorType, levels: Int, val session: Session?) : ArrayCubemap
Link copied to clipboard
class ArrayTextureGL3(val target: Int, val texture: Int, val storageMode: TextureStorageModeGL, val width: Int, val height: Int, val layers: Int, val format: ColorFormat, val type: ColorType, val levels: Int, val session: Session?) : ArrayTexture
Link copied to clipboard
class AtomicCounterBufferGL42(val buffer: Int, val size: Int) : AtomicCounterBuffer
Link copied to clipboard
class BufferTextureGL3(val texture: Int, val buffer: Int, val elementCount: Int, val format: ColorFormat, val type: ColorType, val session: Session?) : BufferTexture
Link copied to clipboard
Link copied to clipboard
class BufferWriterGL3(val buffer: ByteBuffer, val elementSize: Int = 1) : BufferWriter
Link copied to clipboard
class BufferWriterStd430GL3(val buffer: ByteBuffer, val elements: List<ShaderStorageElement>, val elementSize: Int = 1) : BufferWriterStd430
Link copied to clipboard
class ColorBufferGL3(val target: Int, val texture: Int, val storageMode: TextureStorageModeGL, val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType, val levels: Int, val multisample: BufferMultisample, val session: Session?) : ColorBuffer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class CubemapGL3(val texture: Int, val width: Int, val type: ColorType, val format: ColorFormat, levels: Int, val session: Session?) : Cubemap
Link copied to clipboard
class CubemapImageDataDds(width: Int, height: Int, format: ColorFormat, type: ColorType, mipmaps: Int, bdata: List<MPPBuffer>, bdata2: List<MPPBuffer>) : CubemapImageData
Link copied to clipboard
class DepthBufferGL3(val texture: Int, val buffer: Int, val target: Int, val width: Int, val height: Int, val format: DepthFormat, val multisample: BufferMultisample, val session: Session?) : DepthBuffer
Link copied to clipboard
Link copied to clipboard
class DrawThreadGL3(contextWindow: Long) : DrawThread
Link copied to clipboard
class DriverGL3(val version: DriverVersionGL) : Driver
Link copied to clipboard

DriverGL3 configuration object

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class FragmentShaderGL3(val shaderObject: Int, val name: String = "<unknown-fragment-shader>")
Link copied to clipboard
class GeometryShaderGL3(val shaderObject: Int, val name: String)
Link copied to clipboard
class GL3Exception(message: String) : Exception
Link copied to clipboard
Link copied to clipboard
class ImageDataDds(width: Int, height: Int, format: ColorFormat, type: ColorType, flipV: Boolean, data: MPPBuffer?, mipmapData: List<MPPBuffer> = emptyList()) : ImageData
Link copied to clipboard
class ImageDataStb(width: Int, height: Int, format: ColorFormat, type: ColorType, flipV: Boolean, data: MPPBuffer?, mipmapData: List<MPPBuffer> = emptyList()) : ImageData
Link copied to clipboard

Image driver based on stbi and tinyexr

Link copied to clipboard
class IndexBufferGL3(val buffer: Int, val indexCount: Int, val type: IndexType) : IndexBuffer
Link copied to clipboard
Link copied to clipboard
open class RenderTargetGL3(val framebuffer: Int, val width: Int, val height: Int, val contentScale: Double, val multisample: BufferMultisample, val session: Session?, contextID: Long = Driver.instance.contextID) : RenderTarget
Link copied to clipboard
Link copied to clipboard
class ShaderGL3(val programObject: Int, val name: String, vertexShader: VertexShaderGL3, tessellationControlShader: TessellationControlShaderGL3?, tessellationEvaluationShader: TessellationEvaluationShaderGL3?, geometryShader: GeometryShaderGL3?, fragmentShader: FragmentShaderGL3, val session: Session?) : Shader, ShaderUniformsGL3, ShaderBufferBindingsGL3, ShaderImageBindingsGL43
Link copied to clipboard
class ShaderStorageBufferGL43(val buffer: Int, val format: ShaderStorageFormat, val session: Session? = Session.active) : ShaderStorageBuffer
Link copied to clipboard
Link copied to clipboard
class TessellationControlShaderGL3(val shaderObject: Int, val name: String)
Link copied to clipboard
class TessellationEvaluationShaderGL3(val shaderObject: Int, val name: String)
Link copied to clipboard
class UniformBlockGL3(val layout: UniformBlockLayout, val blockBinding: Int, val ubo: Int, val shadowBuffer: ByteBuffer) : UniformBlock
Link copied to clipboard
class VertexBufferGL3(val buffer: Int, val vertexFormat: VertexFormat, val vertexCount: Int, val session: Session?) : VertexBuffer
Link copied to clipboard
Link copied to clipboard
class VertexShaderGL3(val shaderObject: Int, val name: String)
Link copied to clipboard
class VolumeTextureGL3(val texture: Int, val storageMode: TextureStorageModeGL, val width: Int, val height: Int, val depth: Int, val format: ColorFormat, val type: ColorType, val levels: Int, val session: Session?) : VolumeTexture

Functions

Link copied to clipboard
inline fun checkGLErrors(crossinline errorFunction: (Int) -> String? = { null })
Link copied to clipboard
fun checkProgramInfoLog(object: Int, sourceFile: String)
Link copied to clipboard
inline fun debugGLErrors(crossinline errorFunction: (Int) -> String? = { null })
Link copied to clipboard
Link copied to clipboard
inline fun glActiveTexture(texture: Int)
Link copied to clipboard
fun glAttachShader(program: Int, shader: Int)
Link copied to clipboard
inline fun glBindBuffer(target: Int, buffer: Int)
Link copied to clipboard
fun glBindBufferBase(target: Int, index: Int, buffer: Int)
Link copied to clipboard
inline fun glBindFramebuffer(target: Int, framebuffer: Int)
Link copied to clipboard
fun glBindRenderbuffer(target: Int, renderbuffer: Int)
Link copied to clipboard
fun glBindTexture(target: Int, texture: Int)
Link copied to clipboard
inline fun glBindVertexArray(array: Int)
Link copied to clipboard
inline fun glBlendEquation(mode: Int)
Link copied to clipboard
inline fun glBlendEquationi(buf: Int, mode: Int)
Link copied to clipboard
inline fun glBlendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Link copied to clipboard
inline fun glBlendFunc(sfactor: Int, dfactor: Int)
Link copied to clipboard
inline fun glBlendFunci(buf: Int, sfactor: Int, dfactor: Int)
Link copied to clipboard
inline fun glBlendFuncSeparate(sfactorRGB: Int, dfactorRGB: Int, sfactorAlpha: Int, dfactorAlpha: Int)
Link copied to clipboard
fun glBlitFramebuffer(srcX0: Int, srcY0: Int, srcX1: Int, srcY1: Int, dstX0: Int, dstY0: Int, dstX1: Int, dstY1: Int, mask: Int, filter: Int)
Link copied to clipboard
inline fun glBufferData(target: Int, size: Long, usage: Int)
Link copied to clipboard
inline fun glBufferSubData(target: Int, offset: Long, data: ByteBuffer)
Link copied to clipboard
Link copied to clipboard
inline fun glClear(mask: Int)
Link copied to clipboard
fun glClearBufferfi(buffer: Int, drawbuffer: Int, depth: Float, stencil: Int)
Link copied to clipboard
fun glClearBufferfv(buffer: Int, drawbuffer: Int, value: FloatBuffer)
fun glClearBufferfv(buffer: Int, drawbuffer: Int, value: FloatArray)
Link copied to clipboard
fun glClearBufferiv(buffer: Int, drawbuffer: Int, value: IntBuffer)
Link copied to clipboard
inline fun glClearColor(red: Float, green: Float, blue: Float, alpha: Float)
Link copied to clipboard
inline fun glClearDepth(depth: Double)
Link copied to clipboard
inline fun glColorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Link copied to clipboard
inline fun glCompileShader(shader: Int)
Link copied to clipboard
fun glCompressedTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, data: ByteBuffer)
Link copied to clipboard
fun glCompressedTexSubImage3D(target: Int, level: Int, xoffset: Int, yoffset: Int, zoffset: Int, width: Int, height: Int, depth: Int, format: Int, data: ByteBuffer)
Link copied to clipboard
fun glCopyImageSubData(srcName: Int, srcTarget: Int, srcLevel: Int, srcX: Int, srcY: Int, srcZ: Int, dstName: Int, dstTarget: Int, dstLevel: Int, dstX: Int, dstY: Int, dstZ: Int, srcWidth: Int, srcHeight: Int, srcDepth: Int)
Link copied to clipboard
fun glCopyTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
fun glCopyTexSubImage3D(target: Int, level: Int, xoffset: Int, yoffset: Int, zoffset: Int, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
Link copied to clipboard
inline fun glCreateShader(type: Int): Int
Link copied to clipboard
inline fun glCullFace(mode: Int)
Link copied to clipboard
fun glDeleteBuffers(buffer: Int)
Link copied to clipboard
fun glDeleteFramebuffers(framebuffer: Int)
Link copied to clipboard
inline fun glDeleteProgram(program: Int)
Link copied to clipboard
fun glDeleteTextures(texture: Int)
Link copied to clipboard
Link copied to clipboard
inline fun glDepthFunc(func: Int)
Link copied to clipboard
inline fun glDepthMask(flag: Boolean)
Link copied to clipboard
inline fun glDisable(target: Int)
Link copied to clipboard
fun glDrawArrays(mode: Int, first: Int, count: Int)
Link copied to clipboard
inline fun glDrawArraysInstanced(mode: Int, first: Int, count: Int, primcount: Int)
Link copied to clipboard
inline fun glDrawBuffers(bufs: IntArray)
Link copied to clipboard
fun glDrawElements(mode: Int, count: Int, type: Int, indices: Long)
Link copied to clipboard
fun glDrawElementsInstanced(mode: Int, count: Int, type: Int, indices: Long, primcount: Int)
Link copied to clipboard
inline fun glEnable(target: Int)
Link copied to clipboard
inline fun glEnableVertexAttribArray(index: Int)
Link copied to clipboard
fun glEnumName(enum: Int): String
Link copied to clipboard
inline fun glFinish()
Link copied to clipboard
fun glFlush()
Link copied to clipboard
fun glFramebufferRenderbuffer(target: Int, attachment: Int, renderbuffertarget: Int, renderbuffer: Int)
Link copied to clipboard
inline fun glFramebufferTexture(target: Int, attachment: Int, texture: Int, level: Int)
Link copied to clipboard
fun glFramebufferTexture2D(target: Int, attachment: Int, textarget: Int, texture: Int, level: Int)
Link copied to clipboard
fun glFramebufferTextureLayer(target: Int, attachment: Int, texture: Int, level: Int, layer: Int)
Link copied to clipboard
inline fun glGenBuffers(): Int
Link copied to clipboard
fun glGenerateMipmap(target: Int)
Link copied to clipboard
inline fun glGenFramebuffers(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun glGenVertexArrays(arrays: IntArray)
Link copied to clipboard
fun glGetActiveUniform(program: Int, index: Int, length: IntBuffer, size: IntBuffer, type: IntBuffer, name: ByteBuffer)
Link copied to clipboard
fun glGetActiveUniformBlockiv(program: Int, uniformBlockIndex: Int, pname: Int, params: IntBuffer)
Link copied to clipboard
fun glGetActiveUniformName(program: Int, uniformIndex: Int, bufSize: Int): String
Link copied to clipboard
fun glGetActiveUniformsiv(program: Int, uniformIndices: IntBuffer, pname: Int, params: IntBuffer)
Link copied to clipboard
inline fun glGetAttribLocation(program: Int, name: CharSequence): Int
Link copied to clipboard
fun glGetBoolean(pname: Int): Boolean
Link copied to clipboard
Link copied to clipboard
inline fun glGetInteger(pname: Int): Int
Link copied to clipboard
inline fun glGetIntegerv(pname: Int, params: IntArray)
Link copied to clipboard
fun glGetProgramiv(program: Int, pname: Int, params: IntArray)
Link copied to clipboard
fun glGetShaderInfoLog(shader: Int, length: IntArray?, infoLog: ByteBuffer)
Link copied to clipboard
fun glGetShaderiv(shader: Int, pname: Int, params: IntArray)
Link copied to clipboard
inline fun glGetString(pname: Int): String?
Link copied to clipboard
fun glGetTexLevelParameteri(target: Int, level: Int, pname: Int): Int
Link copied to clipboard
fun glGetTexParameteri(target: Int, pname: Int): Int
Link copied to clipboard
inline fun glGetUniformBlockIndex(program: Int, uniformBlockName: CharSequence): Int
Link copied to clipboard
Link copied to clipboard
fun glLinkProgram(program: Int)
Link copied to clipboard
fun glPixelStorei(pname: Int, param: Int)
Link copied to clipboard
inline fun glProgramUniform1f(program: Int, location: Int, x: Float)
Link copied to clipboard
fun glProgramUniform1fv(program: Int, location: Int, value: FloatArray)
Link copied to clipboard
inline fun glProgramUniform1i(program: Int, location: Int, x: Int)
Link copied to clipboard
fun glProgramUniform1iv(program: Int, location: Int, value: IntArray)
Link copied to clipboard
inline fun glProgramUniform2f(program: Int, location: Int, x: Float, y: Float)
Link copied to clipboard
fun glProgramUniform2fv(program: Int, location: Int, value: FloatArray)
Link copied to clipboard
fun glProgramUniform2iv(program: Int, location: Int, value: IntArray)
Link copied to clipboard
inline fun glProgramUniform3f(program: Int, location: Int, x: Float, y: Float, z: Float)
Link copied to clipboard
fun glProgramUniform3fv(program: Int, location: Int, value: FloatArray)
Link copied to clipboard
inline fun glProgramUniform3iv(program: Int, location: Int, value: IntArray)
Link copied to clipboard
inline fun glProgramUniform4f(program: Int, location: Int, x: Float, y: Float, z: Float, w: Float)
Link copied to clipboard
fun glProgramUniform4fv(program: Int, location: Int, value: FloatArray)
Link copied to clipboard
fun glProgramUniform4iv(program: Int, location: Int, value: IntArray)
Link copied to clipboard
fun glProgramUniformMatrix3fv(program: Int, location: Int, transpose: Boolean, value: FloatArray)
Link copied to clipboard
fun glProgramUniformMatrix4fv(program: Int, location: Int, transpose: Boolean, value: FloatBuffer)
inline fun glProgramUniformMatrix4fv(program: Int, location: Int, transpose: Boolean, value: FloatArray)
Link copied to clipboard
inline fun glReadBuffer(src: Int)
Link copied to clipboard
fun glRenderbufferStorage(target: Int, internalformat: Int, width: Int, height: Int)
Link copied to clipboard
fun glRenderbufferStorageMultisample(target: Int, samples: Int, internalformat: Int, width: Int, height: Int)
Link copied to clipboard
fun glScissor(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
inline fun glShaderSource(shader: Int, string: CharSequence)
Link copied to clipboard
fun glStencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Link copied to clipboard
fun glStencilMaskSeparate(face: Int, mask: Int)
Link copied to clipboard
fun glStencilOpSeparate(face: Int, sfail: Int, dpfail: Int, dppass: Int)
Link copied to clipboard
fun glTexImage2D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, border: Int, format: Int, type: Int, pixels: ByteBuffer?)
Link copied to clipboard
fun glTexImage2DMultisample(target: Int, samples: Int, internalformat: Int, width: Int, height: Int, fixedsamplelocations: Boolean)
Link copied to clipboard
fun glTexImage3D(target: Int, level: Int, internalformat: Int, width: Int, height: Int, depth: Int, border: Int, format: Int, type: Int, pixels: ByteBuffer?)
Link copied to clipboard
inline fun glTexParameterf(target: Int, pname: Int, param: Float)
Link copied to clipboard
fun glTexParameteri(target: Int, pname: Int, param: Int)
Link copied to clipboard
fun glTexSubImage2D(target: Int, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, format: Int, type: Int, pixels: ByteBuffer)
Link copied to clipboard
fun glTexSubImage3D(target: Int, level: Int, xoffset: Int, yoffset: Int, zoffset: Int, width: Int, height: Int, depth: Int, format: Int, type: Int, pixels: ByteBuffer)
Link copied to clipboard
inline fun glUniform1f(location: Int, v0: Float)
Link copied to clipboard
fun glUniform1fv(location: Int, value: FloatArray)
Link copied to clipboard
inline fun glUniform1i(location: Int, v0: Int)
Link copied to clipboard
fun glUniform1iv(location: Int, value: IntArray)
Link copied to clipboard
inline fun glUniform2f(location: Int, v0: Float, v1: Float)
Link copied to clipboard
fun glUniform2fv(location: Int, value: FloatArray)
Link copied to clipboard
fun glUniform2iv(location: Int, value: IntArray)
Link copied to clipboard
inline fun glUniform3f(location: Int, v0: Float, v1: Float, v2: Float)
Link copied to clipboard
fun glUniform3fv(location: Int, value: FloatArray)
Link copied to clipboard
inline fun glUniform3iv(location: Int, value: IntArray)
Link copied to clipboard
inline fun glUniform4f(location: Int, v0: Float, v1: Float, v2: Float, v3: Float)
Link copied to clipboard
fun glUniform4fv(location: Int, value: FloatArray)
Link copied to clipboard
fun glUniform4iv(location: Int, value: IntArray)
Link copied to clipboard
inline fun glUniformBlockBinding(program: Int, uniformBlockIndex: Int, uniformBlockBinding: Int)
Link copied to clipboard
fun glUniformMatrix3fv(location: Int, transpose: Boolean, value: FloatArray)
Link copied to clipboard
fun glUniformMatrix4fv(location: Int, transpose: Boolean, value: FloatBuffer)
inline fun glUniformMatrix4fv(location: Int, transpose: Boolean, value: FloatArray)
Link copied to clipboard
inline fun glUseProgram(program: Int)
Link copied to clipboard
fun glVertexAttribDivisor(index: Int, divisor: Int)
Link copied to clipboard
fun glVertexAttribIPointer(index: Int, size: Int, type: Int, stride: Int, pointer: Long)
Link copied to clipboard
fun glVertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, pointer: Long)
Link copied to clipboard
inline fun glViewport(x: Int, y: Int, w: Int, h: Int)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard