Add remaining TODOs
This commit is contained in:
@@ -6,6 +6,7 @@ import webgl from './webgl.js';
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* TODO: move to a separate ol-webgl package
|
||||||
* @type {boolean} Include debuggable shader sources. Default is `true`.
|
* @type {boolean} Include debuggable shader sources. Default is `true`.
|
||||||
* This should be set to `false` for production builds.
|
* This should be set to `false` for production builds.
|
||||||
*/
|
*/
|
||||||
@@ -13,12 +14,7 @@ export var DEBUG_WEBGL = true;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {string} OpenLayers version.
|
* TODO: move to a separate ol-webgl package
|
||||||
*/
|
|
||||||
export var VERSION = 'v4.6.4';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The maximum supported WebGL texture size in pixels. If WebGL is not
|
* The maximum supported WebGL texture size in pixels. If WebGL is not
|
||||||
* supported, the value is set to `undefined`.
|
* supported, the value is set to `undefined`.
|
||||||
* @const
|
* @const
|
||||||
@@ -28,6 +24,7 @@ var WEBGL_MAX_TEXTURE_SIZE; // value is set below
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* TODO: move to a separate ol-webgl package
|
||||||
* List of supported WebGL extensions.
|
* List of supported WebGL extensions.
|
||||||
* @const
|
* @const
|
||||||
* @type {Array.<string>}
|
* @type {Array.<string>}
|
||||||
@@ -36,6 +33,7 @@ var WEBGL_EXTENSIONS; // value is set below
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* TODO: move to a separate ol-webgl package
|
||||||
* WebGL is available.
|
* WebGL is available.
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
@@ -61,6 +59,12 @@ if ('WebGLRenderingContext' in window) {
|
|||||||
export {HAS_WEBGL, WEBGL_MAX_TEXTURE_SIZE, WEBGL_EXTENSIONS};
|
export {HAS_WEBGL, WEBGL_MAX_TEXTURE_SIZE, WEBGL_EXTENSIONS};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {string} OpenLayers version.
|
||||||
|
*/
|
||||||
|
export var VERSION = 'v4.6.4';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inherit the prototype methods from one constructor into another.
|
* Inherit the prototype methods from one constructor into another.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user