Skip to main content

flutter3d_conformance_render 1.0.0-rc.2 copy "flutter3d_conformance_render: ^1.0.0-rc.2" to clipboard
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.compute and render.codec, each set through PluginRenderPoints (PluginCodecPoint for an image format), and render.nodes holds 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 RuntimeShaders compiles before its first frame, so a compute step is no longer missing from render.nodes as pending; a node the device refuses with the typed refusal, and the reader it starves, pass as render.compute does.
  • A data plugin through the same checks. registries hands the plugin what an application gives it beside the renderer (RenderCheckRegistries), and engineBackend the 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.drawn names the nodes whose output reaches the picture, and on a device that draws render.nodes fails 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 defaults and render.light type are render.litModel, render.litModelDefaults and render.lightType; the other four keep their names. A check name is data: the check field 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 of ToolName.pattern, and every render check to render.<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 a RenderCheckDevice, which may open with an await as WebGPU does, and materials: (a RenderCheckMaterials) 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. runPluginRenderConformance and checkPluginRender draw a plugin's points in the frame on a backend, named by PluginRenderPoints: 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 were package:flutter3d_conformance/plugin_render.dart before this release was published; they need the renderer, flutter3d_core, and flutter3d_conformance, which every backend takes as a dev dependency, no longer does.
0
likes
140
points
72
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Topics

#graphics #gpu #testing #conformance

License

MIT (license)

Dependencies

flutter3d_conformance, flutter3d_core, flutter3d_foundation, flutter3d_hardware, flutter3d_plugin_api, flutter3d_sim, test, vector_math

More

Packages that depend on flutter3d_conformance_render