예제 #1
0
 public void Dispose()
 {
     Loaded = false;
     ClearVertices();
     VerticesCount = 0;
     _vao?.Dispose();
     _vao = null;
     _vbo?.Dispose();
     _vbo = null;
 }
예제 #2
0
 public void Dispose()
 {
     Loaded = false;
     Objects?.Clear();
     Objects       = null;
     VerticesCount = 0;
     _vao?.Dispose();
     _vao = null;
     _vbo?.Dispose();
     _vbo = null;
 }
예제 #3
0
 public void Dispose()
 {
     _vao.Dispose();
     _vbo.Dispose();
 }