Skip to main content

bitSet2Sampler2D

bitSet2Sampler2D(source, target, vTrue, vFalse)

Convert a BitSet to 2D grid, useful for visualization purposes

Kind: global function

ParamTypeDescription
sourceBitSet
targetSampler2D
vTrueArray.<number>Value to write when bit is set
vFalseArray.<number>value to write when bit is not set