flutter3d_conformance_render 1.0.0-rc.2
flutter3d_conformance_render: ^1.0.0-rc.2 copied to clipboard
The render checks of flutter3d's conformance suite: what a plugin adds to the frame, drawn on a backend. Apart from flutter3d_conformance because it needs the renderer.
1.0.0-rc.2 #
- Five more render checks.
render.drawList,render.lod,render.skinning,render.computeandrender.codec, each set throughPluginRenderPoints(PluginCodecPointfor an image format), andrender.nodesholds the points to every node the plugin places. - A check draws once what the install started has landed. A stage
waits for the compute placements and for the stages
RuntimeShaderscompiles before its first frame, so a compute step is no longer missing fromrender.nodesas pending; a node the device refuses with the typed refusal, and the reader it starves, pass asrender.computedoes. - A data plugin through the same checks.
registrieshands the plugin what an application gives it beside the renderer (RenderCheckRegistries), andengineBackendthe backend the engine says it draws with, so a.f3dplugin's render steps and its Wasm render nodes install and are drawn. - A node is held to its picture where it says it draws.
PluginRenderPoints.drawnnames the nodes whose output reaches the picture, and on a device that drawsrender.nodesfails when the frame they ran in is the frame drawn once the plugin is off. A recording fake is held to which nodes ran, as before. - Breaking: the render checks are named like tools.
render.lit model,render.lit model defaultsandrender.light typearerender.litModel,render.litModelDefaultsandrender.lightType; the other four keep their names. A check name is data: thecheckfield of a conformance report, an entry of a suite, the word a test runner's name is matched by. A space in it was the one thing in the engine's names a reader had to quote, and after 1.0 a rename would break every report reader. A structure rule holds every check name to the words ofToolName.pattern, and every render check torender.<word>. render.lit model defaults(new, 7 checks): a box drawn through a plugin's lit model by a material that sets nothing is the box drawn with every member at its declared default and every texture of its own white.- The render checks run on a GPU backend.
device:is aRenderCheckDevice, which may open with anawaitas WebGPU does, andmaterials:(aRenderCheckMaterials) hands the renderer the plugin's stages loaded from its bundle on that device, consulted before the device's own. - New: the render checks, as a package of their own.
runPluginRenderConformanceandcheckPluginRenderdraw a plugin's points in the frame on a backend, named byPluginRenderPoints: its nodes run and stop with it, its lit model draws with every block and texture of its slot table reaching the stage, its light type lights a box on its own, its decal stage paints, its velocity reader runs after the camera velocity, and its shadow producers run. A device that draws no picture is held to the structure and the rest is declined. They werepackage:flutter3d_conformance/plugin_render.dartbefore this release was published; they need the renderer,flutter3d_core, andflutter3d_conformance, which every backend takes as a dev dependency, no longer does.