@acransac/vtk.js
Version:
Visualization Toolkit for the Web
35 lines (19 loc) • 697 B
Markdown
WebGL rendering window
vtkWebGLRenderWindow is designed to view/render a vkRenderWindow
preparefor rendering
do the rendering
Initialize OpenGL for this window.
Initialize the state of OpenGL that VTK wants for this window
Initialize VTK for rendering in a new OpenGL context
Returns an Shader Cache object
Initialize the rendering window. This will setup all system-specific
resources. This method and Finalize() must be symmetric and it
should be possible to call them multiple times, even changing WindowId
in-between. This is what WindowRemap does.