Module type for ol.webgl.Buffer

This commit is contained in:
Frederic Junod
2018-03-23 12:16:04 +01:00
parent 731c2eddae
commit 353a3b77b6
5 changed files with 7 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ const WebGLReplay = function(tolerance, maxExtent) {
/** /**
* @protected * @protected
* @type {?ol.webgl.Buffer} * @type {?module:ol/webgl/Buffer~WebGLBuffer}
*/ */
this.indicesBuffer = null; this.indicesBuffer = null;
@@ -107,7 +107,7 @@ const WebGLReplay = function(tolerance, maxExtent) {
/** /**
* @protected * @protected
* @type {?ol.webgl.Buffer} * @type {?module:ol/webgl/Buffer~WebGLBuffer}
*/ */
this.verticesBuffer = null; this.verticesBuffer = null;

View File

@@ -34,7 +34,7 @@ const WebGLLayerRenderer = function(mapRenderer, layer) {
/** /**
* @private * @private
* @type {ol.webgl.Buffer} * @type {module:ol/webgl/Buffer~WebGLBuffer}
*/ */
this.arrayBuffer_ = new WebGLBuffer([ this.arrayBuffer_ = new WebGLBuffer([
-1, -1, 0, 0, -1, -1, 0, 0,

View File

@@ -57,7 +57,7 @@ const WebGLTileLayerRenderer = function(mapRenderer, tileLayer) {
/** /**
* @private * @private
* @type {ol.webgl.Buffer} * @type {module:ol/webgl/Buffer~WebGLBuffer}
*/ */
this.renderArrayBuffer_ = new WebGLBuffer([ this.renderArrayBuffer_ = new WebGLBuffer([
0, 0, 0, 1, 0, 0, 0, 1,

View File

@@ -302,7 +302,7 @@ ol.StyleImageOptions;
/** /**
* @typedef {{buf: ol.webgl.Buffer, * @typedef {{buf: module:ol/webgl/Buffer~WebGLBuffer,
* buffer: WebGLBuffer}} * buffer: WebGLBuffer}}
*/ */
ol.WebglBufferCacheEntry; ol.WebglBufferCacheEntry;

View File

@@ -99,7 +99,7 @@ inherits(WebGLContext, Disposable);
* the WebGL buffer, bind it, populate it, and add an entry to * the WebGL buffer, bind it, populate it, and add an entry to
* the cache. * the cache.
* @param {number} target Target. * @param {number} target Target.
* @param {ol.webgl.Buffer} buf Buffer. * @param {module:ol/webgl/Buffer~WebGLBuffer} buf Buffer.
*/ */
WebGLContext.prototype.bindBuffer = function(target, buf) { WebGLContext.prototype.bindBuffer = function(target, buf) {
const gl = this.getGL(); const gl = this.getGL();
@@ -128,7 +128,7 @@ WebGLContext.prototype.bindBuffer = function(target, buf) {
/** /**
* @param {ol.webgl.Buffer} buf Buffer. * @param {module:ol/webgl/Buffer~WebGLBuffer} buf Buffer.
*/ */
WebGLContext.prototype.deleteBuffer = function(buf) { WebGLContext.prototype.deleteBuffer = function(buf) {
const gl = this.getGL(); const gl = this.getGL();