Refactor and enhance codebase for maintainability

Refactored and reorganized the codebase to improve readability, performance, and maintainability. Introduced new interfaces and structs for better resource management, updated project configuration files, and refactored shader and graphics pipeline management. Improved error handling, code formatting, and removed unused code and namespaces. Updated DLL references and method signatures for consistency and maintainability.
This commit is contained in:
2025-10-22 18:46:39 +09:00
parent 6d1b510ac1
commit d2d9f5feb7
80 changed files with 2836 additions and 2198 deletions

View File

@@ -1,5 +1,4 @@
using Ghost.Core;
using Ghost.Graphics.Data;
using Ghost.Core.Graphics;
namespace Ghost.Graphics.RHI;
@@ -16,9 +15,8 @@ public interface IShaderPipeline
public interface IPipelineLibrary
{
public void CompileShader(Identifier<Shader> id, string shaderPath);
public void PreCookPipelineState();
public IShaderPipeline GetShaderPipeline(Identifier<Shader> id);
void CompilePass(IPassDescriptor descriptor);
void CompileShader(ShaderDescriptor descriptor);
void PreCookPipelineState();
void SaveLibraryToDisk(string filePath);
}