protected override void Dispose(bool disposing) { if (disposing && !this._disposedValue) { _test_vao.Dispose(); _test_prog.Dispose(); this._disposedValue = true; } base.Dispose(disposing); }
protected virtual void Dispose(bool disposing) { if (disposing && !_disposed) { _light_ssbo.Dispose(); _mvp_ssbo.Dispose(); _test_vao.Dispose(); _test_prog.Dispose(); _disposed = true; } }
protected override void Dispose(bool disposing) { if (disposing && !this._disposed) { _light_ssbo.Dispose(); _mvp_ssbo.Dispose(); _test_vao.Dispose(); _test_prog.Dispose(); this._disposed = true; } base.Dispose(disposing); }
protected virtual void Dispose(bool disposing) { if (disposing && !_disposed) { _depth_pack_buffer.Dispose(); _rubiks_ssbo.Dispose(); _light_ssbo.Dispose(); _mvp_ssbo.Dispose(); _vao.Dispose(); _prog.Dispose(); _disposed = true; } }
protected virtual void Dispose(bool disposing) { if (disposing && !_disposed) { _light_ssbo.Dispose(); _mvp_ssbo.Dispose(); _cube_vao.Dispose(); _texture.Dispose(); _normalmap.Dispose(); _displacementmap.Dispose(); _parallax_prog.Dispose(); _disposed = true; } }
protected virtual void Dispose(bool disposing) { if (disposing && !_disposed) { _light_ssbo.Dispose(); _mvp_ssbo.Dispose(); _cube_vao.Dispose(); _parallax_prog.Dispose(); foreach (var tbo in _tbos) { tbo.Dispose(); } _tbos.Clear(); foreach (var generrator in _generators) { generrator.Dispose(); } _generators.Clear(); _disposed = true; } }