DiagnosticView enum

Which of the renderer's own debug outputs a frame is asked for — the four ways RenderSettings already knows how to answer "why is the frame wrong", and the whole of what this diagnostic adds on top: reading them back as raw floats rather than as a picture nobody who is not looking at it can act on.

Not "any pass in the frame graph". ROADMAP's own phrasing reaches further than this — the output of an arbitrary node, shadow cascades named individually, overdraw. What is here is what RenderSettings genuinely exposes today: lit is the ordinary frame, normals is the surface buffer (octahedral normal in two channels, roughness in the third, view depth in world metres in the fourth — see packages/flutter3d_shaders/shaders/lib/color.glsl's own WriteSurfaceGeometry), and shadowMap/staticShadowMap are the two cube atlases the point-shadow pass fills. A per-node texture, a per-cascade break-out and an overdraw counter are none of them anywhere in RenderSettings, and building them is a wider spike than this one.

Inheritance
Available extensions

Values

lit → const DiagnosticView
normals → const DiagnosticView
shadowMap → const DiagnosticView
staticShadowMap → const DiagnosticView

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<DiagnosticView>
A constant List of the values in this enum, in order of their declaration.