Interface Disposable

Disposable classes that contains resources (WasmMemory, GPU buffer) which needs to be explicitly disposed.

Hierarchy

  • Disposable

Implemented by

Properties

Properties

dispose: (() => void)

Type declaration

    • (): void
    • Dispose the internal resource This function can be called multiple times, only the first call will take effect.

      Returns void

Generated using TypeDoc