Shader.generated.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. [NativeWrapper]
  26. public ShaderParameter[] Parameters
  27. {
  28. get { return Internal_getParameters(mCachedPtr); }
  29. }
  30. /// <summary>Returns a reference wrapper for this resource.</summary>
  31. public static implicit operator RRef<Shader>(Shader x)
  32. { return Internal_GetRef(x.mCachedPtr); }
  33. [MethodImpl(MethodImplOptions.InternalCall)]
  34. private static extern RRef<Shader> Internal_GetRef(IntPtr thisPtr);
  35. [MethodImpl(MethodImplOptions.InternalCall)]
  36. private static extern ShaderParameter[] Internal_getParameters(IntPtr thisPtr);
  37. }
  38. /** @} */
  39. }