forked from Misaki/GhostEngine
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:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user