Package-level declarations

Types

Link copied to clipboard
object Functions
Link copied to clipboard
value class WGPUAdapter(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUAdapterInfo
expect interface WGPUAdapterInfo
actual interface WGPUAdapterInfo : CStructure
actual interface WGPUAdapterInfo
Link copied to clipboard
typealias WGPUAdapterType = UInt
Link copied to clipboard
typealias WGPUAddressMode = UInt
Link copied to clipboard
typealias WGPUBackendType = UInt
Link copied to clipboard
value class WGPUBindGroup(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUBindGroupDescriptor
expect interface WGPUBindGroupDescriptor
actual interface WGPUBindGroupDescriptor
Link copied to clipboard
actual interface WGPUBindGroupEntry
expect interface WGPUBindGroupEntry
actual interface WGPUBindGroupEntry : CStructure
actual interface WGPUBindGroupEntry
Link copied to clipboard
value class WGPUBindGroupLayout(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual interface WGPUBindGroupLayoutEntry
expect interface WGPUBindGroupLayoutEntry
actual interface WGPUBindGroupLayoutEntry
Link copied to clipboard
actual interface WGPUBlendComponent
expect interface WGPUBlendComponent
actual interface WGPUBlendComponent : CStructure
actual interface WGPUBlendComponent
Link copied to clipboard
typealias WGPUBlendFactor = UInt
Link copied to clipboard
Link copied to clipboard
actual interface WGPUBlendState
expect interface WGPUBlendState
actual interface WGPUBlendState : CStructure
actual interface WGPUBlendState
Link copied to clipboard
value class WGPUBuffer(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUBufferBindingLayout
expect interface WGPUBufferBindingLayout
actual interface WGPUBufferBindingLayout
Link copied to clipboard
Link copied to clipboard
actual interface WGPUBufferDescriptor
expect interface WGPUBufferDescriptor
actual interface WGPUBufferDescriptor : CStructure
actual interface WGPUBufferDescriptor
Link copied to clipboard
actual fun interface WGPUBufferMapCallback : Callback
expect fun interface WGPUBufferMapCallback : Callback
actual fun interface WGPUBufferMapCallback : Callback
actual fun interface WGPUBufferMapCallback : Callback
Link copied to clipboard
actual interface WGPUBufferMapCallbackInfo
expect interface WGPUBufferMapCallbackInfo
actual interface WGPUBufferMapCallbackInfo
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The callback mode controls how a callback for an asynchronous operation may be fired. See @ref Asynchronous-Operations for how these are used.

Link copied to clipboard
actual interface WGPUChainedStruct
expect interface WGPUChainedStruct
actual interface WGPUChainedStruct : CStructure
actual interface WGPUChainedStruct
Link copied to clipboard
actual interface WGPUChainedStructOut
expect interface WGPUChainedStructOut
actual interface WGPUChainedStructOut : CStructure
actual interface WGPUChainedStructOut
Link copied to clipboard
actual interface WGPUColor
expect interface WGPUColor
actual interface WGPUColor : CStructure
actual interface WGPUColor
Link copied to clipboard
actual interface WGPUColorTargetState
expect interface WGPUColorTargetState
actual interface WGPUColorTargetState : CStructure
actual interface WGPUColorTargetState
Link copied to clipboard
Link copied to clipboard
value class WGPUCommandBuffer(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
value class WGPUCommandEncoder(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual interface WGPUCompilationInfo
expect interface WGPUCompilationInfo
actual interface WGPUCompilationInfo : CStructure
actual interface WGPUCompilationInfo
Link copied to clipboard
actual fun interface WGPUCompilationInfoCallback : Callback
expect fun interface WGPUCompilationInfoCallback : Callback
actual fun interface WGPUCompilationInfoCallback : Callback
actual fun interface WGPUCompilationInfoCallback : Callback
Link copied to clipboard
Link copied to clipboard
actual interface WGPUCompilationMessage
expect interface WGPUCompilationMessage
actual interface WGPUCompilationMessage
Link copied to clipboard
Link copied to clipboard

Describes how frames are composited with other contents on the screen when wgpuSurfacePresent is called.

Link copied to clipboard
actual interface WGPUComputePassDescriptor
expect interface WGPUComputePassDescriptor
actual interface WGPUComputePassDescriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUComputePipeline(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual interface WGPUConstantEntry
expect interface WGPUConstantEntry
actual interface WGPUConstantEntry : CStructure
actual interface WGPUConstantEntry
Link copied to clipboard
Link copied to clipboard
typealias WGPUCullMode = UInt
Link copied to clipboard
actual interface WGPUDepthStencilState
expect interface WGPUDepthStencilState
actual interface WGPUDepthStencilState
Link copied to clipboard
value class WGPUDevice(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUDeviceDescriptor
expect interface WGPUDeviceDescriptor
actual interface WGPUDeviceDescriptor : CStructure
actual interface WGPUDeviceDescriptor
Link copied to clipboard
actual fun interface WGPUDeviceLostCallback : Callback
expect fun interface WGPUDeviceLostCallback : Callback
actual fun interface WGPUDeviceLostCallback : Callback
actual fun interface WGPUDeviceLostCallback : Callback
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias WGPUErrorFilter = UInt
Link copied to clipboard
typealias WGPUErrorType = UInt
Link copied to clipboard
actual interface WGPUExtent3D
expect interface WGPUExtent3D
actual interface WGPUExtent3D : CStructure
actual interface WGPUExtent3D
Link copied to clipboard

See @ref WGPURequestAdapterOptions::featureLevel.

Link copied to clipboard
typealias WGPUFeatureName = UInt
Link copied to clipboard
typealias WGPUFilterMode = UInt
Link copied to clipboard
actual interface WGPUFragmentState
expect interface WGPUFragmentState
actual interface WGPUFragmentState : CStructure
actual interface WGPUFragmentState
Link copied to clipboard
typealias WGPUFrontFace = UInt
Link copied to clipboard
actual interface WGPUFuture
expect interface WGPUFuture

Opaque handle to an asynchronous operation. See @ref Asynchronous-Operations for more information.

actual interface WGPUFuture : CStructure
actual interface WGPUFuture
Link copied to clipboard
actual interface WGPUFutureWaitInfo
expect interface WGPUFutureWaitInfo

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

actual interface WGPUFutureWaitInfo : CStructure
actual interface WGPUFutureWaitInfo
Link copied to clipboard
Link copied to clipboard
typealias WGPUIndexFormat = UInt
Link copied to clipboard
value class WGPUInstance(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual interface WGPUInstanceCapabilities
expect interface WGPUInstanceCapabilities

Features enabled on the WGPUInstance

actual interface WGPUInstanceCapabilities
Link copied to clipboard
actual interface WGPUInstanceDescriptor
expect interface WGPUInstanceDescriptor
actual interface WGPUInstanceDescriptor
Link copied to clipboard
actual interface WGPUInstanceExtras
expect interface WGPUInstanceExtras
actual interface WGPUInstanceExtras : CStructure
actual interface WGPUInstanceExtras
Link copied to clipboard
Link copied to clipboard
actual interface WGPULimits
expect interface WGPULimits
actual interface WGPULimits : CStructure
actual interface WGPULimits
Link copied to clipboard
typealias WGPULoadOp = UInt
Link copied to clipboard
actual fun interface WGPULogCallback : Callback
expect fun interface WGPULogCallback : Callback
actual fun interface WGPULogCallback : Callback
actual fun interface WGPULogCallback : Callback
Link copied to clipboard
typealias WGPULogLevel = UInt
Link copied to clipboard
Link copied to clipboard
typealias WGPUMapMode = ULong
Link copied to clipboard
Link copied to clipboard
actual interface WGPUMultisampleState
expect interface WGPUMultisampleState
actual interface WGPUMultisampleState : CStructure
actual interface WGPUMultisampleState
Link copied to clipboard
typealias WGPUNativeSType = UInt
Link copied to clipboard
Link copied to clipboard
actual interface WGPUOrigin3D
expect interface WGPUOrigin3D
actual interface WGPUOrigin3D : CStructure
actual interface WGPUOrigin3D
Link copied to clipboard
value class WGPUPipelineLayout(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual fun interface WGPUPopErrorScopeCallback : Callback
expect fun interface WGPUPopErrorScopeCallback : Callback
actual fun interface WGPUPopErrorScopeCallback : Callback
actual fun interface WGPUPopErrorScopeCallback : Callback
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias WGPUPresentMode = UInt

Describes when and in which order frames are presented on the screen when wgpuSurfacePresent is called.

Link copied to clipboard
actual interface WGPUPrimitiveState
expect interface WGPUPrimitiveState
actual interface WGPUPrimitiveState : CStructure
actual interface WGPUPrimitiveState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUQuerySet(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUQuerySetDescriptor
expect interface WGPUQuerySetDescriptor
actual interface WGPUQuerySetDescriptor
Link copied to clipboard
typealias WGPUQueryType = UInt
Link copied to clipboard
value class WGPUQueue(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUQueueDescriptor
expect interface WGPUQueueDescriptor
actual interface WGPUQueueDescriptor : CStructure
actual interface WGPUQueueDescriptor
Link copied to clipboard
actual fun interface WGPUQueueWorkDoneCallback : Callback
expect fun interface WGPUQueueWorkDoneCallback : Callback
actual fun interface WGPUQueueWorkDoneCallback : Callback
actual fun interface WGPUQueueWorkDoneCallback : Callback
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPURenderBundle(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual interface WGPURenderPassDescriptor
expect interface WGPURenderPassDescriptor
actual interface WGPURenderPassDescriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPURenderPipeline(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual fun interface WGPURequestAdapterCallback : Callback
expect fun interface WGPURequestAdapterCallback : Callback
actual fun interface WGPURequestAdapterCallback : Callback
actual fun interface WGPURequestAdapterCallback : Callback
Link copied to clipboard
Link copied to clipboard
actual interface WGPURequestAdapterOptions
expect interface WGPURequestAdapterOptions
actual interface WGPURequestAdapterOptions
Link copied to clipboard
Link copied to clipboard
actual fun interface WGPURequestDeviceCallback : Callback
expect fun interface WGPURequestDeviceCallback : Callback
actual fun interface WGPURequestDeviceCallback : Callback
actual fun interface WGPURequestDeviceCallback : Callback
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUSampler(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUSamplerBindingLayout
expect interface WGPUSamplerBindingLayout
actual interface WGPUSamplerBindingLayout
Link copied to clipboard
Link copied to clipboard
actual interface WGPUSamplerDescriptor
expect interface WGPUSamplerDescriptor
actual interface WGPUSamplerDescriptor
Link copied to clipboard
value class WGPUShaderModule(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual interface WGPUShaderSourceSPIRV
expect interface WGPUShaderSourceSPIRV
actual interface WGPUShaderSourceSPIRV
Link copied to clipboard
actual interface WGPUShaderSourceWGSL
expect interface WGPUShaderSourceWGSL
actual interface WGPUShaderSourceWGSL : CStructure
actual interface WGPUShaderSourceWGSL
Link copied to clipboard
Link copied to clipboard
typealias WGPUStatus = UInt

Status code returned (synchronously) from many operations. Generally indicates an invalid input like an unknown enum value or @ref OutStructChainError. Read the function's documentation for specific error conditions.

Link copied to clipboard
actual interface WGPUStencilFaceState
expect interface WGPUStencilFaceState
actual interface WGPUStencilFaceState : CStructure
actual interface WGPUStencilFaceState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias WGPUStoreOp = UInt
Link copied to clipboard
actual interface WGPUStringView
expect interface WGPUStringView
actual interface WGPUStringView : CStructure
actual interface WGPUStringView
Link copied to clipboard
typealias WGPUSType = UInt
Link copied to clipboard
actual interface WGPUSupportedFeatures
expect interface WGPUSupportedFeatures
actual interface WGPUSupportedFeatures
Link copied to clipboard
Link copied to clipboard
value class WGPUSurface(val handler: NativeAddress)

An object used to continuously present image data to the user, see @ref Surfaces for more details.

Link copied to clipboard
actual interface WGPUSurfaceCapabilities
expect interface WGPUSurfaceCapabilities

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

actual interface WGPUSurfaceCapabilities
Link copied to clipboard
actual interface WGPUSurfaceConfiguration
expect interface WGPUSurfaceConfiguration

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

actual interface WGPUSurfaceConfiguration
Link copied to clipboard
actual interface WGPUSurfaceDescriptor
expect interface WGPUSurfaceDescriptor

The root descriptor for the creation of an @ref WGPUSurface with wgpuInstanceCreateSurface. It isn't sufficient by itself and must have one of the WGPUSurfaceSource* in its chain. See @ref Surface-Creation for more details.

actual interface WGPUSurfaceDescriptor
Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping an Android ANativeWindow.

Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping a CAMetalLayer.

Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping a Wayland wl_surface.

Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping a Windows HWND.

Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping an XCB xcb_window_t.

Link copied to clipboard

Chained in @ref WGPUSurfaceDescriptor to make an @ref WGPUSurface wrapping an Xlib Window.

Link copied to clipboard
actual interface WGPUSurfaceTexture
expect interface WGPUSurfaceTexture

Queried each frame from a @ref WGPUSurface to get a @ref WGPUTexture to render to along with some metadata. See @ref Surface-Presenting for more details.

actual interface WGPUSurfaceTexture : CStructure
actual interface WGPUSurfaceTexture
Link copied to clipboard
actual interface WGPUTexelCopyBufferInfo
expect interface WGPUTexelCopyBufferInfo
actual interface WGPUTexelCopyBufferInfo
Link copied to clipboard
actual interface WGPUTexelCopyBufferLayout
expect interface WGPUTexelCopyBufferLayout
actual interface WGPUTexelCopyBufferLayout
Link copied to clipboard
actual interface WGPUTexelCopyTextureInfo
expect interface WGPUTexelCopyTextureInfo
actual interface WGPUTexelCopyTextureInfo
Link copied to clipboard
value class WGPUTexture(val handler: NativeAddress)
Link copied to clipboard
Link copied to clipboard
actual interface WGPUTextureBindingLayout
expect interface WGPUTextureBindingLayout
actual interface WGPUTextureBindingLayout
Link copied to clipboard
actual interface WGPUTextureDescriptor
expect interface WGPUTextureDescriptor
actual interface WGPUTextureDescriptor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUTextureView(val handler: NativeAddress)
Link copied to clipboard
actual interface WGPUTextureViewDescriptor
expect interface WGPUTextureViewDescriptor
actual interface WGPUTextureViewDescriptor
Link copied to clipboard
Link copied to clipboard
actual fun interface WGPUUncapturedErrorCallback : Callback
expect fun interface WGPUUncapturedErrorCallback : Callback
actual fun interface WGPUUncapturedErrorCallback : Callback
actual fun interface WGPUUncapturedErrorCallback : Callback
Link copied to clipboard
Link copied to clipboard
actual interface WGPUVertexAttribute
expect interface WGPUVertexAttribute
actual interface WGPUVertexAttribute : CStructure
actual interface WGPUVertexAttribute
Link copied to clipboard
actual interface WGPUVertexBufferLayout
expect interface WGPUVertexBufferLayout
actual interface WGPUVertexBufferLayout
Link copied to clipboard
Link copied to clipboard
actual interface WGPUVertexState
expect interface WGPUVertexState
actual interface WGPUVertexState : CStructure
actual interface WGPUVertexState
Link copied to clipboard
Link copied to clipboard
typealias WGPUWaitStatus = UInt

Status returned from a call to ::wgpuInstanceWaitAny.

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Indicates that this @ref WGPUBufferBindingLayout member of its parent @ref WGPUBindGroupLayoutEntry is not used. (See also @ref SentinelValues.)

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Lets the WebGPU implementation choose the best mode (supported, and with the best performance) between @ref WGPUCompositeAlphaMode_Opaque or @ref WGPUCompositeAlphaMode_Inherit.

Link copied to clipboard

The handling of the alpha component is unknown to WebGPU and should be handled by the application using system-specific APIs. This mode may be unavailable (for example on Wasm).

Link copied to clipboard

The alpha component of the image is ignored and teated as if it is always 1.0.

Link copied to clipboard

The alpha component is respected and non-alpha components are assumed to be already multiplied with the alpha component. For example, (0.5, 0, 0, 0.5) is semi-transparent bright red.

Link copied to clipboard

The alpha component is respected and non-alpha components are assumed to NOT be already multiplied with the alpha component. For example, (1.0, 0, 0, 0.5) is semi-transparent bright red.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

"Compatibility" profile which can be supported on OpenGL ES 3.1.

Link copied to clipboard

"Core" profile which can be supported on Vulkan/Metal/D3D12.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The error scope stack could not be popped, because it was empty.

Link copied to clipboard

The error scope stack was successfully popped and a result was reported.

Link copied to clipboard

No preference. (See also @ref SentinelValues.)

Link copied to clipboard

The presentation of the image to the user waits for the next vertical blanking period to update in a first-in, first-out manner. Tearing cannot be observed and frame-loop will be limited to the display's refresh rate. This is the only mode that's always available.

Link copied to clipboard

The presentation of the image to the user tries to wait for the next vertical blanking period but may decide to not wait if a frame is presented late. Tearing can sometimes be observed but late-frame don't produce a full-frame stutter in the presentation. This is still a first-in, first-out mechanism so a frame-loop will be limited to the display's refresh rate.

Link copied to clipboard

The presentation of the image to the user is updated immediately without waiting for a vertical blank. Tearing can be observed but latency is minimized.

Link copied to clipboard

The presentation of the image to the user waits for the next vertical blanking period to update to the latest provided image. Tearing cannot be observed and a frame-loop is not limited to the display's refresh rate.

Link copied to clipboard

Present mode is not specified. Use the default.

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates that this @ref WGPUSamplerBindingLayout member of its parent @ref WGPUBindGroupLayoutEntry is not used. (See also @ref SentinelValues.)

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Indicates that this @ref WGPUStorageTextureBindingLayout member of its parent @ref WGPUBindGroupLayoutEntry is not used. (See also @ref SentinelValues.)

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

The @ref WGPUDevice configured on the @ref WGPUSurface was lost.

Link copied to clipboard

The surface is not configured, or there was an @ref OutStructChainError.

Link copied to clipboard

The connection to whatever owns the surface was lost.

The surface is too different to be used, compared to when it was originally created.

Yay! Everything is good and we can render this frame.

Still OK - the surface can present the frame, but in a suboptimal way. The surface may need reconfiguration.

Some operation timed out while trying to acquire the frame.

Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

Indicates that this @ref WGPUTextureBindingLayout member of its parent @ref WGPUBindGroupLayoutEntry is not used. (See also @ref SentinelValues.)

Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates no value is passed for this argument. See @ref SentinelValues.

Link copied to clipboard

This @ref WGPUVertexBufferLayout is a "hole" in the @ref WGPUVertexState buffers array. (See also @ref SentinelValues.)

Link copied to clipboard

At least one WGPUFuture completed successfully.

Link copied to clipboard

No WGPUFutures completed within the timeout.

Link copied to clipboard

The number of futures waited on in a @ref Timed-Wait is greater than the supported WGPUInstanceFeatures::timedWaitAnyMaxCount.

Link copied to clipboard

An invalid wait was performed with @ref Mixed-Sources.

Link copied to clipboard

A @ref Timed-Wait was performed when WGPUInstanceFeatures::timedWaitAnyEnable is false.

Functions

Link copied to clipboard
fun WGPUAdapterInfo.adapt(structure: WGPUAdapterInfo)
fun WGPUBindGroupDescriptor.adapt(structure: WGPUBindGroupDescriptor)
fun WGPUBindGroupEntry.adapt(structure: WGPUBindGroupEntry)
fun WGPUBindGroupLayoutDescriptor.adapt(structure: WGPUBindGroupLayoutDescriptor)
fun WGPUBindGroupLayoutEntry.adapt(structure: WGPUBindGroupLayoutEntry)
fun WGPUBlendComponent.adapt(structure: WGPUBlendComponent)
fun WGPUBlendState.adapt(structure: WGPUBlendState)
fun WGPUBufferBindingLayout.adapt(structure: WGPUBufferBindingLayout)
fun WGPUBufferDescriptor.adapt(structure: WGPUBufferDescriptor)
fun WGPUBufferMapCallbackInfo.adapt(structure: WGPUBufferMapCallbackInfo)
fun WGPUChainedStruct.adapt(structure: WGPUChainedStruct)
fun WGPUChainedStructOut.adapt(structure: WGPUChainedStructOut)
fun WGPUColor.adapt(structure: WGPUColor)
fun WGPUColorTargetState.adapt(structure: WGPUColorTargetState)
fun WGPUCommandBufferDescriptor.adapt(structure: WGPUCommandBufferDescriptor)
fun WGPUCommandEncoderDescriptor.adapt(structure: WGPUCommandEncoderDescriptor)
fun WGPUCompilationInfo.adapt(structure: WGPUCompilationInfo)
fun WGPUCompilationInfoCallbackInfo.adapt(structure: WGPUCompilationInfoCallbackInfo)
fun WGPUCompilationMessage.adapt(structure: WGPUCompilationMessage)
fun WGPUComputePassDescriptor.adapt(structure: WGPUComputePassDescriptor)
fun WGPUComputePassTimestampWrites.adapt(structure: WGPUComputePassTimestampWrites)
fun WGPUComputePipelineDescriptor.adapt(structure: WGPUComputePipelineDescriptor)
fun WGPUConstantEntry.adapt(structure: WGPUConstantEntry)
fun WGPUCreateComputePipelineAsyncCallbackInfo.adapt(structure: WGPUCreateComputePipelineAsyncCallbackInfo)
fun WGPUCreateRenderPipelineAsyncCallbackInfo.adapt(structure: WGPUCreateRenderPipelineAsyncCallbackInfo)
fun WGPUDepthStencilState.adapt(structure: WGPUDepthStencilState)
fun WGPUDeviceDescriptor.adapt(structure: WGPUDeviceDescriptor)
fun WGPUDeviceLostCallbackInfo.adapt(structure: WGPUDeviceLostCallbackInfo)
fun WGPUExtent3D.adapt(structure: WGPUExtent3D)
fun WGPUFragmentState.adapt(structure: WGPUFragmentState)
fun WGPUFuture.adapt(structure: WGPUFuture)
fun WGPUFutureWaitInfo.adapt(structure: WGPUFutureWaitInfo)
fun WGPUInstanceCapabilities.adapt(structure: WGPUInstanceCapabilities)
fun WGPUInstanceDescriptor.adapt(structure: WGPUInstanceDescriptor)
fun WGPUInstanceExtras.adapt(structure: WGPUInstanceExtras)
fun WGPULimits.adapt(structure: WGPULimits)
fun WGPUMultisampleState.adapt(structure: WGPUMultisampleState)
fun WGPUOrigin3D.adapt(structure: WGPUOrigin3D)
fun WGPUPipelineLayoutDescriptor.adapt(structure: WGPUPipelineLayoutDescriptor)
fun WGPUPopErrorScopeCallbackInfo.adapt(structure: WGPUPopErrorScopeCallbackInfo)
fun WGPUPrimitiveState.adapt(structure: WGPUPrimitiveState)
fun WGPUProgrammableStageDescriptor.adapt(structure: WGPUProgrammableStageDescriptor)
fun WGPUQuerySetDescriptor.adapt(structure: WGPUQuerySetDescriptor)
fun WGPUQueueDescriptor.adapt(structure: WGPUQueueDescriptor)
fun WGPUQueueWorkDoneCallbackInfo.adapt(structure: WGPUQueueWorkDoneCallbackInfo)
fun WGPURenderBundleDescriptor.adapt(structure: WGPURenderBundleDescriptor)
fun WGPURenderBundleEncoderDescriptor.adapt(structure: WGPURenderBundleEncoderDescriptor)
fun WGPURenderPassColorAttachment.adapt(structure: WGPURenderPassColorAttachment)
fun WGPURenderPassDepthStencilAttachment.adapt(structure: WGPURenderPassDepthStencilAttachment)
fun WGPURenderPassDescriptor.adapt(structure: WGPURenderPassDescriptor)
fun WGPURenderPassMaxDrawCount.adapt(structure: WGPURenderPassMaxDrawCount)
fun WGPURenderPassTimestampWrites.adapt(structure: WGPURenderPassTimestampWrites)
fun WGPURenderPipelineDescriptor.adapt(structure: WGPURenderPipelineDescriptor)
fun WGPURequestAdapterCallbackInfo.adapt(structure: WGPURequestAdapterCallbackInfo)
fun WGPURequestAdapterOptions.adapt(structure: WGPURequestAdapterOptions)
fun WGPURequestDeviceCallbackInfo.adapt(structure: WGPURequestDeviceCallbackInfo)
fun WGPUSamplerBindingLayout.adapt(structure: WGPUSamplerBindingLayout)
fun WGPUSamplerDescriptor.adapt(structure: WGPUSamplerDescriptor)
fun WGPUShaderModuleDescriptor.adapt(structure: WGPUShaderModuleDescriptor)
fun WGPUShaderSourceSPIRV.adapt(structure: WGPUShaderSourceSPIRV)
fun WGPUShaderSourceWGSL.adapt(structure: WGPUShaderSourceWGSL)
fun WGPUStencilFaceState.adapt(structure: WGPUStencilFaceState)
fun WGPUStorageTextureBindingLayout.adapt(structure: WGPUStorageTextureBindingLayout)
fun WGPUStringView.adapt(structure: WGPUStringView)
fun WGPUSupportedFeatures.adapt(structure: WGPUSupportedFeatures)
fun WGPUSupportedWGSLLanguageFeatures.adapt(structure: WGPUSupportedWGSLLanguageFeatures)
fun WGPUSurfaceCapabilities.adapt(structure: WGPUSurfaceCapabilities)
fun WGPUSurfaceConfiguration.adapt(structure: WGPUSurfaceConfiguration)
fun WGPUSurfaceDescriptor.adapt(structure: WGPUSurfaceDescriptor)
fun WGPUSurfaceSourceAndroidNativeWindow.adapt(structure: WGPUSurfaceSourceAndroidNativeWindow)
fun WGPUSurfaceSourceMetalLayer.adapt(structure: WGPUSurfaceSourceMetalLayer)
fun WGPUSurfaceSourceWaylandSurface.adapt(structure: WGPUSurfaceSourceWaylandSurface)
fun WGPUSurfaceSourceWindowsHWND.adapt(structure: WGPUSurfaceSourceWindowsHWND)
fun WGPUSurfaceSourceXCBWindow.adapt(structure: WGPUSurfaceSourceXCBWindow)
fun WGPUSurfaceSourceXlibWindow.adapt(structure: WGPUSurfaceSourceXlibWindow)
fun WGPUSurfaceTexture.adapt(structure: WGPUSurfaceTexture)
fun WGPUTexelCopyBufferInfo.adapt(structure: WGPUTexelCopyBufferInfo)
fun WGPUTexelCopyBufferLayout.adapt(structure: WGPUTexelCopyBufferLayout)
fun WGPUTexelCopyTextureInfo.adapt(structure: WGPUTexelCopyTextureInfo)
fun WGPUTextureBindingLayout.adapt(structure: WGPUTextureBindingLayout)
fun WGPUTextureDescriptor.adapt(structure: WGPUTextureDescriptor)
fun WGPUTextureViewDescriptor.adapt(structure: WGPUTextureViewDescriptor)
fun WGPUUncapturedErrorCallbackInfo.adapt(structure: WGPUUncapturedErrorCallbackInfo)
fun WGPUVertexAttribute.adapt(structure: WGPUVertexAttribute)
fun WGPUVertexBufferLayout.adapt(structure: WGPUVertexBufferLayout)
fun WGPUVertexState.adapt(structure: WGPUVertexState)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuAdapterGetFeatures(handler: WGPUAdapter?, features: WGPUSupportedFeatures?)
expect fun wgpuAdapterGetFeatures(handler: WGPUAdapter?, features: WGPUSupportedFeatures?)

Get the list of @ref WGPUFeatureName values supported by the adapter.

actual fun wgpuAdapterGetFeatures(handler: WGPUAdapter?, features: WGPUSupportedFeatures?)
actual fun wgpuAdapterGetFeatures(handler: WGPUAdapter?, features: WGPUSupportedFeatures?)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuAdapterGetLimits(handler: WGPUAdapter?, limits: WGPULimits?): WGPUStatus
expect fun wgpuAdapterGetLimits(handler: WGPUAdapter?, limits: WGPULimits?): WGPUStatus
actual fun wgpuAdapterGetLimits(handler: WGPUAdapter?, limits: WGPULimits?): WGPUStatus
actual fun wgpuAdapterGetLimits(handler: WGPUAdapter?, limits: WGPULimits?): WGPUStatus
Link copied to clipboard
actual fun wgpuAdapterHasFeature(handler: WGPUAdapter?, feature: WGPUFeatureName): Boolean
expect fun wgpuAdapterHasFeature(handler: WGPUAdapter?, feature: WGPUFeatureName): Boolean
actual fun wgpuAdapterHasFeature(handler: WGPUAdapter?, feature: WGPUFeatureName): Boolean
actual fun wgpuAdapterHasFeature(handler: WGPUAdapter?, feature: WGPUFeatureName): Boolean
Link copied to clipboard
actual fun wgpuAdapterRelease(handler: WGPUAdapter?)
expect fun wgpuAdapterRelease(handler: WGPUAdapter?)
actual fun wgpuAdapterRelease(handler: WGPUAdapter?)
actual fun wgpuAdapterRelease(handler: WGPUAdapter?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuBindGroupRelease(handler: WGPUBindGroup?)
expect fun wgpuBindGroupRelease(handler: WGPUBindGroup?)
actual fun wgpuBindGroupRelease(handler: WGPUBindGroup?)
actual fun wgpuBindGroupRelease(handler: WGPUBindGroup?)
Link copied to clipboard
actual fun wgpuBindGroupSetLabel(handler: WGPUBindGroup?, label: WGPUStringView)
expect fun wgpuBindGroupSetLabel(handler: WGPUBindGroup?, label: WGPUStringView)
actual fun wgpuBindGroupSetLabel(handler: WGPUBindGroup?, label: WGPUStringView)
actual fun wgpuBindGroupSetLabel(handler: WGPUBindGroup?, label: WGPUStringView)
Link copied to clipboard
actual fun wgpuBufferDestroy(handler: WGPUBuffer?)
expect fun wgpuBufferDestroy(handler: WGPUBuffer?)
actual fun wgpuBufferDestroy(handler: WGPUBuffer?)
actual fun wgpuBufferDestroy(handler: WGPUBuffer?)
Link copied to clipboard
actual fun wgpuBufferGetConstMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
expect fun wgpuBufferGetConstMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
actual fun wgpuBufferGetConstMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
actual fun wgpuBufferGetConstMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
Link copied to clipboard
actual fun wgpuBufferGetMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
expect fun wgpuBufferGetMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
actual fun wgpuBufferGetMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
actual fun wgpuBufferGetMappedRange(handler: WGPUBuffer?, offset: ULong, size: ULong): NativeAddress?
Link copied to clipboard
Link copied to clipboard
actual fun wgpuBufferGetSize(handler: WGPUBuffer?): ULong
expect fun wgpuBufferGetSize(handler: WGPUBuffer?): ULong
actual fun wgpuBufferGetSize(handler: WGPUBuffer?): ULong
actual fun wgpuBufferGetSize(handler: WGPUBuffer?): ULong
Link copied to clipboard
actual fun wgpuBufferGetUsage(handler: WGPUBuffer?): ULong
expect fun wgpuBufferGetUsage(handler: WGPUBuffer?): ULong
actual fun wgpuBufferGetUsage(handler: WGPUBuffer?): ULong
actual fun wgpuBufferGetUsage(handler: WGPUBuffer?): ULong
Link copied to clipboard
actual fun wgpuBufferMapAsync(handler: WGPUBuffer?, mode: ULong, offset: ULong, size: ULong, callbackInfo: WGPUBufferMapCallbackInfo)
expect fun wgpuBufferMapAsync(handler: WGPUBuffer?, mode: ULong, offset: ULong, size: ULong, callbackInfo: WGPUBufferMapCallbackInfo)
actual fun wgpuBufferMapAsync(handler: WGPUBuffer?, mode: ULong, offset: ULong, size: ULong, callbackInfo: WGPUBufferMapCallbackInfo)
actual fun wgpuBufferMapAsync(handler: WGPUBuffer?, mode: ULong, offset: ULong, size: ULong, callbackInfo: WGPUBufferMapCallbackInfo)
Link copied to clipboard
actual fun wgpuBufferRelease(handler: WGPUBuffer?)
expect fun wgpuBufferRelease(handler: WGPUBuffer?)
actual fun wgpuBufferRelease(handler: WGPUBuffer?)
actual fun wgpuBufferRelease(handler: WGPUBuffer?)
Link copied to clipboard
actual fun wgpuBufferSetLabel(handler: WGPUBuffer?, label: WGPUStringView)
expect fun wgpuBufferSetLabel(handler: WGPUBuffer?, label: WGPUStringView)
actual fun wgpuBufferSetLabel(handler: WGPUBuffer?, label: WGPUStringView)
actual fun wgpuBufferSetLabel(handler: WGPUBuffer?, label: WGPUStringView)
Link copied to clipboard
actual fun wgpuBufferUnmap(handler: WGPUBuffer?)
expect fun wgpuBufferUnmap(handler: WGPUBuffer?)
actual fun wgpuBufferUnmap(handler: WGPUBuffer?)
actual fun wgpuBufferUnmap(handler: WGPUBuffer?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuCommandEncoderClearBuffer(handler: WGPUCommandEncoder?, buffer: WGPUBuffer?, offset: ULong, size: ULong)
expect fun wgpuCommandEncoderClearBuffer(handler: WGPUCommandEncoder?, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuCommandEncoderClearBuffer(handler: WGPUCommandEncoder?, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuCommandEncoderClearBuffer(handler: WGPUCommandEncoder?, buffer: WGPUBuffer?, offset: ULong, size: ULong)
Link copied to clipboard
actual fun wgpuCommandEncoderCopyBufferToBuffer(handler: WGPUCommandEncoder?, source: WGPUBuffer?, sourceOffset: ULong, destination: WGPUBuffer?, destinationOffset: ULong, size: ULong)
expect fun wgpuCommandEncoderCopyBufferToBuffer(handler: WGPUCommandEncoder?, source: WGPUBuffer?, sourceOffset: ULong, destination: WGPUBuffer?, destinationOffset: ULong, size: ULong)
actual fun wgpuCommandEncoderCopyBufferToBuffer(handler: WGPUCommandEncoder?, source: WGPUBuffer?, sourceOffset: ULong, destination: WGPUBuffer?, destinationOffset: ULong, size: ULong)
actual fun wgpuCommandEncoderCopyBufferToBuffer(handler: WGPUCommandEncoder?, source: WGPUBuffer?, sourceOffset: ULong, destination: WGPUBuffer?, destinationOffset: ULong, size: ULong)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuCommandEncoderResolveQuerySet(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, firstQuery: UInt, queryCount: UInt, destination: WGPUBuffer?, destinationOffset: ULong)
expect fun wgpuCommandEncoderResolveQuerySet(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, firstQuery: UInt, queryCount: UInt, destination: WGPUBuffer?, destinationOffset: ULong)
actual fun wgpuCommandEncoderResolveQuerySet(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, firstQuery: UInt, queryCount: UInt, destination: WGPUBuffer?, destinationOffset: ULong)
actual fun wgpuCommandEncoderResolveQuerySet(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, firstQuery: UInt, queryCount: UInt, destination: WGPUBuffer?, destinationOffset: ULong)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuCommandEncoderWriteTimestamp(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, queryIndex: UInt)
expect fun wgpuCommandEncoderWriteTimestamp(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, queryIndex: UInt)
actual fun wgpuCommandEncoderWriteTimestamp(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, queryIndex: UInt)
actual fun wgpuCommandEncoderWriteTimestamp(handler: WGPUCommandEncoder?, querySet: WGPUQuerySet?, queryIndex: UInt)
Link copied to clipboard
actual fun wgpuComputePassEncoderDispatchWorkgroups(handler: WGPUComputePassEncoder?, workgroupCountX: UInt, workgroupCountY: UInt, workgroupCountZ: UInt)
expect fun wgpuComputePassEncoderDispatchWorkgroups(handler: WGPUComputePassEncoder?, workgroupCountX: UInt, workgroupCountY: UInt, workgroupCountZ: UInt)
actual fun wgpuComputePassEncoderDispatchWorkgroups(handler: WGPUComputePassEncoder?, workgroupCountX: UInt, workgroupCountY: UInt, workgroupCountZ: UInt)
actual fun wgpuComputePassEncoderDispatchWorkgroups(handler: WGPUComputePassEncoder?, workgroupCountX: UInt, workgroupCountY: UInt, workgroupCountZ: UInt)
actual fun wgpuComputePassEncoderDispatchWorkgroupsIndirect(handler: WGPUComputePassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
expect fun wgpuComputePassEncoderDispatchWorkgroupsIndirect(handler: WGPUComputePassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuComputePassEncoderDispatchWorkgroupsIndirect(handler: WGPUComputePassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuComputePassEncoderDispatchWorkgroupsIndirect(handler: WGPUComputePassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuComputePassEncoderSetBindGroup(handler: WGPUComputePassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
expect fun wgpuComputePassEncoderSetBindGroup(handler: WGPUComputePassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuComputePassEncoderSetBindGroup(handler: WGPUComputePassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuComputePassEncoderSetBindGroup(handler: WGPUComputePassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Create a WGPUInstance

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuDeviceDestroy(handler: WGPUDevice?)
expect fun wgpuDeviceDestroy(handler: WGPUDevice?)
actual fun wgpuDeviceDestroy(handler: WGPUDevice?)
actual fun wgpuDeviceDestroy(handler: WGPUDevice?)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuDeviceGetFeatures(handler: WGPUDevice?, features: WGPUSupportedFeatures?)
expect fun wgpuDeviceGetFeatures(handler: WGPUDevice?, features: WGPUSupportedFeatures?)

Get the list of @ref WGPUFeatureName values supported by the device.

actual fun wgpuDeviceGetFeatures(handler: WGPUDevice?, features: WGPUSupportedFeatures?)
actual fun wgpuDeviceGetFeatures(handler: WGPUDevice?, features: WGPUSupportedFeatures?)
Link copied to clipboard
actual fun wgpuDeviceGetLimits(handler: WGPUDevice?, limits: WGPULimits?): WGPUStatus
expect fun wgpuDeviceGetLimits(handler: WGPUDevice?, limits: WGPULimits?): WGPUStatus
actual fun wgpuDeviceGetLimits(handler: WGPUDevice?, limits: WGPULimits?): WGPUStatus
actual fun wgpuDeviceGetLimits(handler: WGPUDevice?, limits: WGPULimits?): WGPUStatus
Link copied to clipboard
Link copied to clipboard
actual fun wgpuDeviceGetQueue(handler: WGPUDevice?): WGPUQueue?
expect fun wgpuDeviceGetQueue(handler: WGPUDevice?): WGPUQueue?
actual fun wgpuDeviceGetQueue(handler: WGPUDevice?): WGPUQueue?
actual fun wgpuDeviceGetQueue(handler: WGPUDevice?): WGPUQueue?
Link copied to clipboard
actual fun wgpuDeviceHasFeature(handler: WGPUDevice?, feature: WGPUFeatureName): Boolean
expect fun wgpuDeviceHasFeature(handler: WGPUDevice?, feature: WGPUFeatureName): Boolean
actual fun wgpuDeviceHasFeature(handler: WGPUDevice?, feature: WGPUFeatureName): Boolean
actual fun wgpuDeviceHasFeature(handler: WGPUDevice?, feature: WGPUFeatureName): Boolean
Link copied to clipboard
actual fun wgpuDevicePoll(device: WGPUDevice?, wait: Boolean, wrappedSubmissionIndex: NativeAddress?): Boolean
expect fun wgpuDevicePoll(device: WGPUDevice?, wait: Boolean, wrappedSubmissionIndex: NativeAddress?): Boolean
actual fun wgpuDevicePoll(device: WGPUDevice?, wait: Boolean, wrappedSubmissionIndex: NativeAddress?): Boolean
actual fun wgpuDevicePoll(device: WGPUDevice?, wait: Boolean, wrappedSubmissionIndex: NativeAddress?): Boolean
Link copied to clipboard
Link copied to clipboard
actual fun wgpuDevicePushErrorScope(handler: WGPUDevice?, filter: WGPUErrorFilter)
expect fun wgpuDevicePushErrorScope(handler: WGPUDevice?, filter: WGPUErrorFilter)
actual fun wgpuDevicePushErrorScope(handler: WGPUDevice?, filter: WGPUErrorFilter)
actual fun wgpuDevicePushErrorScope(handler: WGPUDevice?, filter: WGPUErrorFilter)
Link copied to clipboard
actual fun wgpuDeviceRelease(handler: WGPUDevice?)
expect fun wgpuDeviceRelease(handler: WGPUDevice?)
actual fun wgpuDeviceRelease(handler: WGPUDevice?)
actual fun wgpuDeviceRelease(handler: WGPUDevice?)
Link copied to clipboard
actual fun wgpuDeviceSetLabel(handler: WGPUDevice?, label: WGPUStringView)
expect fun wgpuDeviceSetLabel(handler: WGPUDevice?, label: WGPUStringView)
actual fun wgpuDeviceSetLabel(handler: WGPUDevice?, label: WGPUStringView)
actual fun wgpuDeviceSetLabel(handler: WGPUDevice?, label: WGPUStringView)
Link copied to clipboard

Query the supported instance capabilities.

Link copied to clipboard

Creates a @ref WGPUSurface, see @ref Surface-Creation for more details.

Link copied to clipboard

Get the list of @ref WGPUWGSLLanguageFeatureName values supported by the instance.

Link copied to clipboard

Processes asynchronous events on this WGPUInstance, calling any callbacks for asynchronous operations created with WGPUCallbackMode_AllowProcessEvents.

Link copied to clipboard
actual fun wgpuInstanceRelease(handler: WGPUInstance?)
expect fun wgpuInstanceRelease(handler: WGPUInstance?)
actual fun wgpuInstanceRelease(handler: WGPUInstance?)
actual fun wgpuInstanceRelease(handler: WGPUInstance?)
Link copied to clipboard
actual fun wgpuInstanceWaitAny(handler: WGPUInstance?, futureCount: ULong, futures: WGPUFutureWaitInfo?, timeoutNS: ULong): WGPUWaitStatus
expect fun wgpuInstanceWaitAny(handler: WGPUInstance?, futureCount: ULong, futures: WGPUFutureWaitInfo?, timeoutNS: ULong): WGPUWaitStatus

Wait for at least one WGPUFuture in futures to complete, and call callbacks of the respective completed asynchronous operations.

actual fun wgpuInstanceWaitAny(handler: WGPUInstance?, futureCount: ULong, futures: WGPUFutureWaitInfo?, timeoutNS: ULong): WGPUWaitStatus
actual fun wgpuInstanceWaitAny(handler: WGPUInstance?, futureCount: ULong, futures: WGPUFutureWaitInfo?, timeoutNS: ULong): WGPUWaitStatus
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuQuerySetDestroy(handler: WGPUQuerySet?)
expect fun wgpuQuerySetDestroy(handler: WGPUQuerySet?)
actual fun wgpuQuerySetDestroy(handler: WGPUQuerySet?)
actual fun wgpuQuerySetDestroy(handler: WGPUQuerySet?)
Link copied to clipboard
actual fun wgpuQuerySetGetCount(handler: WGPUQuerySet?): UInt
expect fun wgpuQuerySetGetCount(handler: WGPUQuerySet?): UInt
actual fun wgpuQuerySetGetCount(handler: WGPUQuerySet?): UInt
actual fun wgpuQuerySetGetCount(handler: WGPUQuerySet?): UInt
Link copied to clipboard
Link copied to clipboard
actual fun wgpuQuerySetRelease(handler: WGPUQuerySet?)
expect fun wgpuQuerySetRelease(handler: WGPUQuerySet?)
actual fun wgpuQuerySetRelease(handler: WGPUQuerySet?)
actual fun wgpuQuerySetRelease(handler: WGPUQuerySet?)
Link copied to clipboard
actual fun wgpuQuerySetSetLabel(handler: WGPUQuerySet?, label: WGPUStringView)
expect fun wgpuQuerySetSetLabel(handler: WGPUQuerySet?, label: WGPUStringView)
actual fun wgpuQuerySetSetLabel(handler: WGPUQuerySet?, label: WGPUStringView)
actual fun wgpuQuerySetSetLabel(handler: WGPUQuerySet?, label: WGPUStringView)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuQueueRelease(handler: WGPUQueue?)
expect fun wgpuQueueRelease(handler: WGPUQueue?)
actual fun wgpuQueueRelease(handler: WGPUQueue?)
actual fun wgpuQueueRelease(handler: WGPUQueue?)
Link copied to clipboard
actual fun wgpuQueueSetLabel(handler: WGPUQueue?, label: WGPUStringView)
expect fun wgpuQueueSetLabel(handler: WGPUQueue?, label: WGPUStringView)
actual fun wgpuQueueSetLabel(handler: WGPUQueue?, label: WGPUStringView)
actual fun wgpuQueueSetLabel(handler: WGPUQueue?, label: WGPUStringView)
Link copied to clipboard
actual fun wgpuQueueSubmit(handler: WGPUQueue?, commandCount: ULong, commands: ArrayHolder<WGPUCommandBuffer>?)
expect fun wgpuQueueSubmit(handler: WGPUQueue?, commandCount: ULong, commands: ArrayHolder<WGPUCommandBuffer>?)
actual fun wgpuQueueSubmit(handler: WGPUQueue?, commandCount: ULong, commands: ArrayHolder<WGPUCommandBuffer>?)
actual fun wgpuQueueSubmit(handler: WGPUQueue?, commandCount: ULong, commands: ArrayHolder<WGPUCommandBuffer>?)
Link copied to clipboard
actual fun wgpuQueueWriteBuffer(handler: WGPUQueue?, buffer: WGPUBuffer?, bufferOffset: ULong, data: NativeAddress?, size: ULong)
expect fun wgpuQueueWriteBuffer(handler: WGPUQueue?, buffer: WGPUBuffer?, bufferOffset: ULong, data: NativeAddress?, size: ULong)

Produces a @ref DeviceError both content-timeline (size alignment) and device-timeline errors defined by the WebGPU specification.

actual fun wgpuQueueWriteBuffer(handler: WGPUQueue?, buffer: WGPUBuffer?, bufferOffset: ULong, data: NativeAddress?, size: ULong)
actual fun wgpuQueueWriteBuffer(handler: WGPUQueue?, buffer: WGPUBuffer?, bufferOffset: ULong, data: NativeAddress?, size: ULong)
Link copied to clipboard
actual fun wgpuQueueWriteTexture(handler: WGPUQueue?, destination: WGPUTexelCopyTextureInfo?, data: NativeAddress?, dataSize: ULong, dataLayout: WGPUTexelCopyBufferLayout?, writeSize: WGPUExtent3D?)
expect fun wgpuQueueWriteTexture(handler: WGPUQueue?, destination: WGPUTexelCopyTextureInfo?, data: NativeAddress?, dataSize: ULong, dataLayout: WGPUTexelCopyBufferLayout?, writeSize: WGPUExtent3D?)
actual fun wgpuQueueWriteTexture(handler: WGPUQueue?, destination: WGPUTexelCopyTextureInfo?, data: NativeAddress?, dataSize: ULong, dataLayout: WGPUTexelCopyBufferLayout?, writeSize: WGPUExtent3D?)
actual fun wgpuQueueWriteTexture(handler: WGPUQueue?, destination: WGPUTexelCopyTextureInfo?, data: NativeAddress?, dataSize: ULong, dataLayout: WGPUTexelCopyBufferLayout?, writeSize: WGPUExtent3D?)
Link copied to clipboard
actual fun wgpuRenderBundleEncoderDraw(handler: WGPURenderBundleEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
expect fun wgpuRenderBundleEncoderDraw(handler: WGPURenderBundleEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
actual fun wgpuRenderBundleEncoderDraw(handler: WGPURenderBundleEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
actual fun wgpuRenderBundleEncoderDraw(handler: WGPURenderBundleEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
Link copied to clipboard
actual fun wgpuRenderBundleEncoderDrawIndexed(handler: WGPURenderBundleEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
expect fun wgpuRenderBundleEncoderDrawIndexed(handler: WGPURenderBundleEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
actual fun wgpuRenderBundleEncoderDrawIndexed(handler: WGPURenderBundleEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
actual fun wgpuRenderBundleEncoderDrawIndexed(handler: WGPURenderBundleEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
actual fun wgpuRenderBundleEncoderDrawIndexedIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
expect fun wgpuRenderBundleEncoderDrawIndexedIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderBundleEncoderDrawIndexedIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderBundleEncoderDrawIndexedIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
Link copied to clipboard
actual fun wgpuRenderBundleEncoderDrawIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
expect fun wgpuRenderBundleEncoderDrawIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderBundleEncoderDrawIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderBundleEncoderDrawIndirect(handler: WGPURenderBundleEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
Link copied to clipboard
actual fun wgpuRenderBundleEncoderSetBindGroup(handler: WGPURenderBundleEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
expect fun wgpuRenderBundleEncoderSetBindGroup(handler: WGPURenderBundleEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuRenderBundleEncoderSetBindGroup(handler: WGPURenderBundleEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuRenderBundleEncoderSetBindGroup(handler: WGPURenderBundleEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuRenderBundleEncoderSetVertexBuffer(handler: WGPURenderBundleEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
expect fun wgpuRenderBundleEncoderSetVertexBuffer(handler: WGPURenderBundleEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuRenderBundleEncoderSetVertexBuffer(handler: WGPURenderBundleEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuRenderBundleEncoderSetVertexBuffer(handler: WGPURenderBundleEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuRenderPassEncoderDraw(handler: WGPURenderPassEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
expect fun wgpuRenderPassEncoderDraw(handler: WGPURenderPassEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
actual fun wgpuRenderPassEncoderDraw(handler: WGPURenderPassEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
actual fun wgpuRenderPassEncoderDraw(handler: WGPURenderPassEncoder?, vertexCount: UInt, instanceCount: UInt, firstVertex: UInt, firstInstance: UInt)
Link copied to clipboard
actual fun wgpuRenderPassEncoderDrawIndexed(handler: WGPURenderPassEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
expect fun wgpuRenderPassEncoderDrawIndexed(handler: WGPURenderPassEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
actual fun wgpuRenderPassEncoderDrawIndexed(handler: WGPURenderPassEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
actual fun wgpuRenderPassEncoderDrawIndexed(handler: WGPURenderPassEncoder?, indexCount: UInt, instanceCount: UInt, firstIndex: UInt, baseVertex: Int, firstInstance: UInt)
Link copied to clipboard
actual fun wgpuRenderPassEncoderDrawIndexedIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
expect fun wgpuRenderPassEncoderDrawIndexedIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderPassEncoderDrawIndexedIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderPassEncoderDrawIndexedIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
Link copied to clipboard
actual fun wgpuRenderPassEncoderDrawIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
expect fun wgpuRenderPassEncoderDrawIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderPassEncoderDrawIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
actual fun wgpuRenderPassEncoderDrawIndirect(handler: WGPURenderPassEncoder?, indirectBuffer: WGPUBuffer?, indirectOffset: ULong)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuRenderPassEncoderSetBindGroup(handler: WGPURenderPassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
expect fun wgpuRenderPassEncoderSetBindGroup(handler: WGPURenderPassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuRenderPassEncoderSetBindGroup(handler: WGPURenderPassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
actual fun wgpuRenderPassEncoderSetBindGroup(handler: WGPURenderPassEncoder?, groupIndex: UInt, group: WGPUBindGroup?, dynamicOffsetCount: ULong, dynamicOffsets: ArrayHolder<UInt>?)
Link copied to clipboard
actual fun wgpuRenderPassEncoderSetIndexBuffer(handler: WGPURenderPassEncoder?, buffer: WGPUBuffer?, format: WGPUIndexFormat, offset: ULong, size: ULong)
expect fun wgpuRenderPassEncoderSetIndexBuffer(handler: WGPURenderPassEncoder?, buffer: WGPUBuffer?, format: WGPUIndexFormat, offset: ULong, size: ULong)
actual fun wgpuRenderPassEncoderSetIndexBuffer(handler: WGPURenderPassEncoder?, buffer: WGPUBuffer?, format: WGPUIndexFormat, offset: ULong, size: ULong)
actual fun wgpuRenderPassEncoderSetIndexBuffer(handler: WGPURenderPassEncoder?, buffer: WGPUBuffer?, format: WGPUIndexFormat, offset: ULong, size: ULong)
Link copied to clipboard
actual fun wgpuRenderPassEncoderSetScissorRect(handler: WGPURenderPassEncoder?, x: UInt, y: UInt, width: UInt, height: UInt)
expect fun wgpuRenderPassEncoderSetScissorRect(handler: WGPURenderPassEncoder?, x: UInt, y: UInt, width: UInt, height: UInt)
actual fun wgpuRenderPassEncoderSetScissorRect(handler: WGPURenderPassEncoder?, x: UInt, y: UInt, width: UInt, height: UInt)
actual fun wgpuRenderPassEncoderSetScissorRect(handler: WGPURenderPassEncoder?, x: UInt, y: UInt, width: UInt, height: UInt)
Link copied to clipboard
actual fun wgpuRenderPassEncoderSetVertexBuffer(handler: WGPURenderPassEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
expect fun wgpuRenderPassEncoderSetVertexBuffer(handler: WGPURenderPassEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuRenderPassEncoderSetVertexBuffer(handler: WGPURenderPassEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
actual fun wgpuRenderPassEncoderSetVertexBuffer(handler: WGPURenderPassEncoder?, slot: UInt, buffer: WGPUBuffer?, offset: ULong, size: ULong)
Link copied to clipboard
actual fun wgpuRenderPassEncoderSetViewport(handler: WGPURenderPassEncoder?, x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
expect fun wgpuRenderPassEncoderSetViewport(handler: WGPURenderPassEncoder?, x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
actual fun wgpuRenderPassEncoderSetViewport(handler: WGPURenderPassEncoder?, x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
actual fun wgpuRenderPassEncoderSetViewport(handler: WGPURenderPassEncoder?, x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuSamplerRelease(handler: WGPUSampler?)
expect fun wgpuSamplerRelease(handler: WGPUSampler?)
actual fun wgpuSamplerRelease(handler: WGPUSampler?)
actual fun wgpuSamplerRelease(handler: WGPUSampler?)
Link copied to clipboard
actual fun wgpuSamplerSetLabel(handler: WGPUSampler?, label: WGPUStringView)
expect fun wgpuSamplerSetLabel(handler: WGPUSampler?, label: WGPUStringView)
actual fun wgpuSamplerSetLabel(handler: WGPUSampler?, label: WGPUStringView)
actual fun wgpuSamplerSetLabel(handler: WGPUSampler?, label: WGPUStringView)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuSetLogLevel(level: WGPULogLevel)
expect fun wgpuSetLogLevel(level: WGPULogLevel)
actual fun wgpuSetLogLevel(level: WGPULogLevel)
actual fun wgpuSetLogLevel(level: WGPULogLevel)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configures parameters for rendering to surface. Produces a @ref DeviceError for all content-timeline errors defined by the WebGPU specification.

Link copied to clipboard
actual fun wgpuSurfaceGetCapabilities(handler: WGPUSurface?, adapter: WGPUAdapter?, capabilities: WGPUSurfaceCapabilities?): WGPUStatus
expect fun wgpuSurfaceGetCapabilities(handler: WGPUSurface?, adapter: WGPUAdapter?, capabilities: WGPUSurfaceCapabilities?): WGPUStatus

Provides information on how adapter is able to use surface. See @ref Surface-Capabilities for more details.

actual fun wgpuSurfaceGetCapabilities(handler: WGPUSurface?, adapter: WGPUAdapter?, capabilities: WGPUSurfaceCapabilities?): WGPUStatus
actual fun wgpuSurfaceGetCapabilities(handler: WGPUSurface?, adapter: WGPUAdapter?, capabilities: WGPUSurfaceCapabilities?): WGPUStatus
Link copied to clipboard
actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)
expect fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)

Returns the @ref WGPUTexture to render to surface this frame along with metadata on the frame. Returns NULL and @ref WGPUSurfaceGetCurrentTextureStatus_Error if the surface is not configured.

actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)
actual fun wgpuSurfaceGetCurrentTexture(handler: WGPUSurface?, surfaceTexture: WGPUSurfaceTexture?)
Link copied to clipboard

Shows surface's current texture to the user. See @ref Surface-Presenting for more details.

Link copied to clipboard
actual fun wgpuSurfaceRelease(handler: WGPUSurface?)
expect fun wgpuSurfaceRelease(handler: WGPUSurface?)
actual fun wgpuSurfaceRelease(handler: WGPUSurface?)
actual fun wgpuSurfaceRelease(handler: WGPUSurface?)
Link copied to clipboard
actual fun wgpuSurfaceSetLabel(handler: WGPUSurface?, label: WGPUStringView)
expect fun wgpuSurfaceSetLabel(handler: WGPUSurface?, label: WGPUStringView)

Modifies the label used to refer to surface.

actual fun wgpuSurfaceSetLabel(handler: WGPUSurface?, label: WGPUStringView)
actual fun wgpuSurfaceSetLabel(handler: WGPUSurface?, label: WGPUStringView)
Link copied to clipboard
actual fun wgpuSurfaceUnconfigure(handler: WGPUSurface?)
expect fun wgpuSurfaceUnconfigure(handler: WGPUSurface?)

Removes the configuration for surface. See @ref Surface-Configuration for more details.

actual fun wgpuSurfaceUnconfigure(handler: WGPUSurface?)
actual fun wgpuSurfaceUnconfigure(handler: WGPUSurface?)
Link copied to clipboard
Link copied to clipboard
actual fun wgpuTextureDestroy(handler: WGPUTexture?)
expect fun wgpuTextureDestroy(handler: WGPUTexture?)
actual fun wgpuTextureDestroy(handler: WGPUTexture?)
actual fun wgpuTextureDestroy(handler: WGPUTexture?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuTextureGetHeight(handler: WGPUTexture?): UInt
expect fun wgpuTextureGetHeight(handler: WGPUTexture?): UInt
actual fun wgpuTextureGetHeight(handler: WGPUTexture?): UInt
actual fun wgpuTextureGetHeight(handler: WGPUTexture?): UInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun wgpuTextureGetUsage(handler: WGPUTexture?): ULong
expect fun wgpuTextureGetUsage(handler: WGPUTexture?): ULong
actual fun wgpuTextureGetUsage(handler: WGPUTexture?): ULong
actual fun wgpuTextureGetUsage(handler: WGPUTexture?): ULong
Link copied to clipboard
actual fun wgpuTextureGetWidth(handler: WGPUTexture?): UInt
expect fun wgpuTextureGetWidth(handler: WGPUTexture?): UInt
actual fun wgpuTextureGetWidth(handler: WGPUTexture?): UInt
actual fun wgpuTextureGetWidth(handler: WGPUTexture?): UInt
Link copied to clipboard
actual fun wgpuTextureRelease(handler: WGPUTexture?)
expect fun wgpuTextureRelease(handler: WGPUTexture?)
actual fun wgpuTextureRelease(handler: WGPUTexture?)
actual fun wgpuTextureRelease(handler: WGPUTexture?)
Link copied to clipboard
actual fun wgpuTextureSetLabel(handler: WGPUTexture?, label: WGPUStringView)
expect fun wgpuTextureSetLabel(handler: WGPUTexture?, label: WGPUStringView)
actual fun wgpuTextureSetLabel(handler: WGPUTexture?, label: WGPUStringView)
actual fun wgpuTextureSetLabel(handler: WGPUTexture?, label: WGPUStringView)
Link copied to clipboard
Link copied to clipboard