docs: standardize Instance creation to default()
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user