struct mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl

struct RAII_Impl
{
    //
fields

    bool created = false;
    unsigned int buffer_id = 0;
    std::thread::id created_from;

    // construction

    RAII_Impl();

    //
methods

    void create();
    void destroy();
    void bind();
    void release();

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