ac71e34d4a
Cosmetic changes to copyBufferToTexture and copyTextureToBuffer to match WebGPU IDL. Introduces BufferCopyView, TextureCopyView, TextureAspect, and Origin3D types. Bug: dawn:17 Change-Id: Ic0e7f472a9dc1353d3fc3839ff02f348bb6067e8 Reviewed-on: https://dawn-review.googlesource.com/c/2520 Commit-Queue: Brandon1 Jones <brandon1.jones@intel.com> 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):