Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class CFunctionInvoke
Link copied to clipboard
typealias NativeArray<T> = MemorySegment
Link copied to clipboard
typealias NativeMemory<T> = MemorySegment
Link copied to clipboard
typealias Pointer<T> = MemorySegment
Link copied to clipboard
typealias Void = Unit
Link copied to clipboard
Link copied to clipboard
value class WGPUAdapterImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUAdapterInfo(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUBindGroupDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBindGroupEntry(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBindGroupImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUBindGroupLayoutDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBindGroupLayoutEntry(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBindGroupLayoutImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUBlendComponent(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUBlendState(val $mem: MemorySegment)

TODO

Link copied to clipboard
typealias WGPUBool = <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
value class WGPUBufferBindingLayout(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBufferDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUBufferImpl(val $mem: MemorySegment)
Link copied to clipboard
typealias WGPUBufferMapCallback = Pointer<(status: WGPUMapAsyncStatus, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUBufferMapCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard

TODO

Link copied to clipboard

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

Link copied to clipboard
value class WGPUChainedStruct(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUColor(val $mem: MemorySegment)

An RGBA color. Represents a f32, i32, or u32 color using DoubleAsSupertype.

Link copied to clipboard
value class WGPUColorTargetState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUCommandBufferDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUCommandBufferImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUCommandEncoderDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUCommandEncoderImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUCompilationInfo(val $mem: MemorySegment)

TODO

Link copied to clipboard
typealias WGPUCompilationInfoCallback = Pointer<(status: WGPUCompilationInfoRequestStatus, compilationInfo: Pointer<WGPUCompilationInfo>, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUCompilationInfoCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUCompilationMessage(val $mem: MemorySegment)

TODO

Link copied to clipboard

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

Link copied to clipboard
value class WGPUComputePassDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUComputePassEncoderImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUComputePipelineDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUComputePipelineImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUComputeState(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUConstantEntry(val $mem: MemorySegment)

TODO

value class WGPUCreateComputePipelineAsyncCallbackInfo(val $mem: MemorySegment)
value class WGPUCreateRenderPipelineAsyncCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUDepthStencilState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUDeviceDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUDeviceImpl(val $mem: MemorySegment)
Link copied to clipboard
typealias WGPUDeviceLostCallback = Pointer<(device: Pointer<WGPUDevice>, reason: WGPUDeviceLostReason, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUDeviceLostCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUExtent3D(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias WGPUFlags = <Error class: unknown class>
Link copied to clipboard
value class WGPUFragmentState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUFuture(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUFutureWaitInfo(val $mem: MemorySegment)

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUInstanceCapabilities(val $mem: MemorySegment)

Features enabled on the WGPUInstance

Link copied to clipboard
value class WGPUInstanceDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUInstanceImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPULimits(val $mem: MemorySegment)

TODO

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

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUMultisampleState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUOrigin3D(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUPassTimestampWrites(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUPipelineLayoutDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUPipelineLayoutImpl(val $mem: MemorySegment)
Link copied to clipboard
typealias WGPUPopErrorScopeCallback = Pointer<(status: WGPUPopErrorScopeStatus, type: WGPUErrorType, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUPopErrorScopeCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
value class WGPUPrimitiveState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUQuerySetDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUQuerySetImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUQueueDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUQueueImpl(val $mem: MemorySegment)
Link copied to clipboard
typealias WGPUQueueWorkDoneCallback = Pointer<(status: WGPUQueueWorkDoneStatus, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUQueueWorkDoneCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPURenderBundleDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderBundleEncoderDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderBundleEncoderImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPURenderBundleImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPURenderPassColorAttachment(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderPassDepthStencilAttachment(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderPassDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderPassEncoderImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPURenderPassMaxDrawCount(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPURenderPipelineDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPURenderPipelineImpl(val $mem: MemorySegment)
Link copied to clipboard
typealias WGPURequestAdapterCallback = Pointer<(status: WGPURequestAdapterStatus, adapter: WGPUAdapter, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPURequestAdapterCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
value class WGPURequestAdapterOptions(val $mem: MemorySegment)

TODO

Link copied to clipboard
typealias WGPURequestDeviceCallback = Pointer<(status: WGPURequestDeviceStatus, device: WGPUDevice, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPURequestDeviceCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUSamplerBindingLayout(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUSamplerDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUSamplerImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
value class WGPUShaderModuleDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUShaderModuleImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUShaderSourceSPIRV(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUShaderSourceWGSL(val $mem: MemorySegment)

TODO

Link copied to clipboard

TODO

Link copied to clipboard

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

Link copied to clipboard
value class WGPUStencilFaceState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUStorageTextureBindingLayout(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUStringView(val $mem: MemorySegment)
Link copied to clipboard

TODO

Link copied to clipboard
value class WGPUSupportedFeatures(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUSupportedWGSLLanguageFeatures(val $mem: MemorySegment)

TODO

Link copied to clipboard

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

Link copied to clipboard
value class WGPUSurfaceCapabilities(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceColorManagement(val $mem: MemorySegment)

Extension of WGPUSurfaceConfiguration for color spaces and HDR.

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

Link copied to clipboard
value class WGPUSurfaceDescriptor(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceImpl(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUSurfaceSourceAndroidNativeWindow(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceSourceMetalLayer(val $mem: MemorySegment)

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a CAMetalLayer.

Link copied to clipboard
value class WGPUSurfaceSourceWaylandSurface(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceSourceWindowsHWND(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceSourceXCBWindow(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceSourceXlibWindow(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUSurfaceTexture(val $mem: MemorySegment)

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

Link copied to clipboard
value class WGPUTexelCopyBufferInfo(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUTexelCopyBufferLayout(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUTexelCopyTextureInfo(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUTextureBindingLayout(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUTextureDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
value class WGPUTextureImpl(val $mem: MemorySegment)
Link copied to clipboard

TODO

Link copied to clipboard
Link copied to clipboard
value class WGPUTextureViewDescriptor(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUTextureViewImpl(val $mem: MemorySegment)
Link copied to clipboard
Link copied to clipboard
typealias WGPUUncapturedErrorCallback = Pointer<(device: Pointer<WGPUDevice>, type: WGPUErrorType, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>) -> Unit>
Link copied to clipboard
value class WGPUUncapturedErrorCallbackInfo(val $mem: MemorySegment)
Link copied to clipboard
value class WGPUVertexAttribute(val $mem: MemorySegment)

TODO

Link copied to clipboard
value class WGPUVertexBufferLayout(val $mem: MemorySegment)

If attributes is empty and stepMode is WGPUVertexStepMode.Undefined, indicates a "hole" in the parent WGPUVertexState.buffers array, with behavior equivalent to null in the JS API.

Link copied to clipboard
Link copied to clipboard
value class WGPUVertexState(val $mem: MemorySegment)

TODO

Link copied to clipboard
Link copied to clipboard

Status returned from a call to ::wgpuInstanceWaitAny.

Functions

Link copied to clipboard
Link copied to clipboard

Get the list of WGPUFeatureName values supported by the adapter.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuAdapterHasFeature(adapter: WGPUAdapter, feature: WGPUFeatureName): <Error class: unknown class>

TODO

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

TODO

Link copied to clipboard
fun wgpuBufferGetConstMappedRange(buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>): Pointer<Unit>

Returns a const pointer to beginning of the mapped range. It must not be written; writing to this range causes undefined behavior. See GetMappedRangeBehavior for error conditions and guarantees. This function is safe to call inside spontaneous callbacks (see CallbackReentrancy).

Link copied to clipboard
fun wgpuBufferGetMappedRange(buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>): Pointer<Unit>

Returns a mutable pointer to beginning of the mapped range. See GetMappedRangeBehavior for error conditions and guarantees. This function is safe to call inside spontaneous callbacks (see CallbackReentrancy).

Link copied to clipboard
Link copied to clipboard
fun wgpuBufferGetSize(buffer: WGPUBuffer): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuBufferGetUsage(buffer: WGPUBuffer): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuBufferMapAsync(buffer: WGPUBuffer, mode: <Error class: unknown class>, offset: <Error class: unknown class>, size: <Error class: unknown class>, callbackInfo: WGPUBufferMapCallbackInfo): WGPUFuture

TODO

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

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuCommandEncoderClearBuffer(commandEncoder: WGPUCommandEncoder, buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuCommandEncoderCopyBufferToBuffer(commandEncoder: WGPUCommandEncoder, source: WGPUBuffer, sourceOffset: <Error class: unknown class>, destination: WGPUBuffer, destinationOffset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuCommandEncoderResolveQuerySet(commandEncoder: WGPUCommandEncoder, querySet: WGPUQuerySet, firstQuery: <Error class: unknown class>, queryCount: <Error class: unknown class>, destination: WGPUBuffer, destinationOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuCommandEncoderWriteTimestamp(commandEncoder: WGPUCommandEncoder, querySet: WGPUQuerySet, queryIndex: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuComputePassEncoderDispatchWorkgroups(computePassEncoder: WGPUComputePassEncoder, workgroupCountX: <Error class: unknown class>, workgroupCountY: <Error class: unknown class>, workgroupCountZ: <Error class: unknown class>)

TODO

fun wgpuComputePassEncoderDispatchWorkgroupsIndirect(computePassEncoder: WGPUComputePassEncoder, indirectBuffer: WGPUBuffer, indirectOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuComputePassEncoderSetBindGroup(computePassEncoder: WGPUComputePassEncoder, groupIndex: <Error class: unknown class>, group: WGPUBindGroup, dynamicOffsets: Pointer<NativeArray<<Error class: unknown class>>>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuComputePipelineGetBindGroupLayout(computePipeline: WGPUComputePipeline, groupIndex: <Error class: unknown class>): WGPUBindGroupLayout

TODO

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

TODO

Link copied to clipboard
Link copied to clipboard

Get the list of WGPUFeatureName values supported by the device.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuDeviceHasFeature(device: WGPUDevice, feature: WGPUFeatureName): <Error class: unknown class>

TODO

Link copied to clipboard

Pops an error scope to the current thread's error scope stack, asynchronously returning the result. See ErrorScopes.

Link copied to clipboard

Pushes an error scope to the current thread's error scope stack. See ErrorScopes.

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

Query the supported instance capabilities.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuInstanceHasWGSLLanguageFeature(instance: WGPUInstance, feature: WGPUWGSLLanguageFeatureName): <Error class: unknown class>

TODO

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
fun wgpuInstanceWaitAny(instance: WGPUInstance, futureCount: <Error class: unknown class>, futures: Pointer<WGPUFutureWaitInfo>, timeoutNS: <Error class: unknown class>): WGPUWaitStatus

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuQuerySetGetCount(querySet: WGPUQuerySet): <Error class: unknown class>

TODO

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
fun wgpuQueueSubmit(queue: WGPUQueue, commandCount: <Error class: unknown class>, commands: Pointer<WGPUCommandBuffer>)

TODO

Link copied to clipboard
fun wgpuQueueWriteBuffer(queue: WGPUQueue, buffer: WGPUBuffer, bufferOffset: <Error class: unknown class>, data: Pointer<Unit>, size: <Error class: unknown class>)

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

Link copied to clipboard
fun wgpuQueueWriteTexture(queue: WGPUQueue, destination: Pointer<WGPUTexelCopyTextureInfo>, data: Pointer<Unit>, dataSize: <Error class: unknown class>, dataLayout: Pointer<WGPUTexelCopyBufferLayout>, writeSize: Pointer<WGPUExtent3D>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuRenderBundleEncoderDraw(renderBundleEncoder: WGPURenderBundleEncoder, vertexCount: <Error class: unknown class>, instanceCount: <Error class: unknown class>, firstVertex: <Error class: unknown class>, firstInstance: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderBundleEncoderDrawIndexed(renderBundleEncoder: WGPURenderBundleEncoder, indexCount: <Error class: unknown class>, instanceCount: <Error class: unknown class>, firstIndex: <Error class: unknown class>, baseVertex: Int, firstInstance: <Error class: unknown class>)

TODO

fun wgpuRenderBundleEncoderDrawIndexedIndirect(renderBundleEncoder: WGPURenderBundleEncoder, indirectBuffer: WGPUBuffer, indirectOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderBundleEncoderDrawIndirect(renderBundleEncoder: WGPURenderBundleEncoder, indirectBuffer: WGPUBuffer, indirectOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderBundleEncoderSetBindGroup(renderBundleEncoder: WGPURenderBundleEncoder, groupIndex: <Error class: unknown class>, group: WGPUBindGroup, dynamicOffsets: Pointer<NativeArray<<Error class: unknown class>>>)

TODO

Link copied to clipboard
fun wgpuRenderBundleEncoderSetIndexBuffer(renderBundleEncoder: WGPURenderBundleEncoder, buffer: WGPUBuffer, format: WGPUIndexFormat, offset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuRenderBundleEncoderSetVertexBuffer(renderBundleEncoder: WGPURenderBundleEncoder, slot: <Error class: unknown class>, buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuRenderPassEncoderBeginOcclusionQuery(renderPassEncoder: WGPURenderPassEncoder, queryIndex: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderDraw(renderPassEncoder: WGPURenderPassEncoder, vertexCount: <Error class: unknown class>, instanceCount: <Error class: unknown class>, firstVertex: <Error class: unknown class>, firstInstance: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderDrawIndexed(renderPassEncoder: WGPURenderPassEncoder, indexCount: <Error class: unknown class>, instanceCount: <Error class: unknown class>, firstIndex: <Error class: unknown class>, baseVertex: Int, firstInstance: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderDrawIndexedIndirect(renderPassEncoder: WGPURenderPassEncoder, indirectBuffer: WGPUBuffer, indirectOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderDrawIndirect(renderPassEncoder: WGPURenderPassEncoder, indirectBuffer: WGPUBuffer, indirectOffset: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuRenderPassEncoderExecuteBundles(renderPassEncoder: WGPURenderPassEncoder, bundleCount: <Error class: unknown class>, bundles: Pointer<WGPURenderBundle>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuRenderPassEncoderSetBindGroup(renderPassEncoder: WGPURenderPassEncoder, groupIndex: <Error class: unknown class>, group: WGPUBindGroup, dynamicOffsets: Pointer<NativeArray<<Error class: unknown class>>>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderSetIndexBuffer(renderPassEncoder: WGPURenderPassEncoder, buffer: WGPUBuffer, format: WGPUIndexFormat, offset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuRenderPassEncoderSetScissorRect(renderPassEncoder: WGPURenderPassEncoder, x: <Error class: unknown class>, y: <Error class: unknown class>, width: <Error class: unknown class>, height: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderSetStencilReference(renderPassEncoder: WGPURenderPassEncoder, reference: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderSetVertexBuffer(renderPassEncoder: WGPURenderPassEncoder, slot: <Error class: unknown class>, buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>)

TODO

Link copied to clipboard
fun wgpuRenderPassEncoderSetViewport(renderPassEncoder: WGPURenderPassEncoder, x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuRenderPipelineGetBindGroupLayout(renderPipeline: WGPURenderPipeline, groupIndex: <Error class: unknown class>): WGPUBindGroupLayout

TODO

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

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

Link copied to clipboard

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

Link copied to clipboard

Returns the WGPUTexture to render to surface this frame along with metadata on the frame. Returns NULL and WGPUSurfaceGetCurrentTextureStatus.Error if the surface is not configured.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

Modifies the label used to refer to surface.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun wgpuTextureGetDepthOrArrayLayers(texture: WGPUTexture): <Error class: unknown class>

TODO

Link copied to clipboard
Link copied to clipboard
fun wgpuTextureGetHeight(texture: WGPUTexture): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuTextureGetMipLevelCount(texture: WGPUTexture): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuTextureGetSampleCount(texture: WGPUTexture): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuTextureGetUsage(texture: WGPUTexture): <Error class: unknown class>

TODO

Link copied to clipboard
fun wgpuTextureGetWidth(texture: WGPUTexture): <Error class: unknown class>

TODO

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