Module type for ol.webgl.Fragment
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user