From 300cf6c2bbba39f9217d7d7ae5b3ef86de69334a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Sun, 13 Feb 2022 15:53:18 +0100 Subject: [PATCH] Replce description for WebGLHelper.DefaultAttrib --- src/ol/webgl/Helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/webgl/Helper.js b/src/ol/webgl/Helper.js index 30b41241be..4b6d645722 100644 --- a/src/ol/webgl/Helper.js +++ b/src/ol/webgl/Helper.js @@ -264,8 +264,8 @@ function releaseCanvas(key) { * ### Specifying attributes * * The GPU only receives the data as arrays of numbers. These numbers must be handled differently depending on what it describes (position, texture coordinate...). - * Attributes are used to specify these uses. Use {@link module:ol/webgl/Helper~WebGLHelper#enableAttributes endableAttributes} and either - * the default attribute names in {@link module:ol/webgl/Helper.DefaultAttrib} or custom ones. + * Attributes are used to specify these uses. Specify the attribute names with + * {@link module:ol/webgl/Helper~WebGLHelper#enableAttributes enableAttributes()} (see code snippet below). * * Please note that you will have to specify the type and offset of the attributes in the data array. You can refer to the documentation of [WebGLRenderingContext.vertexAttribPointer](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer) for more explanation. * ```js