38#ifndef DensityFunctionWaveform_h
39#define DensityFunctionWaveform_h
62 virtual void Rename([[maybe_unused]]
const std::string& name =
"")
override
88 virtual void Resize([[maybe_unused]]
size_t unused)
override
91 virtual void Reserve([[maybe_unused]]
size_t unused)
override
113 virtual size_t size()
const override
void MarkModifiedFromGpu()
Marks the GPU-side copy of the buffer as modified.
Definition: AcceleratorBuffer.h:895
void MarkModifiedFromCpu()
Marks the CPU-side copy of the buffer as modified.
Definition: AcceleratorBuffer.h:884
void PrepareForCpuAccess()
Prepares the buffer to be accessed from the CPU.
Definition: AcceleratorBuffer.h:909
void PrepareForGpuAccess(bool outputOnly=false)
Prepares the buffer to be accessed from the GPU.
Definition: AcceleratorBuffer.h:931
T * GetCpuPointer()
Gets a pointer to the CPU-side buffer.
Definition: AcceleratorBuffer.h:440