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