W3cubDocs

/Haxe JavaScript

Shader

package js.html.webgl

@:native("WebGLShader") Available on js

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.

Documentation WebGLShader by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/Shader.html