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