EffectiveAntiAliasing class final
What smoothed the edges of a frame, as opposed to what was asked for —
gfx-20n.
Two mechanisms that a caller thinks of as one setting, and one of them turns itself off. Multisampling belongs to the scene pass's attachments; the post-process pass is a node in the graph. They are asked for separately and they interact: attachments in one target must agree on sample count, so the moment anything consumes the surface buffer the scene pass stops multisampling — switch occlusion on and the edges get worse, with nothing anywhere saying why.
That is the readback this type exists for. msaaDeclined names the reason rather than leaving a caller to compare a sample count against a setting and guess.
Constructors
- EffectiveAntiAliasing({required int msaaSamples, required bool fxaa, required String? msaaDeclined, bool temporal = false})
-
const
Properties
- fxaa → bool
-
Whether the post-process pass ran.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msaaDeclined → String?
-
Why multisampling was not used, or null when it was — or when nobody
asked for it.
final
- msaaSamples → int
-
Samples the scene pass actually drew with. One means none.
final
- none → bool
-
Whether the frame got no anti-aliasing at all.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temporal → bool
-
Whether the scene was jittered and resolved across frames —
R1. On, this is the reason msaaSamples is one.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited