MPSCNNUpsamplingNearest(3)
NAME
MPSCNNUpsamplingNearest
SYNOPSIS
#import <MPSCNNUpsampling.h> Inherits MPSCNNUpsampling. Instance Methods (nonnull instancetype) - initWithDevice:integerScaleFactorX:integerScaleFactorY: Additional Inherited Members
Detailed Description
This depends on Metal.framework. Specifies the nearest spatial upsampling filter.
Method Documentation
- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device(NSUInteger) integerScaleFactorX(NSUInteger) integerScaleFactorY Initialize the nearest spatial upsampling filter. Parameters: device The device the filter will run on. integerScaleFactorX The upsampling factor for the x dimension. integerScaleFactorY The upsampling factor for the y dimension. Returns: A valid MPSCNNUpsamplingNearest object or nil, if failure.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNUpsamplingNearest(3)
Mac OS X 10.12.6 - Generated Mon Oct 30 15:10:57 CDT 2017