Shader.generated.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. public partial class Shader : Resource
  14. {
  15. private Shader(bool __dummy0) { }
  16. protected Shader() { }
  17. /// <summary>Returns a reference wrapper for this resource.</summary>
  18. public RRef<Shader> Ref
  19. {
  20. get { return Internal_GetRef(mCachedPtr); }
  21. }
  22. /// <summary>Returns information about all parameters available in the shader.</summary>
  23. public ShaderParameter[] Parameters
  24. {
  25. get { return Internal_getParameters(mCachedPtr); }
  26. }
  27. /// <summary>Returns a reference wrapper for this resource.</summary>
  28. public static implicit operator RRef<Shader>(Shader x)
  29. { return Internal_GetRef(x.mCachedPtr); }
  30. [MethodImpl(MethodImplOptions.InternalCall)]
  31. private static extern RRef<Shader> Internal_GetRef(IntPtr thisPtr);
  32. [MethodImpl(MethodImplOptions.InternalCall)]
  33. private static extern ShaderParameter[] Internal_getParameters(IntPtr thisPtr);
  34. }
  35. /** @} */
  36. }