io.scalajs.dom.html.canvas.webgl.WebGLBuffer.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
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