In Metal Shader, you can replace the color you want to make transparent by comparing it with a literal color using the texture2d and its sampling coordinates passed to the fragment shader.
Category: iOS
AVCaptureMovieFileOutput and AVAssetWriter are both APIs for recording video on iOS / Mac devices, are both int AVFoundation, but they have some differences.
Lately, Apple announced the M1 chip, releasing the M1, or Arm, versions of the three machines, the Macbook Air, Macbook PRO 13, and Mac mini. Apple called the M1 chip Apple Silicon.
In fact, as developers, we knew about this much earlier. Then we also got our hands on the DTK to test the compatibility of the ARM CPU for Macs and Mac OS and our own Mac software.
This year Apple’s iPhone 12 flagship model comes with LIDAR. Many people have actually heard of LIDAR, and Apple’s press conference also mentioned it, but I actually found that many people don’t understand what it’s all about.