Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "gl-shader", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "WebGL shader wrapper", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"uniq": "^0.0.2", | ||
"gl-shader-core": "^1.0.0", | ||
"gl-shader-core": "^1.1.0", | ||
"glsl-extract": "^0.0.2", | ||
@@ -14,0 +14,0 @@ "through": "~2.3.4" |
@@ -99,2 +99,5 @@ gl-shader | ||
### `shader.dispose()` | ||
Release all resources associated with the shader | ||
## Uniforms | ||
@@ -101,0 +104,0 @@ The uniforms for the shader program are packaged up as properties in the `shader.uniforms` object. For example, to update a scalar uniform you can just assign to it: |
9779
220
Updatedgl-shader-core@^1.1.0