GlslCompileInfo.cs 605 B

1234567891011121314151617181920212223
  1. using System.Runtime.InteropServices;
  2. namespace Veldrid.SPIRV
  3. {
  4. [StructLayout(LayoutKind.Sequential, Pack = 1)]
  5. internal unsafe struct GlslCompileInfo
  6. {
  7. /// <summary>
  8. /// Element type: byte
  9. /// </summary>
  10. public InteropArray SourceText;
  11. /// <summary>
  12. /// Element type: byte
  13. /// </summary>
  14. public InteropArray FileName;
  15. public ShadercShaderKind Kind;
  16. public Bool32 Debug;
  17. /// <summary>
  18. /// Element type: NativeMacroDefinition
  19. /// </summary>
  20. public InteropArray Macros;
  21. };
  22. }