ImFusion SDK 4.3
LabelLock Class Reference

#include <ImFusion/Seg/Utils.h>

Convenience class for handling locked/unlocked state of labels. More...

Detailed Description

Convenience class for handling locked/unlocked state of labels.

The flags can be set one-by-one, and passed to the shader as an array of uint32_t of size 8 (totalling 256 bits). The shader must still do the bit-manipulation to retrieve the individual locking status of each label

Public Member Functions

void setLocked (uint8_t labelIndex, bool locked)
 
bool locked (uint8_t labelIndex) const
 
void setAll (bool locked)
 
const std::vector< uint32_t > & flags ()
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close