Skip to content

Skybox ​

Introduction ​

The OpenGL backend view node for a vtkSkybox.

Methods ​

buildPass ​

Builds myself: resolve the renderer, render window and context, and bind the helper and cube map texture to that render window.

ArgumentTypeRequiredDescription
prepassYes

extend ​

Method used to decorate a given object (publicAPI+model) with vtkOpenGLSkybox characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIOpenGLSkyboxInitialValuesNo(default: {})

getActiveTextures ​

getContext ​

newInstance ​

Method used to create a new instance of vtkOpenGLSkybox.

ArgumentTypeRequiredDescription
initialValuesIOpenGLSkyboxInitialValuesNofor pre-setting some of its content

opaquePass ​

Renders myself: draw the full screen quad with the skybox shader.

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes

queryPass ​

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes

setContext ​

ArgumentTypeRequiredDescription
contextYes

updateBufferObjects ​

Build the quad's vertex buffer, (re)compile the shader for the current skybox format and pick up the renderable's texture.