struct mrpt::opengl::COpenGLBuffer::RAII_Impl

struct RAII_Impl
{
    //
fields

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

    // construction

    RAII_Impl(COpenGLBuffer::Type t);

    //
methods

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

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