UNPKG

c8y-openlayer

Version:

This module is designed to help integrate Openlayer with Cumulocity IoT

25 lines (20 loc) 520 B
import _ol_ from '../index.js'; import _ol_webgl_ from '../webgl.js'; import _ol_webgl_Shader_ from '../webgl/shader.js'; /** * @constructor * @extends {ol.webgl.Shader} * @param {string} source Source. * @struct */ var _ol_webgl_Fragment_ = function(source) { _ol_webgl_Shader_.call(this, source); }; _ol_.inherits(_ol_webgl_Fragment_, _ol_webgl_Shader_); /** * @inheritDoc */ _ol_webgl_Fragment_.prototype.getType = function() { return _ol_webgl_.FRAGMENT_SHADER; }; export default _ol_webgl_Fragment_;