new KeyedSharedPool <DepthImage, (int width, int height)>(key => new DepthImage(key.width, key.height));
new KeyedSharedPool <EncodedImage, (int width, int height, PixelFormat pixelFormat)>(key => new EncodedImage(key.width, key.height, key.pixelFormat));
new EncodedDepthImage(key.width, key.height, key.depthValueSemantics, key.depthValueToMetersScaleFactor));
new KeyedSharedPool <Image, (int width, int height, PixelFormat format)>(key => new Image(key.width, key.height, key.format));