Package

io.scalajs.dom.html.canvas

webgl

Permalink

package webgl

webgl package object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. webgl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type GLbitfield = Int

    Permalink
  2. type GLenum = |[|[Double, Long], Int]

    Permalink
  3. type GLint = |[|[Double, Long], Int]

    Permalink
  4. type GLintptr = |[|[Double, Long], Int]

    Permalink
  5. type GLprecision = Any

    Permalink
  6. type GLsizei = Double

    Permalink
  7. type GLuint = |[|[Double, Long], Int]

    Permalink
  8. trait WebGL2RenderingContext extends Object with WebGLRenderingContext

    Permalink

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

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

    WebGL 2 is an extension to WebGL 1. The WebGL2RenderingContext interface implements all members of the WebGLRenderingContext interface. Some methods of the WebGL 1 context can accept additional values when used in a WebGL 2 context. You will find this info noted on the WebGL 1 reference pages.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext

  9. class WebGLBuffer extends Object

    Permalink

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

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

    Description

    The WebGLBuffer object does not define any methods or properties of its own and its content is not directly accessible. When working with WebGLBuffer objects, the following methods of the WebGLRenderingContext are useful:

    • WebGLRenderingContext.bindBuffer()
    • WebGLRenderingContext.createBuffer()
    • WebGLRenderingContext.deleteBuffer()
    • WebGLRenderingContext.isBuffer()
    Annotations
    @RawJSType() @native() @JSName( "WebGLBuffer" )
  10. class WebGLProgram extends Object

    Permalink

    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).

    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). These are then linked into a usable program.

    Annotations
    @RawJSType() @native() @JSName( "WebGLProgram" )
  11. trait WebGLRenderingContext extends Object with RenderingContext

    Permalink

    The WebGLRenderingContext interface provides the OpenGL ES 2.0 rendering context for the drawing surface of an HTML <canvas> element.

    The WebGLRenderingContext interface provides the OpenGL ES 2.0 rendering context for the drawing surface of an HTML <canvas> element.

    Annotations
    @RawJSType() @native()
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants

    https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext

  12. class WebGLShader extends Object

    Permalink

    The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader.

    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.

    Annotations
    @RawJSType() @native() @JSName( "WebGLShader" )
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/WebGLShader

  13. trait WebGLShaderPrecisionFormat extends Object

    Permalink

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

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

    Annotations
    @RawJSType() @native()
  14. class WebGLTexture extends Object

    Permalink

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

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

    Annotations
    @RawJSType() @native() @JSName( "WebGLTexture" )
    See also

    https://developer.mozilla.org/en-US/docs/Web/API/WebGLTexture

Inherited from AnyRef

Inherited from Any

Ungrouped