Module webgl_rs::shader_program
source · Expand description
WebGLProgram and WebGLShader and methods
Structs
The
WebGLRSProgram
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.The
WebGLRSShader
is part of the WebGL API and can either be a vertex or a fragment shader.
A WebGLRSProgram
requires both types of shaders.