mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Start of asset management 2.0
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using GlitchyEngine;
|
||||
using GlitchyEngine.Content;
|
||||
using GlitchyEditor.Assets;
|
||||
using GlitchyEditor.Assets.Importers;
|
||||
|
||||
namespace GlitchyEditor
|
||||
{
|
||||
@@ -36,6 +37,12 @@ namespace GlitchyEditor
|
||||
_contentManager.SetAsDefaultAssetLoader<EffectAssetLoader>(".hlsl");
|
||||
_contentManager.SetAssetPropertiesEditor<EffectAssetLoader>(=> EffectAssetPropertiesEditor.Factory);
|
||||
|
||||
_contentManager.RegisterAssetImporter<TextureImporter>();
|
||||
_contentManager.RegisterAssetProcessor<TextureProcessor>();
|
||||
_contentManager.RegisterAssetExporter<TextureExporter>();
|
||||
|
||||
_contentManager.ConfigureDefaultProcessing<TextureImporter, TextureProcessor, TextureExporter>(".png");
|
||||
|
||||
_contentManager.SetResourcesDirectory("./Resources");
|
||||
|
||||
return _contentManager;
|
||||
|
||||
Reference in New Issue
Block a user