bitSet2Sampler2D
bitSet2Sampler2D(source, target, vTrue, vFalse)
Convert a BitSet to 2D grid, useful for visualization purposes
Kind: global function
Param | Type | Description |
---|---|---|
source | BitSet | |
target | Sampler2D | |
vTrue | Array.<number> | Value to write when bit is set |
vFalse | Array.<number> | value to write when bit is not set |