WGPUSurfaceCapabilities

value class WGPUSurfaceCapabilities(val $mem: MemorySegment)

Filled by wgpuSurfaceGetCapabilities with what's supported for wgpuSurfaceConfigure for a pair of WGPUSurface and WGPUAdapter.

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
var alphaModeCount: <Error class: unknown class>

Array count for alphaModes.

Link copied to clipboard

A list of supported WGPUCompositeAlphaMode values. WGPUCompositeAlphaMode.Auto will be an alias for the first element and will never be present in this array.

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

Array count for formats.

Link copied to clipboard

A list of supported WGPUTextureFormat values, in order of preference.

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

Array count for presentModes.

Link copied to clipboard

A list of supported WGPUPresentMode values. Guaranteed to contain WGPUPresentMode.Fifo.

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

The bit set of supported WGPUTextureUsage bits. Guaranteed to contain WGPUTextureUsage.RenderAttachment.