|
VTK
9.7.20261123
|
#include <vtkWebGPUVolumeRayCastMapperInternals.h>
Per input device state of vtkWebGPUVolumeRayCastMapper.
The mapper prepares its own inputs and nothing else: it tabulates the transfer functions and classifies each port into cells that say where the volume is empty and where it is detailed. What it does not do is upload or draw. The prepared inputs are offered to the vtkWebGPUVolumeRayCastCoordinator of the renderer, which decides which bricks are worth keeping on the device and marches them together with the volumes of every other mapper in the scene. Voxels leave the host only when the coordinator asks for a brick, through the vtkWebGPUVolumeBrickSource that each input is.
Everything that names a WebGPU type lives here so that the public header of the mapper stays free of the WebGPU headers.