Added basic support for instanced rendering

This commit is contained in:
Simon Lübeß
2021-05-30 19:37:23 +02:00
parent 0f2c481616
commit ae290936b9
6 changed files with 29 additions and 3 deletions
@@ -30,5 +30,11 @@ namespace GlitchyEngine.Renderer
{
_rendererAPI.DrawIndexed(geometry);
}
[Inline]
public static void DrawIndexedInstanced(GeometryBinding geometry)
{
_rendererAPI.DrawIndexedInstanced(geometry);
}
}
}