e1f0d4e639
CommandEncoder is the replacement for CommandBufferBuilder. This commit adds the dawn.json definition for it and an initial implementation that wraps CommandBufferBuilder. This is done so that the code can be ported to CommandEncoder gradually, otherwise the commit would be too big and would risk many merge conflicts. This converts all samples and end2end tests to use CommandEncoder. BUG=dawn:8 Change-Id: If4ce86e6fb39ba4e0c2af6328d40e63be17d18c1 Reviewed-on: https://dawn-review.googlesource.com/c/4741 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> |
||
---|---|---|
.. | ||
img | ||
Camera.inl | ||
README.md | ||
glTFViewer.cpp |
README.md
Dawn glTF Viewer
This is a barebones glTF model viewer using the Dawn API. It is intended as a proof of concept for the API and is not a robust model viewer. It can load basic mesh/texture data from a few glTF sample models, such as:
- 2CylinderEngine
- BoxWithoutIndices
- Cesium Man
- Duck
- Monster
- VC (Virtual City)
Usage
build/examples/glTFViewer/glTFViewer path/to/Duck.gltf
build/examples/glTFViewer/glTFViewer path/to/Duck.gltf --backend metal
Screenshots
Duck:
VC (Virtual City):