RenderAPI changes and removed Context parameter from Effect and Material

This commit is contained in:
Simon Lübeß
2022-11-27 17:18:16 +01:00
parent d47ac23e1b
commit dffd43a36f
14 changed files with 89 additions and 52 deletions
@@ -128,5 +128,15 @@ namespace GlitchyEngine.Renderer
{
_rendererAPI.BindConstantBuffer(buffer, slot, stage);
}
public static void BindVertexShader(VertexShader vertexShader)
{
_rendererAPI.BindVertexShader(vertexShader);
}
public static void BindPixelShader(PixelShader pixelShader)
{
_rendererAPI.BindPixelShader(pixelShader);
}
}
}