registerFilterName:constructor:classAttributes:
カスタムフィルタを登録します
+(void)registerFilterName:(NSString *)name: constructor:(id)anObject: classAttributes:(NSDictionary *)attributes:
解説
カスタムフィルタを登録します。
返り値
( void )
なし
引数
( NSString * )name
( id )anObject
( NSDictionary * )attributes
フレームワーク
QuartzCore
クラス
CIFilter
Class Methods
使用可能
10.4
参照
例文
[CIFilter registerFilterName: @"MyHazeRemover" constructor: self classAttributes: [NSDictionary dictionaryWithObjectsAndKeys: @"Haze Remover", kCIAttributeFilterDisplayName, [NSArray arrayWithObjects: kCICategoryColorAdjustment, kCICategoryVideo, kCICategoryStillImage, kCICategoryInterlaced, kCICategoryNonSquarePixels, nil], kCIAttributeFilterCategories, nil]];