Refactor UI panels, shader logic, and project settings

Refactored Hierarchy and Inspector panels into separate controls with improved styling and modularity. Cached EngineCore in EditorShaderCompilerBridge and updated shader cache logic for correctness. Renamed static field in PropertyField for consistency. Enhanced test coverage and fixed IDisposable implementation. Added XAML debugging properties for Debug_Editor and cleaned up obsolete scripts.
This commit is contained in:
2026-05-09 15:20:22 +09:00
parent 1cc65e8218
commit e2bc68d359
11 changed files with 219 additions and 261 deletions

View File

@@ -42,6 +42,10 @@ public class ShaderLibraryTest
{
OnShaderVariantCompiled?.Invoke(variantKey, newHash);
}
public void Dispose()
{
}
}
[TestInitialize]
@@ -151,8 +155,7 @@ public class ShaderLibraryTest
{
// Arrange
using var shaderLibrary = new ShaderLibrary(null, "TestShaderCache");
ulong testShaderId = 111;
var scope = AllocationManager.CreateStackScope();
var testShaderId = 111UL;
// Act
var result = shaderLibrary.GetCompiledCache(testShaderId, 99);
@@ -160,7 +163,5 @@ public class ShaderLibraryTest
// Assert
Assert.IsFalse(result.IsSuccess);
Assert.AreEqual(Error.NotFound, result.Error);
scope.Dispose();
}
}