Draw something customized on Mac

Hi!
If I want to draw something customized on RhinoView, I can use OpenGL on Windows easily, but if I want to do the same thing on Mac, I can’t. Is it impossible to provide a Drawable and a CAMetalLayer or something else for drawing? Could you give me any ideas? :grin:
Thank you!
Yi.

Hi @Lian,

Can you give an example of something you want to draw?

Is this something you cannot do with a DisplayConduit?

– Dale

Yes, for example, I want to obtain depth buffer data in OpenGL to perform custom calculations and rendering.
I would like to integrate custom immediate-mode UIs, such as ImGui. It’s easy to do on Windows, but I can’t achieve the same on macOS.

Can you provide a little more detail? What are you working on?

Thanks,

– Dale