voxolith

GenerateRequest

The pool's request to a worker: one entity to generate.

Defined in: engine/src/worker/protocol.ts:11

Properties

PropertyTypeDescriptionDefined in
cache?booleanfalse: neither read nor write the worker's model cache for this request.engine/src/worker/protocol.ts:26
ctx?GenerateContextPassed to the generator (a finer voxelsPerMetre, ...).engine/src/worker/protocol.ts:24
entityId?stringOptional id for the produced entity.engine/src/worker/protocol.ts:22
generatorstringEntityGenerator.id, looked up in the worker's own registry.engine/src/worker/protocol.ts:16
idnumberCorrelates a reply with its request.engine/src/worker/protocol.ts:14
kind"generate"-engine/src/worker/protocol.ts:12
paramsunknownThe generator's parameters, as given to GeneratorPool.generate.engine/src/worker/protocol.ts:18
seednumberSeeds the injected rng, so a request is reproducible.engine/src/worker/protocol.ts:20

On this page