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.