Functions§
- If the environment variable
WGPU_ADAPTER_NAME
is set, this function will attempt to initialize the adapter with that name. If it is not set, it will attempt to initialize the adapter which supports the required features. - Outputs a vector of RGBA bytes as a png image with the given dimensions on the given path.