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.
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkOpenGLSkybox characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IOpenGLSkyboxInitialValues | No | (default: {}) |
getActiveTextures
getContext
newInstance
Method used to create a new instance of vtkOpenGLSkybox.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IOpenGLSkyboxInitialValues | No | for pre-setting some of its content |
opaquePass
Renders myself: draw the full screen quad with the skybox shader.
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes | ||
renderPass | vtkRenderPass | Yes |
queryPass
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes | ||
renderPass | vtkRenderPass | Yes |
setContext
| Argument | Type | Required | Description |
|---|---|---|---|
context | Yes |
updateBufferObjects
Build the quad's vertex buffer, (re)compile the shader for the current skybox format and pick up the renderable's texture.