Separated Assets to Resources (Engine assets) and Assets (Project specific)

+ AssetHierarchy: Exposed RootNode
+ ContentBrowserWindow: Fixed Empty Folder not being Leaf-Node
+ TreeNode: Added IsParentOf, IsChildOf and IsInSubtree.
    + Fixed InternalDeleteTreeAndChildren for null trees
This commit is contained in:
Simon Lübeß
2023-07-30 20:30:06 +02:00
parent 20dae92be7
commit c1a87ed946
85 changed files with 413 additions and 240 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ class SceneRenderer
private uint32 _viewportWidth;
private uint32 _viewportHeight;
private AssetHandle _gammaCorrectEffect;
private AssetHandle<Effect> _gammaCorrectEffect;
public RenderTargetGroup CompositeTarget => _compositeTarget;
@@ -41,7 +41,7 @@ class SceneRenderer
DepthTargetDescription = .(.D24_UNorm_S8_UInt)
});
_gammaCorrectEffect = Content.LoadAsset("Shaders/GammaCorrect.hlsl");//Application.Get().EffectLibrary.Load("content/Shaders/GammaCorrect.hlsl");
_gammaCorrectEffect = Content.LoadAsset("Resources/Shaders/GammaCorrect.hlsl");
}
/// Sets the size of the viewport into which the scene will be rendered.