Can I visualize a MTLTexture in debug?

Viewed 26
1 Answers

You can add a breakpoint before calling buffer.commit() that you expect the MTLTexture should have some value. If you have two or more command queues, you can label your queue before capturing.

queue.label = "Make Integral"

When the breakpoint is active, then you can now capture and set the scope associate with the label.

enter image description here

Related