MPSCNNUpsamplingNearestNode(3) MetalPerformanceShaders.framework MPSCNNUpsamplingNearestNode(3)

MPSCNNUpsamplingNearestNode

#import <MPSNNGraphNodes.h>

Inherits MPSNNFilterNode.


(nonnull instancetype) - initWithSource:integerScaleFactorX:integerScaleFactorY:


(nonnull instancetype) + nodeWithSource:integerScaleFactorX:integerScaleFactorY:


double scaleFactorX
double scaleFactorY

Node representing a MPSCNNUpsamplingNearest kernel

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) integerScaleFactorX(NSUInteger) integerScaleFactorY

Init a node representing a MPSCNNUpsamplingNearest kernel

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
integerScaleFactorX The upsampling factor for the x dimension.
integerScaleFactorY The upsampling factor for the y dimension.

Returns:

A new MPSNNFilter node for a MPSCNNUpsamplingNearest kernel.

Convenience initializer for an autoreleased MPSCNNUpsamplingNearest nodes

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
integerScaleFactorX The upsampling factor for the x dimension.
integerScaleFactorY The upsampling factor for the y dimension.

Returns:

A new MPSNNFilter node for a MPSCNNUpsamplingNearest kernel.

- (double) scaleFactorX [read], [nonatomic], [assign]

- (double) scaleFactorY [read], [nonatomic], [assign]

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3