Remove unused WebGLShader class

This commit is contained in:
Olivier Guyot
2019-06-01 23:09:50 +02:00
parent 2b5e5459ab
commit b6425187de

View File

@@ -1,48 +0,0 @@
/**
* @module ol/webgl/Shader
*/
import {abstract} from '../util.js';
/**
* @abstract
*/
class WebGLShader {
/**
* @param {string} source Source.
*/
constructor(source) {
/**
* @private
* @type {string}
*/
this.source_ = source;
}
/**
* @return {boolean} Is animated?
*/
isAnimated() {
return false;
}
/**
* @abstract
* @return {number} Type.
*/
getType() {
return abstract();
}
/**
* @return {string} Source.
*/
getSource() {
return this.source_;
}
}
export default WebGLShader;