mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added refcounting to RasterizerState
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
namespace GlitchyEngine.Renderer
|
namespace GlitchyEngine.Renderer
|
||||||
{
|
{
|
||||||
public enum FillMode
|
public enum FillMode
|
||||||
@@ -49,7 +50,7 @@ namespace GlitchyEngine.Renderer
|
|||||||
public static readonly RasterizerStateDescription Default = .(.Solid, .Back, false, 0, 0f, 0f, true, false, false, false);
|
public static readonly RasterizerStateDescription Default = .(.Solid, .Back, false, 0, 0f, 0f, true, false, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RasterizerState
|
public class RasterizerState : RefCounted
|
||||||
{
|
{
|
||||||
internal GraphicsContext _context ~ _?.ReleaseRef();
|
internal GraphicsContext _context ~ _?.ReleaseRef();
|
||||||
private RasterizerStateDescription _description;
|
private RasterizerStateDescription _description;
|
||||||
|
|||||||
Reference in New Issue
Block a user