Manual constant buffer binding

This commit is contained in:
Simon Lübeß
2022-06-13 14:10:54 +02:00
parent a926ef4af2
commit eb03eca4dd
7 changed files with 125 additions and 69 deletions
@@ -121,5 +121,10 @@ namespace GlitchyEngine.Renderer
{
_rendererAPI.UnbindTextures();
}
public static void BindConstantBuffer(Buffer buffer, int slot, ShaderStage stage)
{
_rendererAPI.BindConstantBuffer(buffer, slot, stage);
}
}
}