MPSNNBinaryArithmeticNode(3)
NAME
MPSNNBinaryArithmeticNode
SYNOPSIS
#import <MPSNNGraphNodes.h>
Inherits MPSNNFilterNode.
Inherited by MPSNNAdditionNode, MPSNNDivisionNode,
MPSNNMultiplicationNode, and MPSNNSubtractionNode.
Instance Methods
(nonnull instancetype) - initWithSources:
(nonnull instancetype) - initWithLeftSource:rightSource:
Class Methods
(nonnull instancetype) + nodeWithSources:
(nonnull instancetype) + nodeWithLeftSource:rightSource:
Additional Inherited Members
Detailed Description
virtual base class for basic arithmetic nodes
Method Documentation
- (nonnull instancetype) initWithLeftSource: (MPSNNImageNode *__nonnull)
left(MPSNNImageNode *__nonnull) right
init an arithemtic node with two sources
Parameters:
left the left operand
right the right operand
- (nonnull instancetype) initWithSources: (NSArray< MPSNNImageNode * >
*__nonnull) sourceNodes
init an arithemtic node with an array of sources
Parameters:
sourceNodes A valid NSArray containing two sources
+ (nonnull instancetype) nodeWithLeftSource: (MPSNNImageNode *__nonnull)
left(MPSNNImageNode *__nonnull) right
create an autoreleased arithemtic node with two sources
Parameters:
left the left operand
right the right operand
+ (nonnull instancetype) nodeWithSources: (NSArray< MPSNNImageNode * >
*__nonnull) sourceNodes
create an autoreleased arithemtic node with an array of sources
Parameters:
sourceNodes A valid NSArray containing two sources
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSNNBinaryArithmeticNode(3)
Mac OS X 10.12.6 - Generated Tue Oct 31 15:32:19 CDT 2017