WGPUFutureWaitInfo

actual interface WGPUFutureWaitInfo

Inheritors

expect interface WGPUFutureWaitInfo

Struct holding a future to wait on, and a completed boolean flag.

actual interface WGPUFutureWaitInfo : CStructure

Inheritors

actual interface WGPUFutureWaitInfo

Inheritors

Types

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

Properties

Link copied to clipboard
actual abstract var completed: Boolean
expect abstract var completed: Boolean

Whether or not the future completed.

actual abstract var completed: Boolean
actual abstract var completed: Boolean
Link copied to clipboard
actual abstract val future: WGPUFuture
expect abstract val future: WGPUFuture

The future to wait on.

actual abstract val future: WGPUFuture
actual abstract val future: WGPUFuture
handler
Link copied to clipboard
actual abstract val handler: NativeAddress
expect abstract val handler: NativeAddress
abstract val handler: NativeAddress
actual abstract val handler: NativeAddress

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<WGPUFutureWaitInfo>
Link copied to clipboard