KSYGPUView Class Reference
| Inherits from | UIView |
|---|---|
| Conforms to | GPUImageInput |
| Declared in | KSYGPUView.h |
fillMode
画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio
@property (readwrite, nonatomic) GPUImageFillModeType fillModeDeclared In
KSYGPUView.h
sizeInPixels
This calculates the current display size, in pixels, taking into account Retina scaling factors
@property (readonly, nonatomic) CGSize sizeInPixelsDeclared In
KSYGPUView.h
– setBackgroundColorRed:green:blue:alpha:
Handling fill mode
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponentParameters
redComponent |
Red component for background color |
|---|---|
greenComponent |
Green component for background color |
blueComponent |
Blue component for background color |
alphaComponent |
Alpha component for background color |
Declared In
KSYGPUView.h
– setCurrentlyReceivingMonochromeInput:
是否接收单通道输入
- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValueDeclared In
KSYGPUView.h