struct mrpt::opengl::RenderQueueElement

Overview

Each element in the queue to be rendered for each keyframe.

#include <mrpt/opengl/RenderQueue.h>

struct RenderQueueElement
{
    // fields

    const mrpt::opengl::CRenderizable* object = nullptr;
    mrpt::opengl::TRenderMatrices renderState = {};

    // construction

    RenderQueueElement();

    RenderQueueElement(
        const mrpt::opengl::CRenderizable* obj,
        const mrpt::opengl::TRenderMatrices& state
        );
};