From 901a202f85184428be604e116d168d9aef09fcb6 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 25 Jan 2021 11:48:13 -0800 Subject: [PATCH] a note about async rendering --- content/Graphics/GraphicsDevice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/Graphics/GraphicsDevice.md b/content/Graphics/GraphicsDevice.md index 51f4514..6d56da7 100644 --- a/content/Graphics/GraphicsDevice.md +++ b/content/Graphics/GraphicsDevice.md @@ -24,7 +24,7 @@ var myTexture = Texture.LoadPNG(GraphicsDevice, "grass.png"); There is one last thing that the GraphicsDevice can do, and that is `Wait`. To understand waiting, you need to understand a little bit about how MoonWorks.Graphics processes rendering. -Rendering is asynchronous. This means that when you submit a command buffer, the program doesn't actually wait for the GPU to finish working on whatever commands you submitted. It just tells the GPU what to do and then keeps going with your program. This is very powerful. +Rendering is asynchronous. This means that when you submit a command buffer, the program doesn't actually wait for the GPU to finish working on whatever commands you submitted. It just tells the GPU what to do and then keeps going with your program. This is very good for performance because it means your CPU can get started working on the next frame before the current frame is even rendered. Sometimes you actually do want to wait for the GPU to be done with the work you asked it to do, like if you are grabbing a screenshot for example. This is where `Wait` comes in.