From f21dd84c91e895f2f1d7a23fc9c40806067b267f Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 21 Jul 2022 13:08:18 -0700 Subject: [PATCH] Remove api annotation for experimental features --- src/ol/renderer/webgl/VectorLayer.js | 2 -- src/ol/renderer/webgl/shaders.js | 7 ------- 2 files changed, 9 deletions(-) diff --git a/src/ol/renderer/webgl/VectorLayer.js b/src/ol/renderer/webgl/VectorLayer.js index f6704b04b9..2ce81e126a 100644 --- a/src/ol/renderer/webgl/VectorLayer.js +++ b/src/ol/renderer/webgl/VectorLayer.js @@ -67,8 +67,6 @@ import {listen, unlistenByKey} from '../../events.js'; * Please note that the fragment shaders output should have premultiplied alpha, otherwise visual anomalies may occur. * * Note: this uses {@link module:ol/webgl/Helper~WebGLHelper} internally. - * - * @api */ class WebGLVectorLayerRenderer extends WebGLLayerRenderer { /** diff --git a/src/ol/renderer/webgl/shaders.js b/src/ol/renderer/webgl/shaders.js index 8acea1fd19..f8150cb379 100644 --- a/src/ol/renderer/webgl/shaders.js +++ b/src/ol/renderer/webgl/shaders.js @@ -18,7 +18,6 @@ export const DefaultAttributes = { * This is how DefaultAttributes.COLOR is expected to be computed. * @param {import("../../color.js").Color|string} color Color as array of numbers or string * @return {number} Float value containing the color - * @api */ export function packColor(color) { const array = asArray(color); @@ -38,7 +37,6 @@ const DECODE_COLOR_EXPRESSION = `vec3( * Default polygon vertex shader. * Relies on DefaultAttributes.COLOR and DefaultAttributes.OPACITY. * @type {string} - * @api */ export const DEFAULT_POLYGON_VERTEX = ` precision mediump float; @@ -58,7 +56,6 @@ export const DEFAULT_POLYGON_VERTEX = ` /** * Default polygon fragment shader. * @type {string} - * @api */ export const DEFAULT_POLYGON_FRAGMENT = ` precision mediump float; @@ -73,7 +70,6 @@ export const DEFAULT_POLYGON_FRAGMENT = ` * Default linestring vertex shader. * Relies on DefaultAttributes.COLOR, DefaultAttributes.OPACITY and DefaultAttributes.WIDTH. * @type {string} - * @api */ export const DEFAULT_LINESTRING_VERTEX = ` precision mediump float; @@ -139,7 +135,6 @@ export const DEFAULT_LINESTRING_VERTEX = ` /** * Default linestring fragment shader. * @type {string} - * @api */ export const DEFAULT_LINESTRING_FRAGMENT = ` precision mediump float; @@ -170,7 +165,6 @@ export const DEFAULT_LINESTRING_FRAGMENT = ` * Default point vertex shader. * Relies on DefaultAttributes.COLOR and DefaultAttributes.OPACITY. * @type {string} - * @api */ export const DEFAULT_POINT_VERTEX = ` precision mediump float; @@ -201,7 +195,6 @@ export const DEFAULT_POINT_VERTEX = ` /** * Default point fragment shader. * @type {string} - * @api */ export const DEFAULT_POINT_FRAGMENT = ` precision mediump float;