forked from Misaki/GhostEngine
Continue working on RHI
This commit is contained in:
25
Ghost.Graphics/RHI/IPipelineStateController.cs
Normal file
25
Ghost.Graphics/RHI/IPipelineStateController.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Ghost.Graphics.Data;
|
||||
|
||||
namespace Ghost.Graphics.RHI;
|
||||
|
||||
public interface IShaderPipeline
|
||||
{
|
||||
/// <summary>
|
||||
/// Pipeline type
|
||||
/// </summary>
|
||||
PipelineType Type
|
||||
{
|
||||
get;
|
||||
}
|
||||
}
|
||||
|
||||
public interface IPipelineStateController
|
||||
{
|
||||
public void ColectionShader(ReadOnlySpan<Shader> shaders);
|
||||
|
||||
public void CompileCollected();
|
||||
|
||||
public void PreCookPipelineState();
|
||||
|
||||
public IShaderPipeline GetShaderPipeline(Shader shader);
|
||||
}
|
||||
Reference in New Issue
Block a user