KSYGPUViewCapture Class Reference
Inherits from | GPUImageOutput |
---|---|
Declared in | KSYGPUViewCapture.h |
– initWithView:
设置需要采集的视图
- (id)initWithView:(UIView *)inputView
Parameters
inputView |
被采集的视图 |
---|
Return Value
采集实例
Declared In
KSYGPUViewCapture.h
– initWithLayer:
设置需要采集的视图图层
- (id)initWithLayer:(CALayer *)inputLayer
Parameters
inputLayer |
被采集的图层 |
---|
Return Value
采集实例
Declared In
KSYGPUViewCapture.h
– updateUsingCurrentTime
更新画面内容 使用当前时间戳
- (void)updateUsingCurrentTime
Declared In
KSYGPUViewCapture.h
– updateWithTimestamp:
更新画面内容
- (void)updateWithTimestamp:(CMTime)frameTime
Parameters
frameTime |
时间戳 |
---|
Declared In
KSYGPUViewCapture.h
updateFps
UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等)
@property int updateFps
Declared In
KSYGPUViewCapture.h