vs property

String vs
getter/setter pair

Implementation

var vs = [

  'attribute vec3 position;',
  'attribute vec3 tex;',
  'uniform mat4 projectionMatrix;',
  'uniform mat4 modelViewMatrix;',

  'varying vec3 texOut;',

  'void main ( void ) {',

  'gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0 );',
  'texOut = tex;',

  '}',

].join('\n');