From d91f34a820d166c44e6f3b692b50c52584fab753 Mon Sep 17 00:00:00 2001 From: nanoqsh Date: Thu, 29 Feb 2024 21:03:31 +0600 Subject: [PATCH] Update readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a8eb410..2c29d25 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ let shader = cx.make_shader(triangle); let layer = cx.make_layer(&shader, window.format()); ``` +You may notice the context creation requires async. This is WGPU specific, so you will have to add your favorite async runtime in the project. + Also create a triangle mesh that we're going to draw: ```rust // Create a mesh from vertices