aboutsummaryrefslogtreecommitdiff
path: root/Unicity.Renderer/Shapes/Shape.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Unicity.Renderer/Shapes/Shape.cs')
-rw-r--r--Unicity.Renderer/Shapes/Shape.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Unicity.Renderer/Shapes/Shape.cs b/Unicity.Renderer/Shapes/Shape.cs
index b051a89..8e6e322 100644
--- a/Unicity.Renderer/Shapes/Shape.cs
+++ b/Unicity.Renderer/Shapes/Shape.cs
@@ -1,17 +1,17 @@
using System;
-using static Unicity.Renderer.GraphicsRenderer;
namespace Unicity.Renderer.Shapes
{
public class Shape : IDisposable
{
- protected uint[] buffers = new uint[1];
-
- public void Dispose()
+ internal virtual void Draw(Shader shader, GraphicsRenderer renderer)
{
- GL.DeleteBuffers(1, buffers);
+
}
- internal virtual void Render() { }
+ public virtual void Dispose()
+ {
+
+ }
}
}