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.
22 lines
421 B
C#
22 lines
421 B
C#
using Ghost.Core.Graphics;
|
|
|
|
namespace Ghost.Graphics.RHI;
|
|
|
|
public interface IShaderPipeline
|
|
{
|
|
/// <summary>
|
|
/// Pipeline type
|
|
/// </summary>
|
|
PipelineType Type
|
|
{
|
|
get;
|
|
}
|
|
}
|
|
|
|
public interface IPipelineLibrary
|
|
{
|
|
void CompilePass(IPassDescriptor descriptor);
|
|
void CompileShader(ShaderDescriptor descriptor);
|
|
void PreCookPipelineState();
|
|
void SaveLibraryToDisk(string filePath);
|
|
} |