2

I have a lot of structures and have duplicates in C++ and HLSL code. What is your advise on how to share structure between HLSL and C++ parts. I think i would need file with typedefs for common types in C++ part and shared header with structures. How have you handled it?

Yola
  • 18,496
  • 11
  • 65
  • 106

0 Answers0