Package org.khronos.webgl
Kotlin JavaScript wrappers for the WebGL API.
Types
ArrayBuffer
Exposes the JavaScript ArrayBuffer to Kotlin
open class ArrayBuffer : BufferDataSourceArrayBufferView
Exposes the JavaScript ArrayBufferView to Kotlin
interface ArrayBufferView : BufferDataSourceBufferDataSource
interface BufferDataSourceDataView
Exposes the JavaScript DataView to Kotlin
open class DataView : ArrayBufferViewFloat32Array
Exposes the JavaScript Float32Array to Kotlin
open class Float32Array : ArrayBufferViewFloat64Array
Exposes the JavaScript Float64Array to Kotlin
open class Float64Array : ArrayBufferViewInt16Array
Exposes the JavaScript Int16Array to Kotlin
open class Int16Array : ArrayBufferViewInt32Array
Exposes the JavaScript Int32Array to Kotlin
open class Int32Array : ArrayBufferViewInt8Array
Exposes the JavaScript Int8Array to Kotlin
open class Int8Array : ArrayBufferViewTexImageSource
interface TexImageSourceUint16Array
Exposes the JavaScript Uint16Array to Kotlin
open class Uint16Array : ArrayBufferViewUint32Array
Exposes the JavaScript Uint32Array to Kotlin
open class Uint32Array : ArrayBufferViewUint8Array
Exposes the JavaScript Uint8Array to Kotlin
open class Uint8Array : ArrayBufferViewUint8ClampedArray
Exposes the JavaScript Uint8ClampedArray to Kotlin
open class Uint8ClampedArray : ArrayBufferViewWebGLActiveInfo
Exposes the JavaScript WebGLActiveInfo to Kotlin
abstract class WebGLActiveInfoWebGLBuffer
Exposes the JavaScript WebGLBuffer to Kotlin
abstract class WebGLBuffer : WebGLObjectWebGLContextAttributes
interface WebGLContextAttributesWebGLContextEvent
Exposes the JavaScript WebGLContextEvent to Kotlin
open class WebGLContextEvent : EventWebGLContextEventInit
interface WebGLContextEventInit : EventInitWebGLFramebuffer
Exposes the JavaScript WebGLFramebuffer to Kotlin
abstract class WebGLFramebuffer : WebGLObjectWebGLObject
abstract class WebGLObjectWebGLProgram
Exposes the JavaScript WebGLProgram to Kotlin
abstract class WebGLProgram : WebGLObjectWebGLRenderbuffer
Exposes the JavaScript WebGLRenderbuffer to Kotlin
abstract class WebGLRenderbuffer : WebGLObjectWebGLRenderingContext
Exposes the JavaScript WebGLRenderingContext to Kotlin
abstract class WebGLRenderingContext :
WebGLRenderingContextBase,
RenderingContextWebGLRenderingContextBase
interface WebGLRenderingContextBaseWebGLShader
Exposes the JavaScript WebGLShader to Kotlin
abstract class WebGLShader : WebGLObjectWebGLShaderPrecisionFormat
Exposes the JavaScript WebGLShaderPrecisionFormat to Kotlin
abstract class WebGLShaderPrecisionFormatWebGLTexture
Exposes the JavaScript WebGLTexture to Kotlin
abstract class WebGLTexture : WebGLObjectWebGLUniformLocation
Exposes the JavaScript WebGLUniformLocation to Kotlin
abstract class WebGLUniformLocationFunctions
get
operator fun Int8Array.get(index: Int): Byteoperator fun Uint8Array.get(index: Int): Byteoperator fun Uint8ClampedArray.get(index: Int): Byteoperator fun Int16Array.get(index: Int): Shortoperator fun Uint16Array.get(index: Int): Shortoperator fun Int32Array.get(index: Int): Intoperator fun Uint32Array.get(index: Int): Intoperator fun Float32Array.get(index: Int): Floatoperator fun Float64Array.get(index: Int): Doubleset
operator fun Int8Array.set(index: Int, value: Byte)operator fun Uint8Array.set(index: Int, value: Byte)operator fun Uint8ClampedArray.set(index: Int, value: Byte)operator fun Int16Array.set(index: Int, value: Short)operator fun Uint16Array.set(index: Int, value: Short)operator fun Int32Array.set(index: Int, value: Int)operator fun Uint32Array.set(index: Int, value: Int)operator fun Float32Array.set(index: Int, value: Float)operator fun Float64Array.set(index: Int, value: Double)WebGLContextAttributes
fun WebGLContextAttributes(
alpha: Boolean? = true,
depth: Boolean? = true,
stencil: Boolean? = false,
antialias: Boolean? = true,
premultipliedAlpha: Boolean? = true,
preserveDrawingBuffer: Boolean? = false,
preferLowPowerToHighPerformance: Boolean? = false,
failIfMajorPerformanceCaveat: Boolean? = false
): WebGLContextAttributesWebGLContextEventInit
fun WebGLContextEventInit(
statusMessage: String? = "",
bubbles: Boolean? = false,
cancelable: Boolean? = false,
composed: Boolean? = false
): WebGLContextEventInit