Reads bytes written by serializeTraceScene into a TraceSceneData
ready for uploadTraceScene (or createCpuTracer). The buffers are
copies, so bytes may be reused. Throws, saying why, on anything that
isn't a whole scene of this package's versions: another magic (a tree file
says to use deserializeLayout), another scene format or GPU layout
version (bake again), a format it doesn't know, a size that doesn't add up,
or a scene deeper than the walk's stack.
Reads bytes written by serializeTraceScene into a
TraceSceneDataready foruploadTraceScene(orcreateCpuTracer). The buffers are copies, sobytesmay be reused. Throws, saying why, on anything that isn't a whole scene of this package's versions: another magic (a tree file says to usedeserializeLayout), another scene format or GPU layout version (bake again), a format it doesn't know, a size that doesn't add up, or a scene deeper than the walk's stack.