makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
Instance Methods | Class Methods | Properties | List of all members
PipeTemplate Class Reference

#import <FeatureTemplate.h>

Inherits NSObject.

Instance Methods

(id) - init
 
(NSMutableDictionary *) - ToJSON
 

Class Methods

(PipeTemplate *) + FromJSON:
 

Properties

NSMutableArray< FilterQueueTemplate * > * filters
 
NSMutableArray< MaskTemplate * > * masks
 

Detailed Description

Stores a list of blending and filtering steps required to render a makeup feature. Contains of a list of MaskTemplate objects defining custom masks which can be used as inputs in filters. Contains a list of FilterQueueTemplate objects each of which define a single step in the rendering procedure.

Method Documentation

◆ FromJSON:

+ (PipeTemplate *) FromJSON: (NSDictionary *)  jsonDictionary

Returns PipeTemplate object out of JSON dictionary.

Parameters
jsonDictionaryJSON dictionary
Returns
deserialized PipeTemplate object

◆ init

- (id) init

Initializes new PipeTemplate.

◆ ToJSON

- (NSMutableDictionary *) ToJSON

Returns JSON dictionary out of this PipeTemplate object.

Returns
JSON representation of this PipeTemplate returned as NSMutableDictionary

Property Documentation

◆ filters

- (NSMutableArray<FilterQueueTemplate *>*) filters
readwritenonatomicstrong

List storing custom mask definitions.

◆ masks

- (NSMutableArray<MaskTemplate *>*) masks
readwritenonatomicstrong

List storing blending and filtering steps of rendering procedure of a makeup feature.