Lines Matching defs:BufferState
52 struct BufferState struct
54 vtkm::cont::internal::BufferInfo Info;
55 bool Pinned = false;
56 bool UpToDate = false;
59 BufferState(const vtkm::cont::internal::BufferInfo& info, in BufferState() function
69 operator vtkm::cont::internal::BufferInfo&() { return this->Info; } in operator vtkm::cont::internal::BufferInfo&()
70 operator const vtkm::cont::internal::BufferInfo&() const { return this->Info; } in operator const vtkm::cont::internal::BufferInfo&()
74 void* GetPointer() const { return this->Info.GetPointer(); } in GetPointer()
76 vtkm::BufferSizeType GetSize() const { return this->Info.GetSize(); } in GetSize()
78 vtkm::cont::DeviceAdapterId GetDevice() const { return this->Info.GetDevice(); } in GetDevice()
80 void Reallocate(vtkm::BufferSizeType newSize) in Reallocate()
94 void Release() in Release()