function getPixelDataType(componentType) {
  if (
    componentType === MetadataComponentType.FLOAT32 ||
    componentType === MetadataComponentType.FLOAT64
  ) {
    return PixelDatatype.FLOAT;
  } else if (componentType === MetadataComponentType.UINT8) {
    return PixelDatatype.UNSIGNED_BYTE;
  }
}
Get the pixel data type to use in a megatexture.
TODO support more

@param {MetadataComponentType} componentType The component type of the metadata.
@returns {PixelDatatype} The pixel datatype to use for a megatexture.

@private