Skip to content

BatchTransformPipelineManager

Singleton manager that batches all active transform pipeline processes into a single Burst-compiled parallel job per frame.

Namespace: Octoputs.Transforming.Batch
Inherits: MonoBehaviour
Requires: JUNGLE_JOBS_ENABLED define

Overview

BatchTransformPipelineManager collects all registered batch pipeline operations and executes them together using Unity's Job System and Burst. It syncs transform inputs, runs a parallel job, writes outputs back, and processes completion events each frame. The manager auto-creates as a singleton with DontDestroyOnLoad. Uses swap-with-last for O(1) unregistration.

Properties

This component has no serialized fields. It is managed entirely through its static Instance property and registration API:

  • Register(...) -- registers a pipeline operation and returns a slot index.
  • Unregister(int slotIndex) -- removes a pipeline by slot index.
  • UpdateEntry(int slotIndex, BatchPipelineEntry entry) -- updates entry data for a slot.
  • GetEntry(int slotIndex) -- reads current entry data.

See Also