# all files / ol/render/webgl/circlereplay/defaultshader/ locations.js

20% Statements 3/15
0% Branches 0/24
0% Functions 0/1
20% Lines 3/15

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    1×

    1×

    1×

     // This file is automatically generated, do not edit
    goog.provide('ol.render.webgl.circlereplay.defaultshader.Locations');

    goog.require('ol');

    /**
     * @constructor
     * @param {WebGLRenderingContext} gl GL.
     * @param {WebGLProgram} program Program.
     * @struct
     */
    ol.render.webgl.circlereplay.defaultshader.Locations = function(gl, program) {

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_projectionMatrix = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_projectionMatrix' : 'h');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_offsetScaleMatrix = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_offsetScaleMatrix' : 'i');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_offsetRotateMatrix = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_offsetRotateMatrix' : 'j');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_lineWidth = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_lineWidth' : 'k');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_pixelRatio = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_pixelRatio' : 'l');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_opacity = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_opacity' : 'm');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_fillColor = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_fillColor' : 'n');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_strokeColor = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_strokeColor' : 'o');

      /**
       * @type {WebGLUniformLocation}
       */
      this.u_size = gl.getUniformLocation(
          program, ol.DEBUG_WEBGL ? 'u_size' : 'p');

      /**
       * @type {number}
       */
      this.a_position = gl.getAttribLocation(
          program, ol.DEBUG_WEBGL ? 'a_position' : 'e');

      /**
       * @type {number}
       */
      this.a_instruction = gl.getAttribLocation(
          program, ol.DEBUG_WEBGL ? 'a_instruction' : 'f');

      /**
       * @type {number}
       */
      this.a_radius = gl.getAttribLocation(
          program, ol.DEBUG_WEBGL ? 'a_radius' : 'g');
    };