Start of async asset loading

- Refactored content manager and asset loaders
- Asset placeholder
- Error asset
This commit is contained in:
Simon Lübeß
2023-03-18 18:59:30 +01:00
parent 7b6662cbc4
commit 50714976e9
11 changed files with 329 additions and 321 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ namespace GlitchyEditor
public this(String texturePath, Vector2 iconSize)
{
_texture = Content.LoadAsset(texturePath);//new Texture2D(texturePath);
_texture = Content.LoadAsset(texturePath, null, true);
Vector2 pen = .();