0

For example, let's say I have "HLSLStructureTest.hlsl", and I want to have a binary file "HLSLStructureTestBytecode.bin" which contains the byte code for my compiled shader. Is there maybe an option I can include when running FXC.exe to get that? Or some other thing I'd need to do?

Thanks!

MNagy
  • 423
  • 7
  • 20

1 Answers1

1

You're looking for the /Fo <file> switch, which outputs to an "object file" that contains the shader bytecode.

MooseBoys
  • 6,641
  • 1
  • 19
  • 43