struct mrpt::opengl::COpenGLFramebuffer::RAII_Impl

#include <mrpt/opengl/COpenGLFramebuffer.h>

struct RAII_Impl
{
    //
fields

    COpenGLBuffer::Type type;
    COpenGLBuffer::Usage usage = COpenGLBuffer::Usage::StaticDraw;
    bool m_created = false;
    unsigned int m_Framebuffer = 0;
    unsigned int m_Depth = 0;
    unsigned int m_Color = 0;
    unsigned int m_width = 0;
    unsigned int m_height = 0;
    int m_Samples = 0;
    std::thread::id m_created_from;

    // construction

    RAII_Impl();

    //
methods

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

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

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

Fields

int m_Samples = 0

In pixels.