registerDebugArray
registerDebugArray(
name,ref,kind,opts?):void
Defined in: packages/three-flatland/src/debug/debug-sink.ts:112
Publish (or re-publish) a named CPU array to the devtools pane.
Holds a reference; the host keeps mutating its own buffer. Call
touchDebugArray(name) when you mutate in place so the provider
knows to re-send on the next batch. Replacing the buffer (new
ref) calls touchDebugArray implicitly.
Safe to call any time — no-op when devtools isn’t bundled.
Parameters
Section titled “Parameters”string
Uint32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Int32Array<ArrayBufferLike>
RegistryEntryKind
label?
Section titled “label?”string
length?
Section titled “length?”number
Returns
Section titled “Returns”void