Added documentation & fixed linting for WebGL classes
This commit is contained in:
@@ -11,7 +11,7 @@ class RenderEvent extends Event {
|
||||
* @param {import("./VectorContext.js").default=} opt_vectorContext Vector context.
|
||||
* @param {import("../PluggableMap.js").FrameState=} opt_frameState Frame state.
|
||||
* @param {?CanvasRenderingContext2D=} opt_context Context.
|
||||
* @param {?import("../webgl/Context.js").default=} opt_glContext WebGL Context.
|
||||
* @param {?import("../webgl/Helper.js").default=} opt_glContext WebGL Context.
|
||||
*/
|
||||
constructor(type, opt_vectorContext, opt_frameState, opt_context, opt_glContext) {
|
||||
|
||||
@@ -42,7 +42,7 @@ class RenderEvent extends Event {
|
||||
/**
|
||||
* WebGL context. Only available when a WebGL renderer is used, null
|
||||
* otherwise.
|
||||
* @type {import("../webgl/Context.js").default|null|undefined}
|
||||
* @type {import("../webgl/Helper.js").default|null|undefined}
|
||||
* @api
|
||||
*/
|
||||
this.glContext = opt_glContext;
|
||||
|
||||
Reference in New Issue
Block a user