A gradient upsampling filter that samples the pixel nearest to the source when upsampling to the destination pixel.
SDKs
- iOS 11.3+
- macOS 10.13.4+
- Mac Catalyst 13.0+
- tvOS 11.3+
Framework
- Metal Performance Shaders
Declaration
@interface MPSCNNUpsamplingNearestGradient : MPSCNNUpsampling Gradient