// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "default.h" #include "device.h" namespace embree { /*! Implements an API data buffer object. This class may or may not own the data. */ class Buffer : public RefCount { … }; /*! An untyped contiguous range of a buffer. This class does not own the buffer content. */ class RawBufferView { … }; /*! A typed contiguous range of a buffer. This class does not own the buffer content. */ template<typename T> class BufferView : public RawBufferView { … }; template<> class BufferView<Vec3fa> : public RawBufferView { … }; }