using System.Collections; using System.Collections.Generic; using UnityEngine; public class RenderBatch { public class CameraBatch { public enum RenderType { RGB=0, DEPTH, NORMALS, SEGMENTATION } // mapping from render type to rendered camera images public Dictionary> images_ = new Dictionary>(); } // mapping from camera name to CameraBatch instance public Dictionary camera_batches_ = new Dictionary(); } // Interface for all the consumers that receive batches of rendered images. public interface IImageBatchConsumer { void ConsumeImageBatch(RenderBatch batch); }