Replaced RefCounted with RefCounter

This commit is contained in:
Simon Lübeß
2021-10-13 09:52:12 +02:00
parent 2cd9ab3e69
commit 84daee95e4
18 changed files with 60 additions and 25 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Collections;
using GlitchyEngine.Core;
namespace GlitchyEngine.Renderer
{
@@ -89,7 +90,7 @@ namespace GlitchyEngine.Renderer
public bool Exists(String effectName) => _effects.ContainsKey(effectName);
}
public class Effect : RefCounted
public class Effect : RefCounter
{
protected GraphicsContext _context ~ _?.ReleaseRef();
internal VertexShader _vs ~ _?.ReleaseRef();