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