WGPUSurfaceCapabilities

expect interface WGPUSurfaceCapabilities

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

Inheritors

Types

ByReference
Link copied to clipboard
class ByReference(val handle: WGPUSurfaceCapabilities.ByReference = io.ygdrasil.wgpu.android.WGPUSurfaceCapabilities.ByReference(com.sun.jna.Pointer.NULL)) : WGPUSurfaceCapabilities
ByValue
Link copied to clipboard
class ByValue(val handle: WGPUSurfaceCapabilities.ByValue = io.ygdrasil.wgpu.android.WGPUSurfaceCapabilities.ByValue(com.sun.jna.Pointer.NULL)) : WGPUSurfaceCapabilities
value class ByValue(val handle: CValue<WGPUSurfaceCapabilities>) : WGPUSurfaceCapabilities
Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
actual abstract var alphaModeCount: ULong
expect abstract var alphaModeCount: ULong
actual abstract var alphaModeCount: ULong
actual abstract var alphaModeCount: ULong
Link copied to clipboard

A list of supported @ref WGPUCompositeAlphaMode values.

Link copied to clipboard
actual abstract var formatCount: ULong
expect abstract var formatCount: ULong
actual abstract var formatCount: ULong
actual abstract var formatCount: ULong
Link copied to clipboard
actual abstract var formats: ArrayHolder<WGPUTextureFormat>?
expect abstract var formats: ArrayHolder<WGPUTextureFormat>?

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

actual abstract var formats: ArrayHolder<WGPUTextureFormat>?
actual abstract var formats: ArrayHolder<WGPUTextureFormat>?
handler
Link copied to clipboard
actual abstract val handler: NativeAddress
expect abstract val handler: NativeAddress
abstract val handler: NativeAddress
actual abstract val handler: NativeAddress
Link copied to clipboard
actual abstract var nextInChain: NativeAddress?
expect abstract var nextInChain: NativeAddress?
actual abstract var nextInChain: NativeAddress?
actual abstract var nextInChain: NativeAddress?
Link copied to clipboard
actual abstract var presentModeCount: ULong
expect abstract var presentModeCount: ULong
actual abstract var presentModeCount: ULong
actual abstract var presentModeCount: ULong
Link copied to clipboard

A list of supported @ref WGPUPresentMode values. Guaranteed to contain @ref WGPUPresentMode_Fifo.

Link copied to clipboard
actual abstract var usages: ULong
expect abstract var usages: ULong

The bit set of supported @ref WGPUTextureUsage bits. Guaranteed to contain @ref WGPUTextureUsage_RenderAttachment.

actual abstract var usages: ULong
actual abstract var usages: ULong

Functions

Link copied to clipboard
open fun get(layout: StructLayout, offset: Long): MemorySegment
open fun get(layout: ValueLayout, offset: Long): MemorySegment
Link copied to clipboard
open fun getDouble(offset: Long): Double
Link copied to clipboard
open fun getFloat(offset: Long): Float
Link copied to clipboard
open fun getInt(offset: Long): Int
Link copied to clipboard
open fun getShort(offset: Long): Short
Link copied to clipboard
open fun getUInt(offset: Long): UInt
Link copied to clipboard
open fun getULong(offset: Long): ULong
Link copied to clipboard
open fun getUShort(offset: Long): UShort
Link copied to clipboard
open fun set(offset: Long, value: Boolean)
open fun set(offset: Long, value: Double)
open fun set(offset: Long, value: Float)
open fun set(offset: Long, value: Int)
open fun set(offset: Long, value: Short)
open fun set(offset: Long, value: UInt)
open fun set(offset: Long, value: ULong)
open fun set(offset: Long, value: UShort)
open fun set(layout: StructLayout, offset: Long, address: NativeAddress?)
open fun set(layout: ValueLayout, offset: Long, address: NativeAddress?)
toCValue
Link copied to clipboard
open fun toCValue(): CValue<WGPUSurfaceCapabilities>
Link copied to clipboard