UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

39 lines (31 loc) 872 B
// This file is automatically generated, do not edit goog.provide('ol.renderer.webgl.tilelayershader.Locations'); goog.require('ol'); /** * @constructor * @param {WebGLRenderingContext} gl GL. * @param {WebGLProgram} program Program. * @struct */ ol.renderer.webgl.tilelayershader.Locations = function(gl, program) { /** * @type {WebGLUniformLocation} */ this.u_tileOffset = gl.getUniformLocation( program, ol.DEBUG_WEBGL ? 'u_tileOffset' : 'd'); /** * @type {WebGLUniformLocation} */ this.u_texture = gl.getUniformLocation( program, ol.DEBUG_WEBGL ? 'u_texture' : 'e'); /** * @type {number} */ this.a_position = gl.getAttribLocation( program, ol.DEBUG_WEBGL ? 'a_position' : 'b'); /** * @type {number} */ this.a_texCoord = gl.getAttribLocation( program, ol.DEBUG_WEBGL ? 'a_texCoord' : 'c'); };