wgpu Surface Get Capabilities
fun wgpuSurfaceGetCapabilities(surface: WGPUSurface, adapter: WGPUAdapter, capabilities: Pointer<WGPUSurfaceCapabilities>): WGPUStatus
Provides information on how adapter is able to use surface. See Surface-Capabilities for more details.
Parameters
adapter
The WGPUAdapter to get capabilities for presenting to this WGPUSurface.
capabilities
The structure to fill capabilities in. It may contain memory allocations so wgpuSurfaceCapabilitiesFreeMembers must be called to avoid memory leaks.