EditorBuiltin.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Runtime.CompilerServices;
  2. using BansheeEngine;
  3. namespace BansheeEditor
  4. {
  5. public static class EditorBuiltin
  6. {
  7. public static SpriteTexture FolderIcon { get { return Internal_GetFolderIcon(); } }
  8. public static SpriteTexture MeshIcon { get { return Internal_GetMeshIcon(); } }
  9. public static SpriteTexture FontIcon { get { return Internal_GetFontIcon(); } }
  10. public static SpriteTexture TextureIcon { get { return Internal_GetTextureIcon(); } }
  11. public static SpriteTexture PlainTextIcon { get { return Internal_GetPlainTextIcon(); } }
  12. public static SpriteTexture ScriptCodeIcon { get { return Internal_GetScriptCodeIcon(); } }
  13. public static SpriteTexture ShaderIcon { get { return Internal_GetShaderIcon(); } }
  14. public static SpriteTexture ShaderIncludeIcon { get { return Internal_GetShaderIncludeIcon(); } }
  15. public static SpriteTexture MaterialIcon { get { return Internal_GetMaterialIcon(); } }
  16. public static SpriteTexture SpriteTextureIcon { get { return Internal_GetSpriteTextureIcon(); } }
  17. [MethodImpl(MethodImplOptions.InternalCall)]
  18. private static extern SpriteTexture Internal_GetFolderIcon();
  19. [MethodImpl(MethodImplOptions.InternalCall)]
  20. private static extern SpriteTexture Internal_GetMeshIcon();
  21. [MethodImpl(MethodImplOptions.InternalCall)]
  22. private static extern SpriteTexture Internal_GetFontIcon();
  23. [MethodImpl(MethodImplOptions.InternalCall)]
  24. private static extern SpriteTexture Internal_GetTextureIcon();
  25. [MethodImpl(MethodImplOptions.InternalCall)]
  26. private static extern SpriteTexture Internal_GetPlainTextIcon();
  27. [MethodImpl(MethodImplOptions.InternalCall)]
  28. private static extern SpriteTexture Internal_GetScriptCodeIcon();
  29. [MethodImpl(MethodImplOptions.InternalCall)]
  30. private static extern SpriteTexture Internal_GetShaderIcon();
  31. [MethodImpl(MethodImplOptions.InternalCall)]
  32. private static extern SpriteTexture Internal_GetShaderIncludeIcon();
  33. [MethodImpl(MethodImplOptions.InternalCall)]
  34. private static extern SpriteTexture Internal_GetMaterialIcon();
  35. [MethodImpl(MethodImplOptions.InternalCall)]
  36. private static extern SpriteTexture Internal_GetSpriteTextureIcon();
  37. }
  38. }