Метод | Описание | |
---|---|---|
BlurFilter ( float blur = 1.0f, float resolution = 1.0f ) : System |
Initializes a blur filter with the specified blur and a resolution.
|
|
SetUniformColor ( bool enable, uint color = 0x000000, float alpha = 1.0f ) : void |
A uniform color will replace the RGB values of the input color, while the alpha value will be multiplied with the given factor. Pass false as the first parameter to deactivate the uniform color.
|
Метод | Описание | |
---|---|---|
ActivateWithPass ( int pass, |
||
CreatePrograms ( ) : void |
Метод | Описание | |
---|---|---|
UpdateMarginsAndPasses ( ) : void | ||
UpdateParamaters ( int pass, int texWidth, int texHeight ) : void |
protected ActivateWithPass ( int pass, |
||
pass | int | |
texture | ||
mvpMatrix | Matrix | |
Результат | void |
public BlurFilter ( float blur = 1.0f, float resolution = 1.0f ) : System | ||
blur | float | |
resolution | float | |
Результат | System |
public SetUniformColor ( bool enable, uint color = 0x000000, float alpha = 1.0f ) : void | ||
enable | bool | |
color | uint | |
alpha | float | |
Результат | void |