Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
ActivateWithPass ( int pass, |
||
CreatePrograms ( ) : void |
Méthode | Description | |
---|---|---|
UpdateMarginsAndPasses ( ) : void | ||
UpdateParamaters ( int pass, int texWidth, int texHeight ) : void |
protected ActivateWithPass ( int pass, |
||
pass | int | |
texture | ||
mvpMatrix | Matrix | |
Résultat | void |
public BlurFilter ( float blur = 1.0f, float resolution = 1.0f ) : System | ||
blur | float | |
resolution | float | |
Résultat | System |
public SetUniformColor ( bool enable, uint color = 0x000000, float alpha = 1.0f ) : void | ||
enable | bool | |
color | uint | |
alpha | float | |
Résultat | void |