SmaaSettings class Rendering
Quality settings for SMAA anti-aliasing. Active when
Scene.antiAliasingMode is AntiAliasingMode.smaa. The defaults mirror
the reference implementation's high preset.
Constructors
- SmaaSettings({double threshold = 0.1, int maxSearchSteps = 16, int maxDiagonalSearchSteps = 8, double cornerRounding = 25.0})
Properties
- cornerRounding ↔ double
-
How much sharp geometric corners are kept (0 fully smoothed, 100 fully
kept), as a percentage.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDiagonalSearchSteps ↔ int
-
How far, in pixels, the diagonal line search walks each direction.
getter/setter pair
- maxSearchSteps ↔ int
-
How far, in doubled pixels, the horizontal/vertical line search walks
each direction. Caps the length of a line the pass can reconstruct.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threshold ↔ double
-
Luma contrast an edge must exceed to be detected. Lower values catch
more edges (including texture detail) at more cost; the useful band is
roughly 0.05 (overkill) to 0.2 (fast).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited