SurfaceRenderingContext

class SurfaceRenderingContext(surface: Surface, val textureFormat: GPUTextureFormat) : RenderingContext

Constructors

Link copied to clipboard
constructor(surface: Surface, textureFormat: GPUTextureFormat)

Properties

Link copied to clipboard
open override val height: UInt
Link copied to clipboard
open override val textureFormat: GPUTextureFormat
Link copied to clipboard
open override val width: UInt

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun getCurrentTexture(): GPUTexture