I tried following this code:
and for working on the sample I used sample.color.AcquireAccess ....
Now everything works, when I have it set to the .color
but when I change all the respective elements to depth or IR stream type.
It does not work.. Does anyone have a similar code following that sample I linked where the IR stream works returning proper bitmaps?
For more complete information about compiler optimizations, see our Optimization Notice.