All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalajs.dom.html.canvas.webgl.WebGLBuffer.scala Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package io.scalajs.dom.html.canvas.webgl

import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal

/**
  * 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()]]
  • *
* @author [email protected] */ @js.native @JSGlobal("WebGLBuffer") class WebGLBuffer extends js.Object




© 2015 - 2024 Weber Informatics LLC | Privacy Policy