MPSCNNUpsamplingBilinearNode(3) MetalPerformanceShaders.framework MPSCNNUpsamplingBilinearNode(3)

MPSCNNUpsamplingBilinearNode

#import <MPSNNGraphNodes.h>

Inherits MPSNNFilterNode.


(nonnull instancetype) - initWithSource:integerScaleFactorX:integerScaleFactorY:
(nonnull instancetype) - initWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:


(nonnull instancetype) + nodeWithSource:integerScaleFactorX:integerScaleFactorY:
(nonnull instancetype) + nodeWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:


double scaleFactorX
double scaleFactorY
BOOL alignCorners

Node representing a MPSCNNUpsamplingBilinear kernel

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

Init a node representing a MPSCNNUpsamplingBilinear 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 MPSCNNUpsamplingBilinear kernel.

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

Init a node representing a MPSCNNUpsamplingBilinear 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.
alignCorners Specifier whether the centers of the 4 corner pixels of the input and output regions are aligned,

Returns:

A new MPSNNFilter node for a MPSCNNUpsamplingBilinear kernel.

+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) integerScaleFactorX(NSUInteger) integerScaleFactorY

Init a autoreleased node representing a MPSCNNUpsamplingBilinear 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 MPSCNNUpsamplingBilinear kernel.

+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) integerScaleFactorX(NSUInteger) integerScaleFactorY(BOOL) alignCorners

Init a autoreleased node representing a MPSCNNUpsamplingBilinear 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.
alignCorners Specifier whether the centers of the 4 corner pixels of the input and output regions are aligned,

Returns:

A new MPSNNFilter node for a MPSCNNUpsamplingBilinear kernel.

- (BOOL) alignCorners [read], [nonatomic], [assign]

- (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