Module type for ol.webgl.Buffer
This commit is contained in:
@@ -81,7 +81,7 @@ const WebGLReplay = function(tolerance, maxExtent) {
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {?ol.webgl.Buffer}
|
||||
* @type {?module:ol/webgl/Buffer~WebGLBuffer}
|
||||
*/
|
||||
this.indicesBuffer = null;
|
||||
|
||||
@@ -107,7 +107,7 @@ const WebGLReplay = function(tolerance, maxExtent) {
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {?ol.webgl.Buffer}
|
||||
* @type {?module:ol/webgl/Buffer~WebGLBuffer}
|
||||
*/
|
||||
this.verticesBuffer = null;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ const WebGLLayerRenderer = function(mapRenderer, layer) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.webgl.Buffer}
|
||||
* @type {module:ol/webgl/Buffer~WebGLBuffer}
|
||||
*/
|
||||
this.arrayBuffer_ = new WebGLBuffer([
|
||||
-1, -1, 0, 0,
|
||||
|
||||
@@ -57,7 +57,7 @@ const WebGLTileLayerRenderer = function(mapRenderer, tileLayer) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.webgl.Buffer}
|
||||
* @type {module:ol/webgl/Buffer~WebGLBuffer}
|
||||
*/
|
||||
this.renderArrayBuffer_ = new WebGLBuffer([
|
||||
0, 0, 0, 1,
|
||||
|
||||
@@ -302,7 +302,7 @@ ol.StyleImageOptions;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{buf: ol.webgl.Buffer,
|
||||
* @typedef {{buf: module:ol/webgl/Buffer~WebGLBuffer,
|
||||
* buffer: WebGLBuffer}}
|
||||
*/
|
||||
ol.WebglBufferCacheEntry;
|
||||
|
||||
@@ -99,7 +99,7 @@ inherits(WebGLContext, Disposable);
|
||||
* the WebGL buffer, bind it, populate it, and add an entry to
|
||||
* the cache.
|
||||
* @param {number} target Target.
|
||||
* @param {ol.webgl.Buffer} buf Buffer.
|
||||
* @param {module:ol/webgl/Buffer~WebGLBuffer} buf Buffer.
|
||||
*/
|
||||
WebGLContext.prototype.bindBuffer = function(target, buf) {
|
||||
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) {
|
||||
const gl = this.getGL();
|
||||
|
||||
Reference in New Issue
Block a user