Clean up WebGL provides
This commit is contained in:
@@ -1,80 +1,78 @@
|
||||
// This file is automatically generated, do not edit
|
||||
goog.provide('{{namespace}}');
|
||||
goog.provide('{{namespace}}.Locations');
|
||||
goog.provide('{{className}}Fragment');
|
||||
goog.provide('{{className}}Vertex');
|
||||
|
||||
goog.require('ol.webgl.shader');
|
||||
goog.require('ol.webgl.Fragment');
|
||||
goog.require('ol.webgl.Vertex');
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.webgl.shader.Fragment}
|
||||
* @extends {ol.webgl.Fragment}
|
||||
* @struct
|
||||
*/
|
||||
{{className}}Fragment = function() {
|
||||
ol.webgl.shader.Fragment.call(this, {{className}}Fragment.SOURCE);
|
||||
{{className}}.Fragment = function() {
|
||||
ol.webgl.Fragment.call(this, {{className}}.Fragment.SOURCE);
|
||||
};
|
||||
ol.inherits({{className}}Fragment, ol.webgl.shader.Fragment);
|
||||
goog.addSingletonGetter({{className}}Fragment);
|
||||
ol.inherits({{className}}.Fragment, ol.webgl.Fragment);
|
||||
goog.addSingletonGetter({{className}}.Fragment);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{{getOriginalFragmentSource}}}';
|
||||
{{className}}.Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{{getOriginalFragmentSource}}}';
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{{getFragmentSource}}}';
|
||||
{{className}}.Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{{getFragmentSource}}}';
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Fragment.SOURCE = goog.DEBUG ?
|
||||
{{className}}Fragment.DEBUG_SOURCE :
|
||||
{{className}}Fragment.OPTIMIZED_SOURCE;
|
||||
{{className}}.Fragment.SOURCE = goog.DEBUG ?
|
||||
{{className}}.Fragment.DEBUG_SOURCE :
|
||||
{{className}}.Fragment.OPTIMIZED_SOURCE;
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.webgl.shader.Vertex}
|
||||
* @extends {ol.webgl.Vertex}
|
||||
* @struct
|
||||
*/
|
||||
{{className}}Vertex = function() {
|
||||
ol.webgl.shader.Vertex.call(this, {{className}}Vertex.SOURCE);
|
||||
{{className}}.Vertex = function() {
|
||||
ol.webgl.Vertex.call(this, {{className}}.Vertex.SOURCE);
|
||||
};
|
||||
ol.inherits({{className}}Vertex, ol.webgl.shader.Vertex);
|
||||
goog.addSingletonGetter({{className}}Vertex);
|
||||
ol.inherits({{className}}.Vertex, ol.webgl.Vertex);
|
||||
goog.addSingletonGetter({{className}}.Vertex);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Vertex.DEBUG_SOURCE = '{{{getOriginalVertexSource}}}';
|
||||
{{className}}.Vertex.DEBUG_SOURCE = '{{{getOriginalVertexSource}}}';
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Vertex.OPTIMIZED_SOURCE = '{{{getVertexSource}}}';
|
||||
{{className}}.Vertex.OPTIMIZED_SOURCE = '{{{getVertexSource}}}';
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
{{className}}Vertex.SOURCE = goog.DEBUG ?
|
||||
{{className}}Vertex.DEBUG_SOURCE :
|
||||
{{className}}Vertex.OPTIMIZED_SOURCE;
|
||||
{{className}}.Vertex.SOURCE = goog.DEBUG ?
|
||||
{{className}}.Vertex.DEBUG_SOURCE :
|
||||
{{className}}.Vertex.OPTIMIZED_SOURCE;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user