wgpuSurfaceGetCurrentTexture

actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)
expect fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)

Returns the @ref WGPUTexture to render to surface this frame along with metadata on the frame. Returns NULL and @ref WGPUSurfaceGetCurrentTextureStatus_Error if the surface is not configured.

See @ref Surface-Presenting for more details.

Parameters

surfaceTexture

The structure to fill the @ref WGPUTexture and metadata in.

actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)
actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)