W3cubDocs

/Haxe JavaScript

Program

package js.html.webgl

@:native("WebGLProgram") Available on js

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.

Documentation WebGLProgram 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/Program.html