struct mrpt::opengl::Buffer::RAII_Impl

struct RAII_Impl
{
    //
fields

    Buffer::Type type;
    Buffer::Usage usage = Buffer::Usage::StaticDraw;
    bool created = false;
    unsigned int buffer_id = 0;
    std::thread::id created_from;

    // construction

    RAII_Impl(Buffer::Type t);

    //
methods

    void create();
    void destroy();
    void bind();
    void unbind();

    void allocate(
        const void* data,
        int byteCount
        );
};