     resourceBrowserPreview.QueueUpdate();
 }
 
+class ResourceType
+{
+    int id;
+    String name;
+    ResourceType(int id_, String name_)
+    {
+        id = id_;
+        name = name_;
+    }
+    int opCmp(ResourceType@ b)
+    {
+        return name.opCmp(b.name);
+    }
+}

        return "Texture 3D";
    else if (resourceType == RESOURCE_TYPE_CUBEMAP)
        return "Cubemap";
    else
        return "";
}

const StringHash XML_TYPE_2D_PARTICLE_EFFECT("particleEmitterConfig");
const StringHash XML_TYPE_TEXTURE_3D("texture3d");
const StringHash XML_TYPE_CUBEMAP("cubemap");
const StringHash XML_TYPE_SPRITER_DATA("spriter_data");

const StringHash BINARY_TYPE_SCENE("USCN");
const StringHash BINARY_TYPE_PACKAGE("UPAK");
