Actor
Introduction
The WebGPU backend view node for a vtkActor.
Methods
buildPass
Builds myself: resolve the renderer and render window, claim a prop id and adopt the renderable's mapper as a child.
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkWebGPUActor 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 | IWebGPUActorInitialValues | No | (default: {}) |
getBufferShift
The translation applied to the vertex buffers of this actor to keep them near the origin. Recomputes the key matrices if needed.
| Argument | Type | Required | Description |
|---|---|---|---|
wgpuRen | vtkWebGPURenderer | Yes |
getKeyMatrices
Recompute the buffer to world/stabilized and normal matrices if the renderable or the stabilized center moved.
| Argument | Type | Required | Description |
|---|---|---|---|
wgpuRen | vtkWebGPURenderer | Yes |
getKeyMatricesTime
The time stamp guarding the cached key matrices.
getPropID
The identifier used by hardware selection to recognize this prop.
newInstance
Method used to create a new instance of vtkWebGPUActor.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IWebGPUActorInitialValues | No | for pre-setting some of its content |
queryPass
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes | ||
renderPass | vtkRenderPass | Yes |
traverseOpaquePass
| Argument | Type | Required | Description |
|---|---|---|---|
renderPass | vtkRenderPass | Yes |
traverseOpaqueZBufferPass
Render only opaque actors.
| Argument | Type | Required | Description |
|---|---|---|---|
renderPass | vtkRenderPass | Yes |
traverseTranslucentPass
| Argument | Type | Required | Description |
|---|---|---|---|
renderPass | vtkRenderPass | Yes |
traverseZBufferPass
Render both opaque and translucent actors.
| Argument | Type | Required | Description |
|---|---|---|---|
renderPass | vtkRenderPass | Yes |