renderer: Add supercircular window corners (#8943)
renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
This commit is contained in:
parent
b0bae15499
commit
a5c14370c1
26 changed files with 228 additions and 173 deletions
|
|
@ -35,6 +35,9 @@ class CSurfacePassElement : public IPassElement {
|
|||
// for custom round values
|
||||
int rounding = -1; // -1 means not set
|
||||
|
||||
// for custom rounding powers
|
||||
float roundingPower = 2.0f;
|
||||
|
||||
// for blurring
|
||||
bool blur = false;
|
||||
bool blockBlurOptimization = false;
|
||||
|
|
@ -79,4 +82,4 @@ class CSurfacePassElement : public IPassElement {
|
|||
SRenderData data;
|
||||
|
||||
CBox getTexBox();
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue