Package-level declarations

Types

Link copied to clipboard

The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.

Link copied to clipboard

The EXT_blend_minmax extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.

Link copied to clipboard

The EXT_color_buffer_float extension is part of WebGL and adds the ability to render a variety of floating point formats.

Link copied to clipboard

The EXT_color_buffer_half_float extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.

Link copied to clipboard
interface EXT_float_blend

The WebGL API's EXT_float_blend extension allows blending and draw buffers with 32-bit floating-point components.

Link copied to clipboard
interface EXT_frag_depth

The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.

Link copied to clipboard

The EXT_shader_texture_lod extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).

Link copied to clipboard
interface EXT_sRGB

The EXT_sRGB extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.

Link copied to clipboard

The EXT_texture_compression_bptc extension is part of the WebGL API and exposes 4 BPTC compressed texture formats. These compression formats are called BC7 and BC6H in Microsoft's DirectX API.

Link copied to clipboard

The EXT_texture_compression_rgtc extension is part of the WebGL API and exposes 4 RGTC compressed texture formats. RGTC is a block-based texture compression format suited for unsigned and signed red and red-green textures (Red-Green Texture Compression).

Link copied to clipboard

The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).

Link copied to clipboard

The EXT_texture_norm16 extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).

Link copied to clipboard
Link copied to clipboard
sealed interface GLbitfield : Bitmask<GLbitfield>
Link copied to clipboard
typealias GLboolean = Boolean
Link copied to clipboard
typealias GLclampf = Float
Link copied to clipboard
sealed interface GLenum
Link copied to clipboard
typealias GLfloat = Float
Link copied to clipboard
typealias GLint = Int
Link copied to clipboard
typealias GLint64 = Int53
Link copied to clipboard
typealias GLintptr = Int
Link copied to clipboard
typealias GLsizei = Int
Link copied to clipboard
typealias GLsizeiptr = Int
Link copied to clipboard
typealias GLuint = JsUInt
Link copied to clipboard
typealias GLuint64 = UInt53
Link copied to clipboard
Link copied to clipboard

The KHR_parallel_shader_compile extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.

Link copied to clipboard

The OES_draw_buffers_indexed extension is part of the WebGL API and enables the use of different blend options when writing to multiple color buffers simultaneously.

Link copied to clipboard

The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().

Link copied to clipboard

The OES_fbo_render_mipmap extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.

Link copied to clipboard

The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth.

Link copied to clipboard

The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.

Link copied to clipboard

The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.

Link copied to clipboard

The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.

Link copied to clipboard

The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.

Link copied to clipboard

The OES_vertex_array_object extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states. These objects keep pointers to vertex data and provide names for different sets of vertex data.

Link copied to clipboard
interface OVR_multiview2

The OVR_multiview2 extension is part of the WebGL API and adds support for rendering into multiple views simultaneously. This especially useful for virtual reality (VR) and WebXR.

Link copied to clipboard
Link copied to clipboard

The WebGL2RenderingContext interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML element.

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

The WEBGL_color_buffer_float extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.

Link copied to clipboard

The WEBGL_compressed_texture_astc extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.

Link copied to clipboard

The WEBGL_compressed_texture_etc extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.

Link copied to clipboard

The WEBGL_compressed_texture_etc1 extension is part of the WebGL API and exposes the ETC1 compressed texture format.

Link copied to clipboard

The WEBGL_compressed_texture_pvrtc extension is part of the WebGL API and exposes four PVRTC compressed texture formats.

Link copied to clipboard

The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.

Link copied to clipboard

The WEBGL_compressed_texture_s3tc_srgb extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.

Link copied to clipboard

The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.

Link copied to clipboard

The WEBGL_debug_shaders extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.

Link copied to clipboard

The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.

Link copied to clipboard

The WEBGL_draw_buffers extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.

Link copied to clipboard

The WEBGL_lose_context extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.

Link copied to clipboard

The WEBGL_multi_draw extension is part of the WebGL API and allows to render more than one primitive with a single function call. This can improve a WebGL application's performance as it reduces binding costs in the renderer and speeds up GPU thread time with uniform data.

Link copied to clipboard
open class WebGLActiveInfo

The WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.

Link copied to clipboard
open class WebGLBuffer

The WebGLBuffer interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.

Link copied to clipboard
Link copied to clipboard
open class WebGLContextEvent(val type: EventType<WebGLContextEvent>, init: WebGLContextEventInit = definedExternally) : Event

The WebGLContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.

Link copied to clipboard
Link copied to clipboard
sealed interface WebGLExtension
Link copied to clipboard
open class WebGLFramebuffer

The WebGLFramebuffer interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.

Link copied to clipboard
sealed interface WebGLPowerPreference
Link copied to clipboard
open class WebGLProgram

The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).

Link copied to clipboard
open class WebGLQuery

The WebGLQuery interface is part of the WebGL 2 API and provides ways to asynchronously query for information. By default, occlusion queries and primitive queries are available.

Link copied to clipboard

The WebGLRenderbuffer interface is part of the WebGL API and represents a buffer that can contain an image, or that can be a source or target of a rendering operation.

Link copied to clipboard

The WebGLRenderingContext interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML element.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class WebGLSampler

The WebGLSampler interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.

Link copied to clipboard
open class WebGLShader

The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.

Link copied to clipboard

The WebGLShaderPrecisionFormat interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.

Link copied to clipboard
open class WebGLSync

The WebGLSync interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.

Link copied to clipboard
open class WebGLTexture

The WebGLTexture interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.

Link copied to clipboard

The WebGLTransformFeedback interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times.

Link copied to clipboard

The WebGLUniformLocation interface is part of the WebGL API and represents the location of a uniform variable in a shader program.

Link copied to clipboard

The WebGLVertexArrayObject interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.

Link copied to clipboard

Properties

Functions

Link copied to clipboard