Module type for ol.webgl.Fragment

This commit is contained in:
Frederic Junod
2018-03-23 12:13:20 +01:00
parent b836e230c6
commit 6f6b60769c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ const WebGLTileLayerRenderer = function(mapRenderer, tileLayer) {
/** /**
* @private * @private
* @type {ol.webgl.Fragment} * @type {module:ol/webgl/Fragment~WebGLFragment}
*/ */
this.fragmentShader_ = fragment; this.fragmentShader_ = fragment;
+1 -1
View File
@@ -220,7 +220,7 @@ WebGLContext.prototype.getShader = function(shaderObject) {
* Get the program from the cache if it's in the cache. Otherwise create * Get the program from the cache if it's in the cache. Otherwise create
* the WebGL program, attach the shaders to it, and add an entry to the * the WebGL program, attach the shaders to it, and add an entry to the
* cache. * cache.
* @param {ol.webgl.Fragment} fragmentShaderObject Fragment shader. * @param {module:ol/webgl/Fragment~WebGLFragment} fragmentShaderObject Fragment shader.
* @param {ol.webgl.Vertex} vertexShaderObject Vertex shader. * @param {ol.webgl.Vertex} vertexShaderObject Vertex shader.
* @return {WebGLProgram} Program. * @return {WebGLProgram} Program.
*/ */