MCPcopy Create free account
hub / github.com/Kitware/VTK / SetData

Method SetData

Rendering/WebGPU/vtkWebGPUComputeBuffer.cxx:43–47  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

41
42//------------------------------------------------------------------------------
43void vtkWebGPUComputeBuffer::SetData(vtkDataArray* data)
44{
45 this->DataArray = data;
46 this->ByteSize = data->GetNumberOfValues() * data->GetDataTypeSize();
47}
48
49VTK_ABI_NAMESPACE_END

Callers 15

RenderMethod · 0.45
ClearMethod · 0.45
vtkTextureIO.cxxFile · 0.45
WriteMethod · 0.45
AllGatherExtentsMethod · 0.45
TestActor2DTexturesFunction · 0.45
TestComputePassUniformFunction · 0.45
TestComputePipelineFunction · 0.45
TestComputePassFunction · 0.45

Calls 2

GetNumberOfValuesMethod · 0.45
GetDataTypeSizeMethod · 0.45

Tested by 7

TestActor2DTexturesFunction · 0.36
TestComputePassUniformFunction · 0.36
TestComputePipelineFunction · 0.36
TestComputePassFunction · 0.36
TestComputePassChainedFunction · 0.36