function getApproximateTextureMemoryByteLength(
  tileCount,
  dimensions,
  types,
  componentTypes,
) {
  let textureMemoryByteLength = 0;

  const length = types.length;
  for (let i = 0; i < length; i++) {
    const type = types[i];
    const componentType = componentTypes[i];
    const componentCount = MetadataType.getComponentCount(type);

    textureMemoryByteLength +=
      Megatexture.getApproximateTextureMemoryByteLength(
        tileCount,
        dimensions,
        componentCount,
        componentType,
      );
  }

  return textureMemoryByteLength;
}
@param {number} tileCount
@param {Cartesian3} dimensions
@param {MetadataType[]} types
@param {MetadataComponentType[]} componentTypes
@private