ShaderParameter.generated.cs 685 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Rendering
  7. * @{
  8. */
  9. /// <summary>Contains information about a single shader parameter.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct ShaderParameter
  12. {
  13. /// <summary>Name of the parameter variable.</summary>
  14. public string name;
  15. /// <summary>Data type of the parameter.</summary>
  16. public ShaderParameterType type;
  17. /// <summary>
  18. /// Determines is parameter managed internally be the renderer, or is it expected to be set by the user.
  19. /// </summary>
  20. public bool isInternal;
  21. }
  22. /** @} */
  23. }