Open utterances-bot opened 1 month ago
Thanks, very good article! But I am curious, these best practices are based on very basic rendering examples, the pipeline is fixed, not conducive to expansion of functions, which is far from a rendering "engine". An engine usually has a higher-level encapsulation of the underlying graphics API, including textures, buffers, materials, shaders, etc., and it is also necessary to create/update/destroy these resources on the GPU at the right time, which is really difficult. Can the author try to write an article to explain the best practices in the engine?
WebGPU Buffer Uploads | Toji.dev
Brandon Jones - Graphics and XR on the web
https://toji.dev/webgpu-best-practices/buffer-uploads.html