#pragma once #include namespace mbgl { namespace gfx { class VertexBufferResource { protected: VertexBufferResource() = default; public: virtual ~VertexBufferResource() = default; }; // This class has a template argument that we use to specify the vertex type. It is not used by // the implementation, but serves type checking purposes during build time. template class VertexBuffer { public: std::size_t elements; std::unique_ptr resource; }; } // namespace gfx } // namespace mbgl