MPSNNScaleNode(3) MetalPerformanceShaders.framework MPSNNScaleNode(3)
NAME
MPSNNScaleNode
SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNFilterNode. Inherited by MPSNNBilinearScaleNode, and MPSNNLanczosScaleNode. Instance Methods (nonnull instancetype) - initWithSource:outputSize: (nonnull instancetype) - initWithSource:transformProvider:outputSize: Class Methods (nonnull instancetype) + nodeWithSource:outputSize: (nonnull instancetype) + nodeWithSource:transformProvider:outputSize: Additional Inherited Members
Method Documentation
- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(MTLSize) size init a node to convert a MPSImage to the desired size Parameters: sourceNode A valid MPSNNImageNode size The size of the output image {width, height, depth} - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size init a node to convert a MPSImage to the desired size for a region of interest Parameters: sourceNode A valid MPSNNImageNode transformProvider If non-nil, a valid MPSImageTransformProvider that provides the region of interest size The size of the output image {width, height, depth} + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(MTLSize) size create an autoreleased node to convert a MPSImage to the desired size Parameters: sourceNode A valid MPSNNImageNode size The size of the output image {width, height, depth} + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size create an autoreleased node to convert a MPSImage to the desired size for a region of interest Parameters: sourceNode A valid MPSNNImageNode transformProvider If non-nil, a valid MPSImageTransformProvider that provides the region of interest size The size of the output image {width, height, depth}
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSNNScaleNode(3)
Mac OS X 10.12.6 - Generated Tue Oct 31 18:40:35 CDT 2017