forked from Misaki/GhostEngine
Refactoring Rendering backend
This commit is contained in:
24
Ghost.Graphics/RHI/IPipelineLibrary.cs
Normal file
24
Ghost.Graphics/RHI/IPipelineLibrary.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Ghost.Core;
|
||||
using Ghost.Graphics.Data;
|
||||
|
||||
namespace Ghost.Graphics.RHI;
|
||||
|
||||
public interface IShaderPipeline
|
||||
{
|
||||
/// <summary>
|
||||
/// Pipeline type
|
||||
/// </summary>
|
||||
PipelineType Type
|
||||
{
|
||||
get;
|
||||
}
|
||||
}
|
||||
|
||||
public interface IPipelineLibrary
|
||||
{
|
||||
public void CompileShader(Identifier<Shader> id, string shaderPath);
|
||||
|
||||
public void PreCookPipelineState();
|
||||
|
||||
public IShaderPipeline GetShaderPipeline(Identifier<Shader> id);
|
||||
}
|
||||
Reference in New Issue
Block a user