.TH "MPSNNScaleNode" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSNNScaleNode .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSNNFilterNode\fP\&. .PP Inherited by \fBMPSNNBilinearScaleNode\fP, and \fBMPSNNLanczosScaleNode\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:outputSize:\fP" .br .ti -1c .RI "(nonnull instancetype) \- \fBinitWithSource:transformProvider:outputSize:\fP" .br .in -1c .SS "Class Methods" .in +1c .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSource:outputSize:\fP" .br .ti -1c .RI "(nonnull instancetype) + \fBnodeWithSource:transformProvider:outputSize:\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Method Documentation" .PP .SS "\- (nonnull instancetype) initWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode(MTLSize) size" init a node to convert a \fBMPSImage\fP to the desired size .PP \fBParameters:\fP .RS 4 \fIsourceNode\fP \fBA\fP valid \fBMPSNNImageNode\fP .br \fIsize\fP The size of the output image {width, height, depth} .RE .PP .SS "\- (nonnull instancetype) initWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size" init a node to convert a \fBMPSImage\fP to the desired size for a region of interest .PP \fBParameters:\fP .RS 4 \fIsourceNode\fP \fBA\fP valid \fBMPSNNImageNode\fP .br \fItransformProvider\fP If non-nil, a valid MPSImageTransformProvider that provides the region of interest .br \fIsize\fP The size of the output image {width, height, depth} .RE .PP .SS "+ (nonnull instancetype) nodeWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode(MTLSize) size" create an autoreleased node to convert a \fBMPSImage\fP to the desired size .PP \fBParameters:\fP .RS 4 \fIsourceNode\fP \fBA\fP valid \fBMPSNNImageNode\fP .br \fIsize\fP The size of the output image {width, height, depth} .RE .PP .SS "+ (nonnull instancetype) nodeWithSource: (\fBMPSNNImageNode\fP *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size" create an autoreleased node to convert a \fBMPSImage\fP to the desired size for a region of interest .PP \fBParameters:\fP .RS 4 \fIsourceNode\fP \fBA\fP valid \fBMPSNNImageNode\fP .br \fItransformProvider\fP If non-nil, a valid MPSImageTransformProvider that provides the region of interest .br \fIsize\fP The size of the output image {width, height, depth} .RE .PP .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.