diff options
| author | Adrian Ulbrich <adrian.ulbrich.2003@gmail.com> | 2019-11-06 21:07:49 +0100 |
|---|---|---|
| committer | Adrian Ulbrich <adrian.ulbrich.2003@gmail.com> | 2019-11-06 21:07:49 +0100 |
| commit | e63155370c817a1d9c16ef798b0a55e6fe328941 (patch) | |
| tree | ab4a65ab60f2e547008eb6c1fe409633521bbf1f /Unicity.Renderer/Shapes/Shape.cs | |
| parent | 5d4b4023bddd12e27c6756793aea2ff36d49e124 (diff) | |
| download | Unicity-e63155370c817a1d9c16ef798b0a55e6fe328941.tar.gz Unicity-e63155370c817a1d9c16ef798b0a55e6fe328941.tar.bz2 Unicity-e63155370c817a1d9c16ef798b0a55e6fe328941.zip | |
3d support
Diffstat (limited to 'Unicity.Renderer/Shapes/Shape.cs')
| -rw-r--r-- | Unicity.Renderer/Shapes/Shape.cs | 12 |
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() + { + + } } } |
