KSYGPUView Class Reference
Inherits from | UIView |
---|---|
Conforms to | GPUImageInput |
Declared in | KSYGPUView.h |
fillMode
画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio
@property (readwrite, nonatomic) GPUImageFillModeType fillMode
Declared In
KSYGPUView.h
sizeInPixels
This calculates the current display size, in pixels, taking into account Retina scaling factors
@property (readonly, nonatomic) CGSize sizeInPixels
Declared In
KSYGPUView.h
– setBackgroundColorRed:green:blue:alpha:
Handling fill mode
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent
Parameters
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)newValue
Declared In
KSYGPUView.h