Added DepthStencilState

This commit is contained in:
Simon Lübeß
2022-01-01 19:34:59 +01:00
parent 664ba552ea
commit b2ce560bfc
5 changed files with 170 additions and 0 deletions
@@ -75,6 +75,11 @@ namespace GlitchyEngine.Renderer
{
_rendererAPI.SetBlendState(blendState, blendFactor);
}
public static void SetDepthStencilState(DepthStencilState depthStencilState, uint8 stencilReference = 0)
{
_rendererAPI.SetDepthStencilState(depthStencilState, stencilReference);
}
[Inline]
public static void DrawIndexed(GeometryBinding geometry)