Hằng số
Các hằng số sau đây có sẵn trên toàn cầu.
-
Nguồn hình ảnh là
UIImage
.Khai báo
Objective-C
static const GMLImageSourceType GMLImageSourceTypeImage = 0
-
Nguồn hình ảnh là
CVPixelBuffer
.Khai báo
Objective-C
static const GMLImageSourceType GMLImageSourceTypePixelBuffer = 1
-
Nguồn hình ảnh là
CMSampleBuffer
.Khai báo
Objective-C
static const GMLImageSourceType GMLImageSourceTypeSampleBuffer = 2