Share constants with Swift through Metal bridging header?

Hi there,

I can't find a way to share constants, e.g. an int with Swift via a bridging header. I have tried a number of ways. Would love a simple no or an explanation for how to do this, so I can ideally share some constants used by the CPU and GPU.

Thank you!

Share constants with Swift through Metal bridging header?
 
 
Q