Skip to content

Commit

Permalink
docs(glRw): Add set canvas to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
bruyeret committed Jul 9, 2024
1 parent 15a5bc5 commit a59c87a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Rendering/OpenGL/RenderWindow/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ export interface vtkOpenGLRenderWindow extends vtkViewNode {
*/
getCanvas(): Nullable<HTMLCanvasElement>;

/**
* Set the webgl canvas.
*/
setCanvas(canvas: Nullable<HTMLCanvasElement>): boolean;

/**
* Check if a point is in the viewport.
* @param {Number} x The x coordinate.
Expand Down

0 comments on commit a59c87a

Please sign in to comment.