WGPUSurface Texture
Queried each frame from a WGPUSurface to get a WGPUTexture to render to along with some metadata. See Surface-Presenting for more details.
Properties
Link copied to clipboard
Link copied to clipboard
Whether the call to wgpuSurfaceGetCurrentTexture succeeded and a hint as to why it might not have.
Link copied to clipboard
The WGPUTexture representing the frame that will be shown on the surface. It is ReturnedWithOwnership from wgpuSurfaceGetCurrentTexture.