Skip to content

VolumePassFSQ ​

Methods ​

extend ​

Method used to decorate a given object (publicAPI+model) with vtkWebGPUVolumePassFSQ characteristics.

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

newInstance ​

Method used to create a new instance of vtkWebGPUVolumePassFSQ.

ArgumentTypeRequiredDescription
initialValuesIWebGPUVolumePassFSQInitialValuesNofor pre-setting some of its content

replaceShaderVolume ​

Shader replacement, registered under replaceShaderVolume, generating the ray marching loop, the per volume sampling and compositing code and the transfer function lookups for every volume of the pass.

ArgumentTypeRequiredDescription
hashStringYesthe pipeline hash
pipelinevtkWebGPUPipelineYes
vertexInputvtkWebGPUVertexInputYes

setVolumes ​

Set the volumes this quad ray casts, marking the mapper modified only when the list actually changed.

ArgumentTypeRequiredDescription
valArray[vtkWebGPUVolume]Yes

updateLUTImage ​

Rebuild the color and opacity transfer function textures of all volumes when any of their transfer functions changed.

ArgumentTypeRequiredDescription
devicevtkWebGPUDeviceYes

updateSSBO ​

Rebuild and send the storage buffers holding the per volume and per component ray casting parameters.

ArgumentTypeRequiredDescription
devicevtkWebGPUDeviceYes