Package-level declarations

Types

Link copied to clipboard
data class ActiveUniform(val name: String, val size: Int, val type: GLenum)
Link copied to clipboard
Link copied to clipboard
class ApplicationWebGL(var program: Program, var configuration: Configuration) : Application
Link copied to clipboard
Link copied to clipboard
class BufferWriterWebGL(val buffer: Float32Array<ArrayBuffer>, val elementSize: Int) : BufferWriter
Link copied to clipboard
class ColorBufferWebGL(val context: WebGL2RenderingContext, val target: GLenum, val texture: WebGLTexture, 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
class CubemapWebGL(val context: WebGL2RenderingContext, val target: GLenum, val texture: WebGLTexture, val width: Int, val format: ColorFormat, val type: ColorType, val levels: Int, val session: Session?) : Cubemap
Link copied to clipboard
class DepthBufferWebGL(val context: WebGL2RenderingContext, val buffer: WebGLRenderbuffer, val width: Int, val height: Int, val format: DepthFormat, val multisample: BufferMultisample, val session: Session?) : DepthBuffer
Link copied to clipboard
class DriverWebGL(val context: WebGL2RenderingContext) : Driver
Link copied to clipboard
class FragmentShaderWebGL(val shaderObject: WebGLShader, val name: String)
Link copied to clipboard
class IndexBufferWebGL(val context: WebGL2RenderingContext, val buffer: WebGLBuffer, val type: IndexType, val indexCount: Int, val session: Session?) : IndexBuffer
Link copied to clipboard
object JsObject
Link copied to clipboard
class ProgramRenderTargetWebGL(context: WebGL2RenderingContext, val program: Program) : ProgramRenderTarget, RenderTargetWebGL
Link copied to clipboard
open class RenderTargetWebGL(val context: WebGL2RenderingContext, val framebuffer: WebGLFramebuffer?, val width: Int, val height: Int, val contentScale: Double, val multisample: BufferMultisample, val session: Session?) : RenderTarget
Link copied to clipboard
class ShaderWebGL(val context: WebGL2RenderingContext, val program: WebGLProgram, val activeUniforms: Map<String, ActiveUniform>, val session: Session?) : Shader
Link copied to clipboard
Link copied to clipboard
class VertexBufferWebGL(val context: WebGL2RenderingContext, val buffer: WebGLBuffer, val vertexFormat: VertexFormat, val vertexCount: Int, val session: Session?) : VertexBuffer
Link copied to clipboard
class VertexShaderWebGL(val shaderObject: WebGLShader, val name: String)

Properties

Functions

Link copied to clipboard
inline fun WebGL2RenderingContext.checkErrors(msg: String = "")
Link copied to clipboard
fun DrawPrimitive.glType(): GLenum