MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / update_

Method update_

source/MRViewer/MRRenderPointsObject.cpp:349–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349void RenderPointsObject::update_()
350{
351 if ( cachedRenderDiscretization_ != objPoints_->getRenderDiscretization() )
352 {
353 cachedRenderDiscretization_ = objPoints_->getRenderDiscretization();
354 dirty_ |= DIRTY_POSITION;
355 dirty_ |= DIRTY_RENDER_NORMALS;
356 dirty_ |= DIRTY_VERTS_COLORMAP;
357 dirty_ |= DIRTY_SELECTION;
358 }
359
360 dirty_ |= objPoints_->getDirtyFlags();
361 objPoints_->resetDirty();
362}
363
364RenderBufferRef<VertId> RenderPointsObject::loadValidIndicesBuffer_()
365{

Callers

nothing calls this directly

Calls 1

resetDirtyMethod · 0.80

Tested by

no test coverage detected