struct mrpt::opengl::COpenGLFramebuffer::RAII_Impl

#include <mrpt/opengl/COpenGLFramebuffer.h>

struct RAII_Impl
{
    // structs

    struct State;

    //
fields

    COpenGLBuffer::Type type;
    COpenGLBuffer::Usage usage = COpenGLBuffer::Usage::StaticDraw;
    mrpt::containers::PerThreadDataHolder<State> m_state;

    // construction

    RAII_Impl();

    //
methods

    void create(
        unsigned int width,
        unsigned int height,
        int nSamples
        );

    void destroy();
    FrameBufferBinding bind();
    void unbind();
};