Dispose() public method

public Dispose ( ) : void
return void
示例#1
0
 public void Dispose()
 {
     try
     {
         Context.CheckError();
     }
     finally
     {
         GL.BindVertexArray(array.Id);
         context.Dispose();
     }
 }
示例#2
0
		public void Dispose() {
			Context.CheckError();
			GL.UseProgram(Device.Program != null ? Device.Program.Id : 0);
			contextLock.Dispose();
		}
示例#3
0
 public void Dispose()
 {
     sharedLock.Dispose();
 }