struct mrpt::opengl::CompiledScene::SharedProxies

Overview

The GPU proxies of an object, shared by all its occurrences in the scene graph, so its buffers are uploaded (and updated) only once.

struct SharedProxies
{
    // fields

    std::weak_ptr<const CVisualObject> obj;
    std::vector<RenderableProxy::Ptr> proxies;
    uint64_t dataVersion = 0;
};

Fields

uint64_t dataVersion = 0

CVisualObject::dataVersion() uploaded to the proxies.