docs: standardize Instance creation to default()

This commit is contained in:
2026-05-30 20:20:56 -05:00
parent 8ee04f9dce
commit cad48bd58d

View File

@@ -52,7 +52,7 @@ The rasterizer's automatic blending of vertex shader outputs across the surface
## Instance
The root wgpu object representing the connection to the system's graphics drivers. Created via `Instance::new()`, the instance discovers available [[adapter]](#adapter)s and manages [[surface]](#surface) creation. It is the first object created in the wgpu initialization chain.
The root wgpu object representing the connection to the system's graphics drivers. Created via `Instance::default()`, the instance discovers available [[adapter]](#adapter)s and manages [[surface]](#surface) creation. It is the first object created in the wgpu initialization chain. (Note: `Instance::default()` calls `Instance::new(Default::default())` internally; both forms produce an equivalent instance.)
## Loadop