VolumePassFSQ
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkWebGPUVolumePassFSQ 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 | IWebGPUVolumePassFSQInitialValues | No | (default: {}) |
newInstance
Method used to create a new instance of vtkWebGPUVolumePassFSQ.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IWebGPUVolumePassFSQInitialValues | No | for 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.
| Argument | Type | Required | Description |
|---|---|---|---|
hash | String | Yes | the pipeline hash |
pipeline | vtkWebGPUPipeline | Yes | |
vertexInput | vtkWebGPUVertexInput | Yes |
setVolumes
Set the volumes this quad ray casts, marking the mapper modified only when the list actually changed.
| Argument | Type | Required | Description |
|---|---|---|---|
val | Array[vtkWebGPUVolume] | Yes |
updateLUTImage
Rebuild the color and opacity transfer function textures of all volumes when any of their transfer functions changed.
| Argument | Type | Required | Description |
|---|---|---|---|
device | vtkWebGPUDevice | Yes |
updateSSBO
Rebuild and send the storage buffers holding the per volume and per component ray casting parameters.
| Argument | Type | Required | Description |
|---|---|---|---|
device | vtkWebGPUDevice | Yes |