常量
以下常量可在全局范围内使用。
-
图片来源为
UIImage。声明
Objective-C
static const GMLImageSourceType GMLImageSourceTypeImage = 0 -
图片来源为
CVPixelBuffer。声明
Objective-C
static const GMLImageSourceType GMLImageSourceTypePixelBuffer = 1 -
图片来源为
CMSampleBuffer。声明
Objective-C
static const GMLImageSourceType GMLImageSourceTypeSampleBuffer = 2