Skip to content

Commit

Permalink
Update AppDemoWebGPU.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hudrima1 committed Dec 12, 2023
1 parent 64d90d9 commit 84849aa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/app_demo_webgpu/AppDemoWebGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ extern "C" void* createMetalLayer(void* window);
//-----------------------------------------------------------------------------
//! Application Struct WebGpuDemoApp with all global variables and documentation
/*!
-- Overview
**Overview**
WebGPU is a graphics API standard developed by the World Wide Web Consortium (W3C). It is an abstraction layer
over modern graphics APIs like Vulkan, D3D12 and Metal and thus uses modern concepts such as queues, command buffers
Expand Down Expand Up @@ -84,7 +85,7 @@ downloaded from CMake. Since wgpu-native uses the same interface header as Dawn,
link Dawn instead of wgpu-native, but we would have to build and distribute it ourselves.
-- Usage
**Usage**
WebGPU follows a stateless design as opposed to OpenGL, where much state has to be set globally before making a
draw call. To use WebGPU, we create objects with a call to wgpu*Create*. This function generally takes the parent
Expand Down Expand Up @@ -214,7 +215,7 @@ WebGPU concepts:
wgpuCommandEncoderBeginRenderPass.
-- WebGPU vs. Vulkan
**WebGPU vs. Vulkan**
Here's a list of things I've noticed are handled differently from Vulkan (as of 2023-11-26):
Expand Down

0 comments on commit 84849aa

Please sign in to comment.