Surface

actual class Surface : AutoCloseable
expect class Surface : AutoCloseable
actual class Surface : AutoCloseable
actual class Surface : AutoCloseable
actual class Surface : AutoCloseable
actual class Surface : AutoCloseable

Constructors

Link copied to clipboard
constructor(handler: NativeSurface, width: UInt, height: UInt)
constructor(handler: WGPUCanvasContext)
constructor(handler: NativeSurface, windowHandler: CPointer<<Error class: unknown class>>)
constructor(handler: NativeSurface, width: UInt, height: UInt)
constructor(handler: NativeSurface, windowHandler: Long)

Properties

Link copied to clipboard
actual val height: UInt
expect val height: UInt
actual val height: UInt
actual val height: UInt
actual val height: UInt
actual val height: UInt
Link copied to clipboard
actual val supportedAlphaMode: Set<CompositeAlphaMode>
expect val supportedAlphaMode: Set<CompositeAlphaMode>
actual val supportedAlphaMode: Set<CompositeAlphaMode>
actual val supportedAlphaMode: Set<CompositeAlphaMode>
actual val supportedAlphaMode: Set<CompositeAlphaMode>
actual val supportedAlphaMode: Set<CompositeAlphaMode>
Link copied to clipboard
actual val supportedFormats: Set<GPUTextureFormat>
expect val supportedFormats: Set<GPUTextureFormat>
actual val supportedFormats: Set<GPUTextureFormat>
actual val supportedFormats: Set<GPUTextureFormat>
actual val supportedFormats: Set<GPUTextureFormat>
actual val supportedFormats: Set<GPUTextureFormat>
Link copied to clipboard
actual val width: UInt
expect val width: UInt
actual val width: UInt
actual val width: UInt
actual val width: UInt
actual val width: UInt

Functions

Link copied to clipboard
actual open override fun close()
expect open override fun close()
actual open override fun close()
actual open override fun close()
actual open override fun close()
actual open override fun close()
Link copied to clipboard
actual fun configure(surfaceConfiguration: SurfaceConfiguration)
expect fun configure(surfaceConfiguration: SurfaceConfiguration)
actual fun configure(surfaceConfiguration: SurfaceConfiguration)
actual fun configure(surfaceConfiguration: SurfaceConfiguration)
actual fun configure(surfaceConfiguration: SurfaceConfiguration)
actual fun configure(surfaceConfiguration: SurfaceConfiguration)
Link copied to clipboard
actual fun getCurrentTexture(): SurfaceTexture
expect fun getCurrentTexture(): SurfaceTexture
actual fun getCurrentTexture(): SurfaceTexture
actual fun getCurrentTexture(): SurfaceTexture
actual fun getCurrentTexture(): SurfaceTexture
actual fun getCurrentTexture(): SurfaceTexture
Link copied to clipboard
actual fun present()
expect fun present()
actual fun present()
actual fun present()
actual fun present()
actual fun present()