io.scalajs.dom.html.canvas.webgl.WebGLShader.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 WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader.
* A WebGLProgram requires both types of shaders.
* @see https://developer.mozilla.org/en-US/docs/Web/API/WebGLShader
* @author [email protected]
*/
@js.native
@JSGlobal("WebGLShader")
class WebGLShader extends js.Object