Set a layerMask
Remove a layer from a layerMask
Add a layer to a layerMaskTo add a layer to a layermask, use the logical OR operator on the original layermask and the layer to add.
originalLayerMask |= (1 << layerToAdd);
Additional resources
Set a layerMask
Remove a layer from a layerMask
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4