SphereMapper
Introduction
The WebGPU view node of vtkSphereMapper. It draws one impostor quad per point and ray casts a sphere in the fragment shader.
Methods
buildPass
Update the renderable and take its points as the cell array this mapper draws, then run the cell array mapper build pass.
| Argument | Type | Required | Description |
|---|---|---|---|
prepass | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkWebGPUSphereMapper 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 | IWebGPUSphereMapperInitialValues | No | (default: {}) |
newInstance
Method used to create a new instance of vtkWebGPUSphereMapper.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IWebGPUSphereMapperInitialValues | No | for pre-setting some of its content |