parity_scene library

The scene two backends are asked to draw, so their pictures can be compared.

A separate entry point, because it is a fixture and not the engine. See flutter3d's own parity_scene.dart — the barrel this package's consumers reached before mcp-03n moved the rendering core here — for why this stays out of the main barrel.

import 'package:flutter3d_core/parity_scene.dart';

Enums

ParityScene
Builds the shared comparison scene on device.

Constants

kParityGrid → const int
Cells across and down in the comparison grid.
kParityHeight → const int
kParityWidth → const int
Width and height both runs render at.

Functions

buildParityScene(GraphicsDevice device, {ParityScene which = ParityScene.plain}) → ({CameraNode camera, Scene scene})
parityGrid(List<int> rgba, int width, int height) List<int>
Average luminance per cell, 0..255, row-major from the top.
paritySettingsFor(ParityScene which) RenderSettings
The settings each fixture is drawn with.