Skip to main content

flutter3d_conformance 0.8.1 copy "flutter3d_conformance: ^0.8.1" to clipboard
flutter3d_conformance: ^0.8.1 copied to clipboard

The behaviour a flutter3d_hardware backend has to have, as tests it can run against itself. Flat: no Flutter import of its own, and flutter3d_shaders (its one dependency that used to carry the SDK in) [...]

flutter3d_conformance #

What flutter3d_hardware requires of a backend, as a suite the backend runs against itself.

void main() => runConformance(device);

An interface can only say that a call exists. This says that a clear covers the whole attachment, that uploaded pixels keep their row order, that the HDR format the backend names is really renderable, and that every stage pair the engine links does link.

The last check catches real mistakes regularly. A varying that a fragment stage reads and no vertex stage writes is a hard error in a browser, and invisible on a backend whose pipelines were linked ahead of time. The check catches on one backend a mistake that would ship on another.


Part of flutter3d, an independent implementation of a 3D engine for Flutter. It is not a fork or a binding of another engine, and it is not affiliated with the Flutter team. It has four switchable rendering backends: Impeller via Flutter GPU, WebGL2, WebGPU and a software rasteriser. It loads glTF, OBJ and .f3d, and has six lighting models, shadows, bloom, skinning, animation, BVH culling and picking, plus a deterministic fixed-step game layer with collision, navigation, positional audio, and gamepad and touch input. Four example games (shooter, platformer, racing, strategy) are each built on a genre package: flutter3d_game_shooter, flutter3d_game_platformer, flutter3d_game_racing, flutter3d_game_strategy. A new game starts from the editor's scaffold, which writes one from a template: https://flutter3d.pleion.dev/first-project/. Documentation: https://flutter3d.pleion.dev.

0
likes
140
points
556
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

The behaviour a flutter3d_hardware backend has to have, as tests it can run against itself. Flat: no Flutter import of its own, and flutter3d_shaders (its one dependency that used to carry the SDK in) no longer does either.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#graphics #gpu #testing #conformance

License

MIT (license)

Dependencies

flutter3d_hardware, flutter3d_shaders, test, vector_math

More

Packages that depend on flutter3d_conformance