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