mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-06 06:33:30 +00:00
This reverts commit 6f0b021dbf1ac6f66690eff7ae2cad2ac2c2df89. Reason for revert: breaks compilation on https://ci.chromium.org/p/chromium/builders/ci/GPU%20FYI%20Linux%20Builder%20%28dbg%29/62003 Original change's description: > Rename texture.createTextureView to createView to match WebGPU > > Bug: chromium:877147 > Change-Id: I186fc26054cc6729c859a4161c755a1133dc0bca > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6360 > Commit-Queue: Austin Eng <enga@chromium.org> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> TBR=cwallez@chromium.org,kainino@chromium.org,enga@chromium.org Change-Id: I2d337881fc05cf8128ae7ab268514ea7ef462123 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:877147 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6420 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@google.com>
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):