Shader.generated.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Rendering
  7. * @{
  8. */
  9. /// <summary>
  10. /// Contains definitions of GPU programs used for rendering, as well as a set of global parameters to control those
  11. /// programs.
  12. /// </summary>
  13. [ShowInInspector]
  14. public partial class Shader : Resource
  15. {
  16. private Shader(bool __dummy0) { }
  17. protected Shader() { }
  18. /// <summary>Returns a reference wrapper for this resource.</summary>
  19. public RRef<Shader> Ref
  20. {
  21. get { return Internal_GetRef(mCachedPtr); }
  22. }
  23. /// <summary>Returns information about all parameters available in the shader.</summary>
  24. [ShowInInspector]
  25. public ShaderParameter[] Parameters
  26. {
  27. get { return Internal_getParameters(mCachedPtr); }
  28. }
  29. /// <summary>Returns a reference wrapper for this resource.</summary>
  30. public static implicit operator RRef<Shader>(Shader x)
  31. { return Internal_GetRef(x.mCachedPtr); }
  32. [MethodImpl(MethodImplOptions.InternalCall)]
  33. private static extern RRef<Shader> Internal_GetRef(IntPtr thisPtr);
  34. [MethodImpl(MethodImplOptions.InternalCall)]
  35. private static extern ShaderParameter[] Internal_getParameters(IntPtr thisPtr);
  36. }
  37. /** @} */
  38. }