Wgpu

expect class Wgpu : AutoCloseable(source)
actual typealias Wgpu = WGPU(source)
actual typealias Wgpu = ERROR CLASS: Symbol not found for WGPU

Functions

Link copied to clipboard
expect open override fun close()
Link copied to clipboard
suspend fun Wgpu.createSurface(window: Window): Surface
fun Wgpu.createSurface(window: Window, width: UInt, height: UInt): Surface
Link copied to clipboard
suspend fun Wgpu.createSurfaceOrNull(window: Window): Surface?
expect fun Wgpu.createSurfaceOrNull(window: Window, width: UInt, height: UInt): Surface?
actual fun Wgpu.createSurfaceOrNull(window: Window, width: UInt, height: UInt): Surface?
Link copied to clipboard
fun Wgpu.requestAdapter(surface: Surface): Adapter
Link copied to clipboard
expect fun Wgpu.requestAdapterOrNull(surface: Surface): Adapter?
actual fun Wgpu.requestAdapterOrNull(surface: Surface): Adapter?