wgpu Surface Get Current Texture
Returns the WGPUTexture to render to surface this frame along with metadata on the frame. Returns NULL and WGPUSurfaceGetCurrentTextureStatus.Error if the surface is not configured.
See Surface-Presenting for more details.
Parameters
surface Texture
The structure to fill the WGPUTexture and metadata in.