Fix webgl types in ol/webgl/PostProcessingPass

This commit is contained in:
Frederic Junod
2018-11-17 11:17:18 +01:00
parent 06ae175cef
commit 42a8c7983f

View File

@@ -33,7 +33,7 @@ const DEFAULT_FRAGMENT_SHADER = `
/**
* @typedef {Object} Options
* @property {WebGLContext} webGlContext WebGL context; mandatory.
* @property {WebGLRenderingContext} webGlContext WebGL context; mandatory.
* @property {number} [scaleRatio] Scale ratio; if < 1, the post process will render to a texture smaller than
* the main canvas that will then be sampled up (useful for saving resource on blur steps).
* @property {string} [vertexShader] Vertex shader source
@@ -43,7 +43,7 @@ const DEFAULT_FRAGMENT_SHADER = `
/**
* @typedef {Object} UniformInternalDescription
* @property {UniformValue} value Value
* @property {import("./Helper").UniformValue} value Value
* @property {number} location Location
* @property {WebGLTexture} [texture] Texture
* @private