mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added basic support for instanced rendering
This commit is contained in:
@@ -30,5 +30,11 @@ namespace GlitchyEngine.Renderer
|
||||
{
|
||||
_rendererAPI.DrawIndexed(geometry);
|
||||
}
|
||||
|
||||
[Inline]
|
||||
public static void DrawIndexedInstanced(GeometryBinding geometry)
|
||||
{
|
||||
_rendererAPI.DrawIndexedInstanced(geometry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user