mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
RenderTargetGroup
This commit is contained in:
@@ -53,11 +53,21 @@ namespace GlitchyEngine.Renderer
|
||||
_rendererAPI.Clear(renderTarget, options, color, depth, stencil);
|
||||
}
|
||||
|
||||
public static void Clear(RenderTargetGroup renderTarget, ClearOptions options, ColorRGBA? color = null, float? depth = null, uint8? stencil = null)
|
||||
{
|
||||
_rendererAPI.Clear(renderTarget, options, color, depth, stencil);
|
||||
}
|
||||
|
||||
public static void SetRenderTarget(RenderTarget2D renderTarget, int slot = 0, bool setDepthBuffer = false)
|
||||
{
|
||||
_rendererAPI.SetRenderTarget(renderTarget, slot, setDepthBuffer);
|
||||
}
|
||||
|
||||
public static void SetRenderTargetGroup(RenderTargetGroup renderTarget, bool setDepthBuffer = true)
|
||||
{
|
||||
_rendererAPI.SetRenderTargetGroup(renderTarget, setDepthBuffer);
|
||||
}
|
||||
|
||||
public static void SetDepthStencilTarget(DepthStencilTarget target)
|
||||
{
|
||||
_rendererAPI.SetDepthStencilTarget(target);
|
||||
|
||||
Reference in New Issue
Block a user