ParentFull threadryanpetrich·Alternatively, one could apply the mask on the GPU by setting CALayer's mask property.View on HN