Objective-CclassMetalPerformanceShadersGraph
MPSGraphVariable
@interface MPSGraphVariable : MPSGraphObject <NSCopying>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classMPSGraphObject
- protocolNSCopying
Members 19
- method
+ (id)newVariableWithData:(id)arg0 dataType:(unsigned int)arg1 shape:(id)arg2; - ivar
NSData *_data;+0x8 - ivar
unsigned int _dataType;+0x20 - ivar
NSMutableArray *_mpsndarrays;+0x10 - ivar
NSArray *_shape;+0x28 - ivar
struct Value { struct ValueImpl * impl; } _value;+0x18 - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (unsigned int)dataType; - method
- (id)initVariableWithData:(id)arg0 dataType:(unsigned int)arg1 shape:(id)arg2; - method
- (id)initVariableWithData:(id)arg0 value:(Value)arg1; - method
- (id)initVariableWithMPSNDArray:(id)arg0 value:(Value)arg1; - method
- (id)mpsNDArrayWithDevice:(id)arg0; - method
- (id)shape; - method
- (Value)value; - property
@property(readonly, nonatomic) unsigned int dataType; - property
@property(readonly, copy, nonatomic) NSArray *shape; - property
@property(readonly, nonatomic) Value value;
Header
@interface MPSGraphVariable : MPSGraphObject <NSCopying> { NSData *_data; NSMutableArray *_mpsndarrays; struct Value _value; unsigned int _dataType; NSArray *_shape; } @property (nonatomic, copy, readonly) NSArray *shape; @property (nonatomic, readonly) unsigned int dataType; @property (nonatomic, readonly) struct Value value; + (id)newVariableWithData:(id)data dataType:(unsigned int)dataType shape:(id)shape; - (id)shape; - (id)copyWithZone:(struct _NSZone *)zone; - (unsigned int)dataType; - (struct Value)value; - (void).cxx_destruct; - (id).cxx_construct; - (id)initVariableWithData:(id)data dataType:(unsigned int)dataType shape:(id)shape; - (id)initVariableWithData:(id)data value:(struct Value)value; - (id)initVariableWithMPSNDArray:(id)mPSNDArray value:(struct Value)value; - (id)mpsNDArrayWithDevice:(id)device; @end