Add a layer to a layerMask
Tags
Remove a layer from a layerMaskTo remove a layer from a layermask, use the logical AND operator on the original layermask and the bitwise complement of the layer to remove it.
originalLayerMask &= ~(1 << layerToRemove);
Additional resources
Add a layer to a layerMask
Tags
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