WGPUSurfaceConfiguration

value class WGPUSurfaceConfiguration(val $mem: MemorySegment)

Options to wgpuSurfaceConfigure for defining how a WGPUSurface will be rendered to and presented to the user. See Surface-Configuration for more details.

Constructors

Link copied to clipboard
constructor(gc: Boolean)
constructor($mem: MemorySegment)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val $mem: MemorySegment
Link copied to clipboard

How the surface's frames will be composited on the screen.

Link copied to clipboard

The WGPUDevice to use to render to surface's textures.

Link copied to clipboard

The WGPUTextureFormat of the surface's textures.

Link copied to clipboard
var height: <Error class: unknown class>

The height of the surface's textures.

Link copied to clipboard
Link copied to clipboard

When and in which order the surface's frames will be shown on the screen.

Link copied to clipboard
var usage: <Error class: unknown class>

The WGPUTextureUsage of the surface's textures.

Link copied to clipboard
var viewFormatCount: <Error class: unknown class>

Array count for viewFormats.

Link copied to clipboard

The additional WGPUTextureFormat for WGPUTextureView format reinterpretation of the surface's textures.

Link copied to clipboard
var width: <Error class: unknown class>

The width of the surface's textures.