Annotations for exports

This commit is contained in:
Tim Schaub
2014-04-08 13:40:35 -06:00
parent 457cfe851a
commit fb497f5288
243 changed files with 456 additions and 451 deletions

View File

@@ -23,6 +23,7 @@ ol.webgl.BufferCacheEntry;
* @extends {goog.events.EventTarget}
* @param {HTMLCanvasElement} canvas Canvas.
* @param {WebGLRenderingContext} gl GL.
* @todo api
*/
ol.webgl.Context = function(canvas, gl) {
@@ -159,6 +160,7 @@ ol.webgl.Context.prototype.getCanvas = function() {
/**
* @return {WebGLRenderingContext} GL.
* @todo api
*/
ol.webgl.Context.prototype.getGL = function() {
return this.gl_;
@@ -246,6 +248,7 @@ ol.webgl.Context.prototype.handleWebGLContextRestored = function() {
/**
* @param {WebGLProgram} program Program.
* @return {boolean} Changed.
* @todo api
*/
ol.webgl.Context.prototype.useProgram = function(program) {
if (program == this.currentProgram_) {