#include "Buffers.hpp"

using namespace render;

std::unique_ptr<WritableBuffer> (*WritableBuffer::createFunc)(size_t, Usage, const data_view) = nullptr;
std::unique_ptr<FastBuffer> (*FastBuffer::createFunc)(size_t, Usage, const data_view) = nullptr;
std::unique_ptr<ShortIndexedVertexBuffer> (*ShortIndexedVertexBuffer::createFunc)(const data_view, const data_view) = nullptr;