I’m trying to show HDR photos on iOS utilizing CAMetalLayer
/MTKView
. I see CALayers comparable to AVCaptureVideoPreviewLayer
or AVPlayerLayer
have the aptitude to show HDR content material. Nonetheless, it seems these layers may be utilizing EDR APIs to attain this. Nonetheless this reply by an Apple Engineer suggests it isn’t doable to totally show it in MTKView
.
I suppose iPhone show is probably not absolutely able to displaying HDR photos and could also be doing a little form of tone mapping from HDR to EDR (which is claimed to be Apple’s personal HDR illustration).
I want to know if capabilities of MTKView
are restricted in comparison with builtin CALayer
subclasses comparable to AVCaptureVideoPreviewLayer
or AVPlayerLayer
so far as displaying HDR content material is worried? This WWDC video suggests HDR content material may be displayed appropriately (or as finest as any CALayer
can show).