Files

triangle (wgpu)

Very simple but fairly complete wgpu sample application, shows how to:

  • create bind group layout
  • create render pipeline
  • setup vertex/index buffers
  • use uniform buffer with dynamic offset
  • setup depth buffer
  • handle window resizes
  • draw GUI (Dear ImGui)

image