struct mrpt::opengl::COpenGLViewport::PerThreadData

#include <mrpt/opengl/COpenGLViewport.h>

struct PerThreadData
{
    //
fields

    TRenderMatrices state;
    std::map<shader_id_t, mrpt::opengl::Program::Ptr> shaders;

    // construction

    PerThreadData();
};

Fields

TRenderMatrices state

Info updated with each “render()” and used in “get3DRayForPixelCoord”.

std::map<shader_id_t, mrpt::opengl::Program::Ptr> shaders

Default shader program.