Represents the set of parameters that will be used to create a compute shader texture on the device w...
const std::string & GetLabel() const
Get/set the label used for debugging in case of errors.
static vtkWebGPUComputeTexture * New()
void SetData(const std::vector< T > &data)
Sets the data that will be used by the texture.
vtkDataArray * GetDataArray()
The pointer to the vtkDataArray passed with SetData(vtkDataArray)
const void * GetDataPointer()
The pointer to the std::vector<> data passed with SetData(std::vector)
~vtkWebGPUComputeTexture() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWebGPUComputeTexture()
void SetData(vtkDataArray *data)
Sets the data that will be used by the texture.
Abstraction class for WebGPU textures.
TextureDataType
Because the compute texture can accept multiple data types as input (std::vector, vtkDataArray) but w...