LwjglGL

class LwjglGL(engineStats: EngineStats, graphics: Graphics) : GL

Author

Colton Daily

Constructors

Link copied to clipboard
fun LwjglGL(engineStats: EngineStats, graphics: Graphics)

Functions

Link copied to clipboard
open override fun activeTexture(texture: Int)
Link copied to clipboard
open override fun attachShader(glShaderProgram: GlShaderProgram, glShader: GlShader)
Link copied to clipboard
open fun bindBuffer(target: BufferTarget, glBuffer: GlBuffer)
open override fun bindBuffer(target: Int, glBuffer: GlBuffer)
Link copied to clipboard
open override fun bindDefaultBuffer(target: Int)
Link copied to clipboard
open override fun bindDefaultFrameBuffer()
Link copied to clipboard
open override fun bindDefaultRenderBuffer()
Link copied to clipboard
open override fun bindDefaultTexture(target: TextureTarget)
Link copied to clipboard
open override fun bindDefaultVertexArray()
Link copied to clipboard
open override fun bindFrameBuffer(glFrameBuffer: GlFrameBuffer)
Link copied to clipboard
open override fun bindRenderBuffer(glRenderBuffer: GlRenderBuffer)
Link copied to clipboard
open fun bindTexture(target: TextureTarget, glTexture: GlTexture)
open override fun bindTexture(target: Int, glTexture: GlTexture)
Link copied to clipboard
open override fun bindVertexArray(glVertexArray: GlVertexArray)
Link copied to clipboard
open fun blendColor(color: Color)
open override fun blendColor(red: Float, green: Float, blue: Float, alpha: Float)
Link copied to clipboard
open override fun blendEquation(mode: Int)
Link copied to clipboard
open override fun blendEquationSeparate(modeRGB: Int, modeAlpha: Int)
Link copied to clipboard
open fun blendFunc(sfactor: BlendFactor, dfactor: BlendFactor)
open override fun blendFunc(sfactor: Int, dfactor: Int)
Link copied to clipboard
open fun blendFuncSeparate(srcRGB: BlendFactor, dstRGB: BlendFactor, srcAlpha: BlendFactor, dstAlpha: BlendFactor)
open override fun blendFuncSeparate(srcRGB: Int, dstRGB: Int, srcAlpha: Int, dstAlpha: Int)
Link copied to clipboard
open fun bufferData(target: BufferTarget, data: Buffer, usage: Usage)
open override fun bufferData(target: Int, data: Buffer, usage: Int)
Link copied to clipboard
open fun bufferSubData(target: BufferTarget, offset: Int, data: Buffer)
open override fun bufferSubData(target: Int, offset: Int, data: Buffer)
Link copied to clipboard
Link copied to clipboard
open fun clear(mask: ClearBufferMask)
open override fun clear(mask: Int)
Link copied to clipboard
open fun clearColor(color: Color)
open override fun clearColor(r: Float, g: Float, b: Float, a: Float)
Link copied to clipboard
open override fun clearDepth(depth: Float)
Link copied to clipboard
open override fun clearStencil(stencil: Int)
Link copied to clipboard
open override fun colorMask(red: Boolean, green: Boolean, blue: Boolean, alpha: Boolean)
Link copied to clipboard
open override fun compileShader(glShader: GlShader)
Link copied to clipboard
open fun compressedTexImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, width: Int, height: Int, source: ByteBuffer?)
open override fun compressedTexImage2D(target: Int, level: Int, internalFormat: Int, width: Int, height: Int, source: ByteBuffer?)
Link copied to clipboard
open fun compressedTexImage3D(target: TextureTarget, level: Int, internalFormat: TextureFormat, width: Int, height: Int, depth: Int, source: ByteBuffer?)
open override fun compressedTexImage3D(target: Int, level: Int, internalFormat: Int, width: Int, height: Int, depth: Int, source: ByteBuffer?)
Link copied to clipboard
open fun compressedTexSubImage2D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, width: Int, height: Int, format: TextureFormat, source: ByteBuffer)
open override fun compressedTexSubImage2D(target: Int, level: Int, xOffset: Int, yOffset: Int, width: Int, height: Int, format: Int, source: ByteBuffer)
Link copied to clipboard
open fun compressedTexSubImage3D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, width: Int, height: Int, depth: Int, format: TextureFormat, source: ByteBuffer)
open override fun compressedTexSubImage3D(target: Int, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, width: Int, height: Int, depth: Int, format: Int, source: ByteBuffer)
Link copied to clipboard
open fun copyTexImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, x: Int, y: Int, width: Int, height: Int, border: Int)
open override fun copyTexImage2D(target: Int, level: Int, internalFormat: Int, x: Int, y: Int, width: Int, height: Int, border: Int)
Link copied to clipboard
open fun copyTexSubImage2D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, x: Int, y: Int, width: Int, height: Int)
open override fun copyTexSubImage2D(target: Int, level: Int, xOffset: Int, yOffset: Int, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open fun copyTexSubImage3D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, x: Int, y: Int, width: Int, height: Int)
open override fun copyTexSubImage3D(target: Int, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open override fun createBuffer(): GlBuffer
Link copied to clipboard
open override fun createFrameBuffer(): GlFrameBuffer
Link copied to clipboard
open override fun createProgram(): GlShaderProgram
Link copied to clipboard
open override fun createRenderBuffer(): GlRenderBuffer
Link copied to clipboard
open override fun createShader(type: Int): GlShader
Link copied to clipboard
open override fun createTexture(): GlTexture
Link copied to clipboard
open override fun createVertexArray(): GlVertexArray
Link copied to clipboard
open fun cullFace(mode: CullFaceMode)
open override fun cullFace(mode: Int)
Link copied to clipboard
open override fun deleteBuffer(glBuffer: GlBuffer)
Link copied to clipboard
open override fun deleteFrameBuffer(glFrameBuffer: GlFrameBuffer)
Link copied to clipboard
open override fun deleteProgram(glShaderProgram: GlShaderProgram)
Link copied to clipboard
open override fun deleteRenderBuffer(glRenderBuffer: GlRenderBuffer)
Link copied to clipboard
open override fun deleteShader(glShader: GlShader)
Link copied to clipboard
open override fun deleteTexture(glTexture: GlTexture)
Link copied to clipboard
open fun depthFunc(func: CompareFunction)
open override fun depthFunc(func: Int)
Link copied to clipboard
open override fun depthMask(flag: Boolean)
Link copied to clipboard
open override fun depthRangef(zNear: Float, zFar: Float)
Link copied to clipboard
open override fun detachShader(glShaderProgram: GlShaderProgram, glShader: GlShader)
Link copied to clipboard
open fun disable(cap: State)
open override fun disable(cap: Int)
Link copied to clipboard
open override fun disableVertexAttribArray(index: Int)
Link copied to clipboard
open fun drawArrays(mode: DrawMode, offset: Int, count: Int)
open override fun drawArrays(mode: Int, offset: Int, count: Int)
Link copied to clipboard
open fun drawElements(mode: DrawMode, count: Int, type: IndexType, offset: Int)
open override fun drawElements(mode: Int, count: Int, type: Int, offset: Int)
Link copied to clipboard
open fun enable(cap: State)
open override fun enable(cap: Int)
Link copied to clipboard
open override fun enableVertexAttribArray(index: Int)
Link copied to clipboard
open override fun finish()
Link copied to clipboard
open override fun flush()
Link copied to clipboard
open override fun frameBufferRenderBuffer(attachementType: FrameBufferRenderBufferAttachment, glRenderBuffer: GlRenderBuffer)
Link copied to clipboard
open override fun frameBufferTexture2D(attachementType: FrameBufferRenderBufferAttachment, glTexture: GlTexture, level: Int)
open override fun frameBufferTexture2D(target: Int, attachementType: FrameBufferRenderBufferAttachment, glTexture: GlTexture, level: Int)
Link copied to clipboard
open fun frontFace(mode: FrontFaceMode)
open override fun frontFace(mode: Int)
Link copied to clipboard
open fun generateMipmap(target: TextureTarget)
open override fun generateMipmap(target: Int)
Link copied to clipboard
open override fun getAttribLocation(glShaderProgram: GlShaderProgram, name: String): Int
Link copied to clipboard
open override fun getBoundFrameBuffer(data: IntBuffer): GlFrameBuffer
Link copied to clipboard
open override fun getError(): Int
Link copied to clipboard
open override fun getIntegerv(pname: Int, data: IntBuffer)
Link copied to clipboard
open override fun getProgramInfoLog(glShader: GlShaderProgram): String
Link copied to clipboard
open fun getProgramParameter(glShaderProgram: GlShaderProgram, pname: GetProgram): Any
open override fun getProgramParameter(glShaderProgram: GlShaderProgram, pname: Int): Any
Link copied to clipboard
open fun getProgramParameterB(glShaderProgram: GlShaderProgram, pname: GetProgram): Boolean
open override fun getProgramParameterB(glShaderProgram: GlShaderProgram, pname: Int): Boolean
Link copied to clipboard
open override fun getShaderInfoLog(glShader: GlShader): String
Link copied to clipboard
open fun getShaderParameter(glShader: GlShader, pname: GetShader): Any
open override fun getShaderParameter(glShader: GlShader, pname: Int): Any
Link copied to clipboard
open fun getShaderParameterB(glShader: GlShader, pname: GetShader): Boolean
open override fun getShaderParameterB(glShader: GlShader, pname: Int): Boolean
Link copied to clipboard
open override fun getString(pname: Int): String?
Link copied to clipboard
open override fun getUniformLocation(glShaderProgram: GlShaderProgram, name: String): UniformLocation
Link copied to clipboard
open fun hint(target: HintTarget, mode: HintMode)
open override fun hint(target: Int, mode: Int)
Link copied to clipboard
open override fun lineWidth(width: Float)
Link copied to clipboard
open override fun linkProgram(glShaderProgram: GlShaderProgram)
Link copied to clipboard
open fun pixelStorei(pname: PixelStoreParameter, param: Int)
open override fun pixelStorei(pname: Int, param: Int)
Link copied to clipboard
open override fun polygonOffset(factor: Float, units: Float)
Link copied to clipboard
open override fun readBuffer(mode: Int)
Link copied to clipboard
open override fun renderBufferStorage(internalFormat: RenderBufferInternalFormat, width: Int, height: Int)
Link copied to clipboard
open override fun scissor(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open override fun shaderSource(glShader: GlShader, source: String)
Link copied to clipboard
open fun stencilFunc(func: CompareFunction, ref: Int, mask: Int)
open override fun stencilFunc(func: Int, ref: Int, mask: Int)
Link copied to clipboard
open fun stencilFuncSeparate(face: FaceMode, func: CompareFunction, ref: Int, mask: Int)
open override fun stencilFuncSeparate(face: Int, func: Int, ref: Int, mask: Int)
Link copied to clipboard
open override fun stencilMask(mask: Int)
Link copied to clipboard
open fun stencilMaskSeparate(face: FaceMode, mask: Int)
open override fun stencilMaskSeparate(face: Int, mask: Int)
Link copied to clipboard
open fun stencilOp(fail: StencilAction, zfail: StencilAction, zpass: StencilAction)
open override fun stencilOp(fail: Int, zfail: Int, zpass: Int)
Link copied to clipboard
open fun stencilOpSeparate(face: FaceMode, fail: StencilAction, zfail: StencilAction, zpass: StencilAction)
open override fun stencilOpSeparate(face: Int, fail: Int, zfail: Int, zpass: Int)
Link copied to clipboard
open fun texImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, type: DataType)
open override fun texImage2D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, type: Int)
open fun texImage2D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, type: DataType, source: ByteBuffer)
open override fun texImage2D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, type: Int, source: ByteBuffer)
Link copied to clipboard
open fun texImage3D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, depth: Int, type: DataType)
open override fun texImage3D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, depth: Int, type: Int)
open fun texImage3D(target: TextureTarget, level: Int, internalFormat: TextureFormat, format: TextureFormat, width: Int, height: Int, depth: Int, type: DataType, source: ByteBuffer)
open override fun texImage3D(target: Int, level: Int, internalFormat: Int, format: Int, width: Int, height: Int, depth: Int, type: Int, source: ByteBuffer)
Link copied to clipboard
open fun texParameterf(target: TextureTarget, paramName: TexParameter, paramValue: Float)
open override fun texParameterf(target: Int, pname: Int, param: Float)
Link copied to clipboard
open fun texParameteri(target: TextureTarget, paramName: TexParameter, paramValue: Int)
open override fun texParameteri(target: Int, pname: Int, param: Int)
Link copied to clipboard
open fun texSubImage2D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, width: Int, height: Int, format: TextureFormat, type: DataType, source: ByteBuffer)
open override fun texSubImage2D(target: Int, level: Int, xOffset: Int, yOffset: Int, width: Int, height: Int, format: Int, type: Int, source: ByteBuffer)
Link copied to clipboard
open fun texSubImage3D(target: TextureTarget, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, width: Int, height: Int, depth: Int, format: TextureFormat, type: DataType, source: ByteBuffer)
open override fun texSubImage3D(target: Int, level: Int, xOffset: Int, yOffset: Int, zOffset: Int, width: Int, height: Int, depth: Int, format: Int, type: Int, source: ByteBuffer)
Link copied to clipboard
open override fun uniform1f(uniformLocation: UniformLocation, x: Float)
Link copied to clipboard
open fun uniform1fv(uniformLocation: UniformLocation, floats: FloatArray)
open override fun uniform1fv(uniformLocation: UniformLocation, floats: FloatArray)
Link copied to clipboard
open override fun uniform1i(uniformLocation: UniformLocation, data: Int)
Link copied to clipboard
open override fun uniform2f(uniformLocation: UniformLocation, x: Float, y: Float)
Link copied to clipboard
open fun uniform2fv(uniformLocation: UniformLocation, floats: FloatArray)
open override fun uniform2fv(uniformLocation: UniformLocation, floats: FloatArray)
Link copied to clipboard
open override fun uniform2i(uniformLocation: UniformLocation, x: Int, y: Int)
Link copied to clipboard
open override fun uniform3f(uniformLocation: UniformLocation, x: Float, y: Float, z: Float)
Link copied to clipboard
open fun uniform3fv(uniformLocation: UniformLocation, floats: FloatArray)
open override fun uniform3fv(uniformLocation: UniformLocation, floats: FloatArray)
Link copied to clipboard
open override fun uniform3i(uniformLocation: UniformLocation, x: Int, y: Int, z: Int)
Link copied to clipboard
open override fun uniform4f(uniformLocation: UniformLocation, x: Float, y: Float, z: Float, w: Float)
Link copied to clipboard
open fun uniform4fv(uniformLocation: UniformLocation, floats: FloatArray)
open override fun uniform4fv(uniformLocation: UniformLocation, floats: FloatArray)
Link copied to clipboard
open override fun uniformMatrix3fv(uniformLocation: UniformLocation, transpose: Boolean, data: FloatBuffer)
open override fun uniformMatrix3fv(uniformLocation: UniformLocation, transpose: Boolean, data: Mat3)
open override fun uniformMatrix3fv(uniformLocation: UniformLocation, transpose: Boolean, data: FloatArray)
Link copied to clipboard
open override fun uniformMatrix4fv(uniformLocation: UniformLocation, transpose: Boolean, data: FloatBuffer)
open override fun uniformMatrix4fv(uniformLocation: UniformLocation, transpose: Boolean, data: Mat4)
open override fun uniformMatrix4fv(uniformLocation: UniformLocation, transpose: Boolean, data: FloatArray)
Link copied to clipboard
open override fun useDefaultProgram()
Link copied to clipboard
open override fun useProgram(glShaderProgram: GlShaderProgram)
Link copied to clipboard
open override fun validateProgram(glShaderProgram: GlShaderProgram)
Link copied to clipboard
open fun vertexAttribPointer(index: Int, size: Int, type: VertexAttrType, normalized: Boolean, stride: Int, offset: Int)
open override fun vertexAttribPointer(index: Int, size: Int, type: Int, normalized: Boolean, stride: Int, offset: Int)
Link copied to clipboard
open override fun viewport(x: Int, y: Int, width: Int, height: Int)

Properties

Link copied to clipboard
open val isG30: Boolean
Link copied to clipboard
open override val version: GLVersion