/** * Finalize this shape just before it is destroyed. Should be invoked only * by a subclass or by the garbage collector. * * @throws Throwable ignored by the garbage collector */ @Override protected void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.FINE, "Finalizing Mesh {0}", Long.toHexString(meshId)); finalizeNative(meshId); }
/** * Finalize this shape just before it is destroyed. Should be invoked only * by a subclass or by the garbage collector. * * @throws Throwable ignored by the garbage collector */ @Override public void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.FINE, "Finalizing Mesh {0}", Long.toHexString(this.meshId)); if (this.meshId > 0) { this.finalizeNative(this.meshId, this.nativeBVHBuffer); } }
@Override protected void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Finalizing Mesh {0}", Long.toHexString(meshId)); finalizeNative(meshId); }
@Override protected void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Finalizing Mesh {0}", Long.toHexString(meshId)); finalizeNative(meshId); }
@Override public void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.FINE, "Finalizing Mesh {0}", Long.toHexString(this.meshId)); if (this.meshId > 0) { this.finalizeNative(this.meshId, this.nativeBVHBuffer); } }
@Override protected void finalize() throws Throwable { super.finalize(); Logger.getLogger(this.getClass().getName()).log(Level.FINE, "Finalizing Mesh {0}", Long.toHexString(meshId)); finalizeNative(meshId); }