#import <BNBEffect.h>
Instance Methods | |
(nonnull NSString *) | - url |
Thread-safe. More... | |
(void) | - callJsMethod:params: |
Adds js method call to call queue. More... | |
(void) | - reset |
reset effect state MUST be called from the render thread More... | |
Definition at line 7 of file BNBEffect.h.
- (void) callJsMethod: | (nonnull NSString *) | methodName | |
params: | (nonnull NSString *) | params | |
Adds js method call to call queue.
Queue is performed during the draw operation. If there is an effect in loading state, all calls will be performed when the effect loading is finished. Thread-safe. May be called from any thread
methodName | JS global function name. Member functions are not supported. |
params | Function arguments as JSON string. |
- (void) reset |
reset effect state MUST be called from the render thread
- (nonnull NSString *) url |
Thread-safe.
May be called from any thread