31 lines
623 B
Plaintext
31 lines
623 B
Plaintext
#import "PluginLayerExample.h"
|
|
|
|
@implementation PluginLayerExample
|
|
|
|
|
|
// This is the layer type in the style that is used
|
|
+(MLNPluginLayerCapabilities *)layerCapabilities {
|
|
|
|
MLNPluginLayerCapabilities *tempResult = [[MLNPluginLayerCapabilities alloc] init];
|
|
tempResult.layerID = @"plugin-layer-test";
|
|
tempResult.requiresPass3D = YES;
|
|
return tempResult;
|
|
|
|
}
|
|
|
|
// The overrides
|
|
-(void)onRenderLayer {
|
|
NSLog(@"PluginLayerExample: On Render Layer");
|
|
|
|
}
|
|
|
|
-(void)onUpdateLayer {
|
|
|
|
}
|
|
|
|
-(void)onUpdateLayerProperties:(NSDictionary *)layerProperties {
|
|
// NSLog(@"Layer Properties: %@", layerProperties);
|
|
}
|
|
|
|
@end
|