Skip to content

createNodeLink#destroy

This page documents the NodeLink.destroy method.

Summary

createNodeLink#destroy releases the nodelink's stored GPU buffers and clears runtime state. That includes pending writes, listeners, retained CPU records, counts, ndShape, and transform state. Externally supplied node or edge buffers are destroyed only when ownership was transferred with descriptor ownBuffers: true or setter option ownBuffer: true. Borrowed external buffers are detached without being destroyed; resources created by the nodelink are released with it.

Syntax

NodeLink.destroy(): void

nodeLink.destroy();

Parameters

This API does not take parameters.

Returns

void - No return value. The call destroys this nodelink's runtime state.

See Also