I am trying to write a Pixelshader for a curve effect in Direct2d.
A curve effect maps each color channel value to a different value by using a look up table.
For this effect I would need to pass 3 arrays to the effect. Each array has 256 entries to map the specific color channel.
How can I pass these arrays to a Pixel shader (i.e. Direct2d Effect)?