BitsPlusClut2Texture - aleslab/Psychtoolbox-3-aleslab-fork GitHub Wiki

texturePtr = BitsPlusClut2Texture(windowPtr, clut)

Generates a PsychToolbox texture containing the CLUT + magic code
required to set the clut in Bits++ mode.

'clut' should be a 256x3 matrix consisting of values in the range
specified by Screen('ColorRange'), which is by default [0, 255].

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/BitsPlusToolbox/BitsPlusClut2Texture.m
⚠️ **GitHub.com Fallback** ⚠️