Merge pull request #8967 from fredj/ts_checks_fix_webgl
Fix webgl types in ol/webgl/PostProcessingPass
This commit is contained in:
@@ -33,7 +33,7 @@ const DEFAULT_FRAGMENT_SHADER = `
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Options
|
* @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
|
* @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).
|
* the main canvas that will then be sampled up (useful for saving resource on blur steps).
|
||||||
* @property {string} [vertexShader] Vertex shader source
|
* @property {string} [vertexShader] Vertex shader source
|
||||||
@@ -43,7 +43,7 @@ const DEFAULT_FRAGMENT_SHADER = `
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} UniformInternalDescription
|
* @typedef {Object} UniformInternalDescription
|
||||||
* @property {UniformValue} value Value
|
* @property {import("./Helper").UniformValue} value Value
|
||||||
* @property {number} location Location
|
* @property {number} location Location
|
||||||
* @property {WebGLTexture} [texture] Texture
|
* @property {WebGLTexture} [texture] Texture
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
Reference in New Issue
Block a user