Neural Network/Brain/node_modules/gpu.js/src/backend/web-gl2/kernel.js
/**
   * @desc Get texture coordinate string for the program
   * @returns {String} result
   */
@desc Get texture coordinate string for the program
@returns {String} result
@desc Get texture coordinate string for the program @returns { String } result
_getTextureCoordinate() {
    const subKernels = this.subKernels;
    if (subKernels === null || subKernels.length < 1) {
      switch (this.tactic) {
        case 'speed':
          return 'in lowp vec2 vTexCoord;\n';
        case 'performance':
          return 'in highp vec2 vTexCoord;\n';
        case 'balanced':
        default:
          return 'in mediump vec2 vTexCoord;\n';
      }
    } else {
      switch (this.tactic) {
        case 'speed':
          return 'out lowp vec2 vTexCoord;\n';
        case 'performance':
          return 'out highp vec2 vTexCoord;\n';
        case 'balanced':
        default:
          return 'out mediump vec2 vTexCoord;\n';
      }
    }
  }
_getTextureCoordinate ( ) { const subKernels = this . subKernels ; if ( subKernels === null || subKernels . length < 1 ) { switch ( this . tactic ) { case 'speed' : return 'in lowp vec2 vTexCoord;\n' ; case 'performance' : return 'in highp vec2 vTexCoord;\n' ; case 'balanced' : default : return 'in mediump vec2 vTexCoord;\n' ; } } else { switch ( this . tactic ) { case 'speed' : return 'out lowp vec2 vTexCoord;\n' ; case 'performance' : return 'out highp vec2 vTexCoord;\n' ; case 'balanced' : default : return 'out mediump vec2 vTexCoord;\n' ; } } }
@desc Get texture coordinate string for the program
 @returns {String} result
@desc Get texture coordinate string for the program @returns { String } result