Move jsdoc constructor comments
This commit is contained in:
@@ -6,19 +6,20 @@ import {FRAGMENT_SHADER} from '../webgl.js';
|
||||
import WebGLShader from '../webgl/Shader.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/webgl/Shader}
|
||||
* @param {string} source Source.
|
||||
* @struct
|
||||
*/
|
||||
class WebGLFragment {
|
||||
|
||||
/**
|
||||
* @param {string} source Source.
|
||||
*/
|
||||
constructor(source) {
|
||||
WebGLShader.call(this, source);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
* @inheritDoc
|
||||
*/
|
||||
getType() {
|
||||
return FRAGMENT_SHADER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user