WGPU

class WGPU(handler: WGPUInstance) : AutoCloseable

Constructors

Link copied to clipboard
constructor(handler: WGPUInstance)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun getSurfaceFromAndroidWindow(window: NativeAddress): NativeSurface?
Link copied to clipboard
fun getSurfaceFromMetalLayer(metalLayer: NativeAddress): NativeSurface?
Link copied to clipboard
fun getSurfaceFromWaylandWindow(display: NativeAddress, surface: NativeAddress): NativeSurface?
Link copied to clipboard
fun getSurfaceFromWindows(hinstance: NativeAddress, hwnd: NativeAddress): NativeSurface?
Link copied to clipboard
fun getSurfaceFromX11Window(display: NativeAddress, window: ULong): NativeSurface?
Link copied to clipboard
fun getSurfaceFromXCBWindow(connection: NativeAddress, window: UInt): NativeSurface?
Link copied to clipboard
fun requestAdapter(nativeSurface: NativeSurface, powerPreference: PowerPreference? = null): Adapter?