Separate handling for hlsl and fx files

This commit is contained in:
Simon Lübeß
2025-02-11 23:07:04 +01:00
parent 06b981e88a
commit 7a306cac69
52 changed files with 155 additions and 194 deletions
+16
View File
@@ -175,6 +175,22 @@ namespace GlitchyEditor
SaveScene(newScene, path);
}
}, _editorIcons.File_Scene));
Editor.Instance.ContentBrowserWindow.RegisterAssetCreator(new AssetCreator("Shader File", "New Shader", ".hlsl", new (path) =>
{
// TODO!
}, _editorIcons.File_Hlsl));
Editor.Instance.ContentBrowserWindow.RegisterAssetCreator(new AssetCreator("2D Effect", "New Effect", ".fx", new (path) =>
{
// TODO!
}, _editorIcons.File_Effect));
// TODO: 3D Effect Lit, 3D Effect unlit, etc.
/*Editor.Instance.ContentBrowserWindow.RegisterAssetCreator(new AssetCreator("3D Effect", "New Effect", ".fx", new (path) =>
{
// TODO!
}, _editorIcons.File_Effect));*/
Editor.Instance.ContentBrowserWindow.RegisterAssetCreator(new AssetCreator("Material", "New Material", ".mat", new (path) =>
{