examples: add example of instancing. #246
No reviewers
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach!246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "add-instancing-example"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I pieced together this example from the "rotating-cube" example in this repo, with hints from https://github.com/austinEng/webgpu-samples/tree/main/src/sample/instancedCube .
It works on my computer, at least. I'm completely new to webgpu and I'm doing this mainly as a way to learn. Feedback appreciated!
Nice work! It runs on my macbook too :)
I pushed a few commits for some very minor cleanup, running zig fmt, etc. but overall looks good to me!
Cool if I list you as a contributor at e.g. https://machengine.org/gpu/ ?
Thanks, I'd be happy to be listed as a contributor!