Skip to content

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.

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

newInstance ​

Method used to create a new instance of vtkWebGPUPixelSpaceCallbackMapper.

ArgumentTypeRequiredDescription
initialValuesIWebGPUPixelSpaceCallbackMapperInitialValuesNofor 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.

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes