From f109a6966a59b7c64571a8fcc2a839c854bd9dd7 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Tue, 4 Mar 2025 17:56:10 -0500 Subject: [PATCH] Rename `custom_backend` example --- examples/README.md | 8 +++++--- .../{03_custom_backend => custom_backend}/Cargo.toml | 0 .../{03_custom_backend => custom_backend}/src/custom.rs | 0 .../{03_custom_backend => custom_backend}/src/main.rs | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename examples/standalone/{03_custom_backend => custom_backend}/Cargo.toml (100%) rename examples/standalone/{03_custom_backend => custom_backend}/src/custom.rs (100%) rename examples/standalone/{03_custom_backend => custom_backend}/src/main.rs (100%) diff --git a/examples/README.md b/examples/README.md index a45562293..9d03d0962 100644 --- a/examples/README.md +++ b/examples/README.md @@ -14,9 +14,11 @@ be cloned out of the repository to serve as a starting point for your own projec | Name | Description | Platforms | |--------|-------------|-----------| -| [hello compute](standalone/01_hello_compute/) | Simplest example and shows how to run a compute shader on a given set of input data and get the results back. | Native-Only | -| [hello window](standalone/02_hello_window/) | Shows how to create a window and render into it. | Native-Only | -| [custom backend](standalone/03_custom_backend/) | Shows how to implement and use custom wgpu context | Any | +| --- | Introductory Examples | --- | +| [1. hello compute](standalone/01_hello_compute/) | Simplest example and shows how to run a compute shader on a given set of input data and get the results back. | Native-Only | +| [2. hello window](standalone/02_hello_window/) | Shows how to create a window and render into it. | Native-Only | +| --- | Special Examples | --- | +| [custom backend](standalone/custom_backend/) | Shows how to implement and use custom wgpu context | All | You can also use [`cargo-generate`](https://github.com/cargo-generate/cargo-generate) to easily use these as a basis for your own projects. diff --git a/examples/standalone/03_custom_backend/Cargo.toml b/examples/standalone/custom_backend/Cargo.toml similarity index 100% rename from examples/standalone/03_custom_backend/Cargo.toml rename to examples/standalone/custom_backend/Cargo.toml diff --git a/examples/standalone/03_custom_backend/src/custom.rs b/examples/standalone/custom_backend/src/custom.rs similarity index 100% rename from examples/standalone/03_custom_backend/src/custom.rs rename to examples/standalone/custom_backend/src/custom.rs diff --git a/examples/standalone/03_custom_backend/src/main.rs b/examples/standalone/custom_backend/src/main.rs similarity index 100% rename from examples/standalone/03_custom_backend/src/main.rs rename to examples/standalone/custom_backend/src/main.rs