PixelSpaceCallbackMapper
Introduction
The WebGPU view node of vtkPixelSpaceCallbackMapper. It draws nothing, it only hands the pixel space information to the renderable's callback.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkWebGPUPixelSpaceCallbackMapper 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 | IWebGPUPixelSpaceCallbackMapperInitialValues | No | (default: {}) |
newInstance
Method used to create a new instance of vtkWebGPUPixelSpaceCallbackMapper.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IWebGPUPixelSpaceCallbackMapperInitialValues | No | for pre-setting some of its content |
opaquePass
Invoke the callback of the renderable with the input data, the active camera, the aspect ratio and the tiled size and origin of the renderer.
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes | ||
renderPass | vtkRenderPass | Yes |