示例#1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && !this._disposedValue)
     {
         _test_vao.Dispose();
         _test_prog.Dispose();
         this._disposedValue = true;
     }
     base.Dispose(disposing);
 }
示例#2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing && !_disposed)
     {
         _light_ssbo.Dispose();
         _mvp_ssbo.Dispose();
         _test_vao.Dispose();
         _test_prog.Dispose();
         _disposed = true;
     }
 }
示例#3
0
 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);
 }
示例#4
0
 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;
     }
 }
示例#5
0
 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;
     }
 }
示例#6
0
 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;
     }
 }