Crate dawn_sys

Source
Expand description

dawn-sys provides unsafe Rust bindings for Dawn, the open-source and cross-platform implementation of the WebGPU standard that powers Google Chrome, Microsoft Edge, and other Chromium-based browsers. It also provides Pre-built Dawn binaries (webgpu_dawn.dll), kindly provided by Mārtiņš Možeiko’s build-dawn automation on GitHub Actions that rebuilds the Dawn binaries once per week. This crate contains a build script that handles chores like copying necessary binaries to the output directory, making everything ready out of the box.

Note that this crate is not providing rustdoc for its exported items. Check https://webgpu-native.github.io/webgpu-headers/index.html for documentation.

If you are looking for safe and idiomatic Rust wrappers for Dawn or webgpu.h, you should consider dawn-rs instead of this crate, which provides higher-level and more “Rust-style” abstractions based on this crate. If you are just looking for a higher-level graphics API wrapper and guarenteed consistent behavior and performance with mainstream browsers (Google Chrome, Microsoft Edge, …) isn’t one your major concerns, please also try wgpu before reaching for dawn-rs or dawn-sys. wgpu is another open source and cross-platform implementation of the WebGPU specification that is fully written in Rust and is used in Mozilla Firefox, Servo and Deno for WebGPU support. It also serves as the de-facto standard of high-level, cross-platform graphics development in the Rust ecosystem.

This crate is still a work in progress. USE AT YOUR OWN RISK. It should serve in most common cases but may lack certain APIs or fail on corner cases. The aforementioned wgpu crate is way more mature and should always be considered ahead of this crate.

This crate is currently Windows-only. Given the cross-platform capabilities of Dawn, it is planned to eventually support macOS, Linux and web in the long term, but it is not currently a key focus of the maintainer of this crate. If you’d like to help, you are welcome to open an issue for further discussion.

The webgpu_dawn.dll distributed by this crate currenly contains only the Direct3D 12 Backend. Requesting an adapter of other backends will result in an error. This is a limitation of build-dawn and we plan to set up a custom GitHub Action to provide more options on prebuilt binaries in the near future.

This crate is licensed under the BSD-3-Clause license, aligning to Dawn and WebGPU-Headers. This whole repository, including the code generator, is licensed under the GNU General Public License, Version 3.0, see README.md at the repository root.

This crate welcomes all kind of contributions. Open an issue or PR at any time for bugfixes or feature requests.

Structs§

WGPUAHardwareBufferProperties
WGPUAdapterImpl
WGPUAdapterInfo
WGPUAdapterPropertiesD3D
WGPUAdapterPropertiesMemoryHeaps
WGPUAdapterPropertiesSubgroupMatrixConfigs
WGPUAdapterPropertiesSubgroups
WGPUAdapterPropertiesVk
WGPUAdapterType
WGPUAddressMode
WGPUAlphaMode
WGPUBackendType
WGPUBindGroupDescriptor
WGPUBindGroupEntry
WGPUBindGroupImpl
WGPUBindGroupLayoutDescriptor
WGPUBindGroupLayoutEntry
WGPUBindGroupLayoutEntryArraySize
WGPUBindGroupLayoutImpl
WGPUBlendComponent
WGPUBlendFactor
WGPUBlendOperation
WGPUBlendState
WGPUBufferBindingLayout
WGPUBufferBindingType
WGPUBufferDescriptor
WGPUBufferHostMappedPointer
WGPUBufferImpl
WGPUBufferMapCallbackInfo
WGPUBufferMapState
WGPUCallbackMode
WGPUChainedStruct
WGPUColor
WGPUColorTargetState
WGPUColorTargetStateExpandResolveTextureDawn
WGPUCommandBufferDescriptor
WGPUCommandBufferImpl
WGPUCommandEncoderDescriptor
WGPUCommandEncoderImpl
WGPUCompareFunction
WGPUCompilationInfo
WGPUCompilationInfoCallbackInfo
WGPUCompilationInfoRequestStatus
WGPUCompilationMessage
WGPUCompilationMessageType
WGPUCompositeAlphaMode
WGPUComputePassDescriptor
WGPUComputePassEncoderImpl
WGPUComputePipelineDescriptor
WGPUComputePipelineImpl
WGPUComputeState
WGPUConstantEntry
WGPUCopyTextureForBrowserOptions
WGPUCreateComputePipelineAsyncCallbackInfo
WGPUCreatePipelineAsyncStatus
WGPUCreateRenderPipelineAsyncCallbackInfo
WGPUCullMode
WGPUDawnAdapterPropertiesPowerPreference
WGPUDawnBufferDescriptorErrorInfoFromWireClient
WGPUDawnCacheDeviceDescriptor
WGPUDawnCompilationMessageUtf16
WGPUDawnDeviceAllocatorControl
WGPUDawnDrmFormatCapabilities
WGPUDawnDrmFormatProperties
WGPUDawnEncoderInternalUsageDescriptor
WGPUDawnFakeBufferOOMForTesting
WGPUDawnFormatCapabilities
WGPUDawnHostMappedPointerLimits
WGPUDawnInjectedInvalidSType
WGPUDawnRenderPassColorAttachmentRenderToSingleSampled
WGPUDawnShaderModuleSPIRVOptionsDescriptor
WGPUDawnTexelCopyBufferRowAlignmentLimits
WGPUDawnTextureInternalUsageDescriptor
WGPUDawnTogglesDescriptor
WGPUDawnWGSLBlocklist
WGPUDawnWireWGSLControl
WGPUDepthStencilState
WGPUDeviceDescriptor
WGPUDeviceImpl
WGPUDeviceLostCallbackInfo
WGPUDeviceLostReason
WGPUEmscriptenSurfaceSourceCanvasHTMLSelector
WGPUErrorFilter
WGPUErrorType
WGPUExtent2D
WGPUExtent3D
WGPUExternalTextureBindingEntry
WGPUExternalTextureBindingLayout
WGPUExternalTextureDescriptor
WGPUExternalTextureImpl
WGPUExternalTextureRotation
WGPUFeatureLevel
WGPUFeatureName
WGPUFilterMode
WGPUFragmentState
WGPUFrontFace
WGPUFuture
WGPUFutureWaitInfo
WGPUImageCopyExternalTexture
WGPUIndexFormat
WGPUInstanceCapabilities
WGPUInstanceDescriptor
WGPUInstanceImpl
WGPULimits
WGPULoadOp
WGPULoggingCallbackInfo
WGPULoggingType
WGPUMapAsyncStatus
WGPUMemoryHeapInfo
WGPUMipmapFilterMode
WGPUMultisampleState
WGPUOptionalBool
WGPUOrigin2D
WGPUOrigin3D
WGPUPassTimestampWrites
WGPUPipelineLayoutDescriptor
WGPUPipelineLayoutImpl
WGPUPipelineLayoutPixelLocalStorage
WGPUPipelineLayoutStorageAttachment
WGPUPopErrorScopeCallbackInfo
WGPUPopErrorScopeStatus
WGPUPowerPreference
WGPUPredefinedColorSpace
WGPUPresentMode
WGPUPrimitiveState
WGPUPrimitiveTopology
WGPUQuerySetDescriptor
WGPUQuerySetImpl
WGPUQueryType
WGPUQueueDescriptor
WGPUQueueImpl
WGPUQueueWorkDoneCallbackInfo
WGPUQueueWorkDoneStatus
WGPURenderBundleDescriptor
WGPURenderBundleEncoderDescriptor
WGPURenderBundleEncoderImpl
WGPURenderBundleImpl
WGPURenderPassColorAttachment
WGPURenderPassDepthStencilAttachment
WGPURenderPassDescriptor
WGPURenderPassDescriptorExpandResolveRect
WGPURenderPassDescriptorResolveRect
WGPURenderPassEncoderImpl
WGPURenderPassMaxDrawCount
WGPURenderPassPixelLocalStorage
WGPURenderPassStorageAttachment
WGPURenderPipelineDescriptor
WGPURenderPipelineImpl
WGPURequestAdapterCallbackInfo
WGPURequestAdapterOptions
WGPURequestAdapterStatus
WGPURequestAdapterWebXROptions
WGPURequestDeviceCallbackInfo
WGPURequestDeviceStatus
WGPUSType
WGPUSamplerBindingLayout
WGPUSamplerBindingType
WGPUSamplerDescriptor
WGPUSamplerImpl
WGPUShaderModuleCompilationOptions
WGPUShaderModuleDescriptor
WGPUShaderModuleImpl
WGPUShaderSourceSPIRV
WGPUShaderSourceWGSL
WGPUSharedBufferMemoryBeginAccessDescriptor
WGPUSharedBufferMemoryDescriptor
WGPUSharedBufferMemoryEndAccessState
WGPUSharedBufferMemoryImpl
WGPUSharedBufferMemoryProperties
WGPUSharedFenceDXGISharedHandleDescriptor
WGPUSharedFenceDXGISharedHandleExportInfo
WGPUSharedFenceDescriptor
WGPUSharedFenceEGLSyncDescriptor
WGPUSharedFenceEGLSyncExportInfo
WGPUSharedFenceExportInfo
WGPUSharedFenceImpl
WGPUSharedFenceMTLSharedEventDescriptor
WGPUSharedFenceMTLSharedEventExportInfo
WGPUSharedFenceSyncFDDescriptor
WGPUSharedFenceSyncFDExportInfo
WGPUSharedFenceType
WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor
WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo
WGPUSharedFenceVkSemaphoreZirconHandleDescriptor
WGPUSharedFenceVkSemaphoreZirconHandleExportInfo
WGPUSharedTextureMemoryAHardwareBufferDescriptor
WGPUSharedTextureMemoryAHardwareBufferProperties
WGPUSharedTextureMemoryBeginAccessDescriptor
WGPUSharedTextureMemoryD3DSwapchainBeginState
WGPUSharedTextureMemoryDXGISharedHandleDescriptor
WGPUSharedTextureMemoryDescriptor
WGPUSharedTextureMemoryDmaBufDescriptor
WGPUSharedTextureMemoryDmaBufPlane
WGPUSharedTextureMemoryEGLImageDescriptor
WGPUSharedTextureMemoryEndAccessState
WGPUSharedTextureMemoryIOSurfaceDescriptor
WGPUSharedTextureMemoryImpl
WGPUSharedTextureMemoryOpaqueFDDescriptor
WGPUSharedTextureMemoryProperties
WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor
WGPUSharedTextureMemoryVkImageLayoutBeginState
WGPUSharedTextureMemoryVkImageLayoutEndState
WGPUSharedTextureMemoryZirconHandleDescriptor
WGPUStaticSamplerBindingLayout
WGPUStatus
WGPUStencilFaceState
WGPUStencilOperation
WGPUStorageTextureAccess
WGPUStorageTextureBindingLayout
WGPUStoreOp
WGPUStringView
WGPUSubgroupMatrixComponentType
WGPUSubgroupMatrixConfig
WGPUSupportedFeatures
WGPUSupportedWGSLLanguageFeatures
WGPUSurfaceCapabilities
WGPUSurfaceColorManagement
WGPUSurfaceConfiguration
WGPUSurfaceDescriptor
WGPUSurfaceDescriptorFromWindowsCoreWindow
WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel
WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel
WGPUSurfaceGetCurrentTextureStatus
WGPUSurfaceImpl
WGPUSurfaceSourceAndroidNativeWindow
WGPUSurfaceSourceMetalLayer
WGPUSurfaceSourceWaylandSurface
WGPUSurfaceSourceWindowsHWND
WGPUSurfaceSourceXCBWindow
WGPUSurfaceSourceXlibWindow
WGPUSurfaceTexture
WGPUTexelCopyBufferInfo
WGPUTexelCopyBufferLayout
WGPUTexelCopyTextureInfo
WGPUTextureAspect
WGPUTextureBindingLayout
WGPUTextureBindingViewDimensionDescriptor
WGPUTextureDescriptor
WGPUTextureDimension
WGPUTextureFormat
WGPUTextureImpl
WGPUTextureSampleType
WGPUTextureViewDescriptor
WGPUTextureViewDimension
WGPUTextureViewImpl
WGPUToneMappingMode
WGPUUncapturedErrorCallbackInfo
WGPUVertexAttribute
WGPUVertexBufferLayout
WGPUVertexFormat
WGPUVertexState
WGPUVertexStepMode
WGPUWGSLLanguageFeatureName
WGPUWaitStatus
WGPUYCbCrVkDescriptor

Constants§

WGPUAdapterType_CPU
WGPUAdapterType_DiscreteGPU
WGPUAdapterType_IntegratedGPU
WGPUAdapterType_Unknown
WGPUAddressMode_ClampToEdge
WGPUAddressMode_MirrorRepeat
WGPUAddressMode_Repeat
WGPUAddressMode_Undefined
WGPUAlphaMode_Opaque
WGPUAlphaMode_Premultiplied
WGPUAlphaMode_Unpremultiplied
WGPUBackendType_D3D11
WGPUBackendType_D3D12
WGPUBackendType_Metal
WGPUBackendType_Null
WGPUBackendType_OpenGL
WGPUBackendType_OpenGLES
WGPUBackendType_Undefined
WGPUBackendType_Vulkan
WGPUBackendType_WebGPU
WGPUBlendFactor_Constant
WGPUBlendFactor_Dst
WGPUBlendFactor_DstAlpha
WGPUBlendFactor_One
WGPUBlendFactor_OneMinusConstant
WGPUBlendFactor_OneMinusDst
WGPUBlendFactor_OneMinusDstAlpha
WGPUBlendFactor_OneMinusSrc
WGPUBlendFactor_OneMinusSrc1
WGPUBlendFactor_OneMinusSrc1Alpha
WGPUBlendFactor_OneMinusSrcAlpha
WGPUBlendFactor_Src
WGPUBlendFactor_Src1
WGPUBlendFactor_Src1Alpha
WGPUBlendFactor_SrcAlpha
WGPUBlendFactor_SrcAlphaSaturated
WGPUBlendFactor_Undefined
WGPUBlendFactor_Zero
WGPUBlendOperation_Add
WGPUBlendOperation_Max
WGPUBlendOperation_Min
WGPUBlendOperation_ReverseSubtract
WGPUBlendOperation_Subtract
WGPUBlendOperation_Undefined
WGPUBufferBindingType_BindingNotUsed
WGPUBufferBindingType_ReadOnlyStorage
WGPUBufferBindingType_Storage
WGPUBufferBindingType_Undefined
WGPUBufferBindingType_Uniform
WGPUBufferMapState_Mapped
WGPUBufferMapState_Pending
WGPUBufferMapState_Unmapped
WGPUBufferUsage_CopyDst
WGPUBufferUsage_CopySrc
WGPUBufferUsage_Index
WGPUBufferUsage_Indirect
WGPUBufferUsage_MapRead
WGPUBufferUsage_MapWrite
WGPUBufferUsage_None
WGPUBufferUsage_QueryResolve
WGPUBufferUsage_Storage
WGPUBufferUsage_Uniform
WGPUBufferUsage_Vertex
WGPUCallbackMode_AllowProcessEvents
WGPUCallbackMode_AllowSpontaneous
WGPUCallbackMode_WaitAnyOnly
WGPUColorWriteMask_All
WGPUColorWriteMask_Alpha
WGPUColorWriteMask_Blue
WGPUColorWriteMask_Green
WGPUColorWriteMask_None
WGPUColorWriteMask_Red
WGPUCompareFunction_Always
WGPUCompareFunction_Equal
WGPUCompareFunction_Greater
WGPUCompareFunction_GreaterEqual
WGPUCompareFunction_Less
WGPUCompareFunction_LessEqual
WGPUCompareFunction_Never
WGPUCompareFunction_NotEqual
WGPUCompareFunction_Undefined
WGPUCompilationInfoRequestStatus_CallbackCancelled
WGPUCompilationInfoRequestStatus_Success
WGPUCompilationMessageType_Error
WGPUCompilationMessageType_Info
WGPUCompilationMessageType_Warning
WGPUCompositeAlphaMode_Auto
WGPUCompositeAlphaMode_Inherit
WGPUCompositeAlphaMode_Opaque
WGPUCompositeAlphaMode_Premultiplied
WGPUCompositeAlphaMode_Unpremultiplied
WGPUCreatePipelineAsyncStatus_CallbackCancelled
WGPUCreatePipelineAsyncStatus_InternalError
WGPUCreatePipelineAsyncStatus_Success
WGPUCreatePipelineAsyncStatus_ValidationError
WGPUCullMode_Back
WGPUCullMode_Front
WGPUCullMode_None
WGPUCullMode_Undefined
WGPUDeviceLostReason_CallbackCancelled
WGPUDeviceLostReason_Destroyed
WGPUDeviceLostReason_FailedCreation
WGPUDeviceLostReason_Unknown
WGPUErrorFilter_Internal
WGPUErrorFilter_OutOfMemory
WGPUErrorFilter_Validation
WGPUErrorType_Internal
WGPUErrorType_NoError
WGPUErrorType_OutOfMemory
WGPUErrorType_Unknown
WGPUErrorType_Validation
WGPUExternalTextureRotation_Rotate0Degrees
WGPUExternalTextureRotation_Rotate90Degrees
WGPUExternalTextureRotation_Rotate180Degrees
WGPUExternalTextureRotation_Rotate270Degrees
WGPUFeatureLevel_Compatibility
WGPUFeatureLevel_Core
WGPUFeatureLevel_Undefined
WGPUFeatureName_ANGLETextureSharing
WGPUFeatureName_AdapterPropertiesD3D
WGPUFeatureName_AdapterPropertiesMemoryHeaps
WGPUFeatureName_AdapterPropertiesVk
WGPUFeatureName_BGRA8UnormStorage
WGPUFeatureName_BufferMapExtendedUsages
WGPUFeatureName_ChromiumExperimentalSubgroupMatrix
WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses
WGPUFeatureName_ClipDistances
WGPUFeatureName_CoreFeaturesAndLimits
WGPUFeatureName_D3D11MultithreadProtected
WGPUFeatureName_DawnDeviceAllocatorControl
WGPUFeatureName_DawnDrmFormatCapabilities
WGPUFeatureName_DawnFormatCapabilities
WGPUFeatureName_DawnInternalUsages
WGPUFeatureName_DawnLoadResolveTexture
WGPUFeatureName_DawnMultiPlanarFormats
WGPUFeatureName_DawnNative
WGPUFeatureName_DawnPartialLoadResolveTexture
WGPUFeatureName_DawnTexelCopyBufferRowAlignment
WGPUFeatureName_Depth32FloatStencil8
WGPUFeatureName_DepthClipControl
WGPUFeatureName_DualSourceBlending
WGPUFeatureName_FlexibleTextureViews
WGPUFeatureName_Float32Blendable
WGPUFeatureName_Float32Filterable
WGPUFeatureName_FramebufferFetch
WGPUFeatureName_HostMappedPointer
WGPUFeatureName_ImplicitDeviceSynchronization
WGPUFeatureName_IndirectFirstInstance
WGPUFeatureName_MSAARenderToSingleSampled
WGPUFeatureName_MultiDrawIndirect
WGPUFeatureName_MultiPlanarFormatExtendedUsages
WGPUFeatureName_MultiPlanarFormatNv16
WGPUFeatureName_MultiPlanarFormatNv24
WGPUFeatureName_MultiPlanarFormatNv12a
WGPUFeatureName_MultiPlanarFormatP010
WGPUFeatureName_MultiPlanarFormatP210
WGPUFeatureName_MultiPlanarFormatP410
WGPUFeatureName_MultiPlanarRenderTargets
WGPUFeatureName_Norm16TextureFormats
WGPUFeatureName_PixelLocalStorageCoherent
WGPUFeatureName_PixelLocalStorageNonCoherent
WGPUFeatureName_R8UnormStorage
WGPUFeatureName_RG11B10UfloatRenderable
WGPUFeatureName_ShaderF16
WGPUFeatureName_ShaderModuleCompilationOptions
WGPUFeatureName_SharedBufferMemoryD3D12Resource
WGPUFeatureName_SharedFenceDXGISharedHandle
WGPUFeatureName_SharedFenceEGLSync
WGPUFeatureName_SharedFenceMTLSharedEvent
WGPUFeatureName_SharedFenceSyncFD
WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD
WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle
WGPUFeatureName_SharedTextureMemoryAHardwareBuffer
WGPUFeatureName_SharedTextureMemoryD3D11Texture2D
WGPUFeatureName_SharedTextureMemoryDXGISharedHandle
WGPUFeatureName_SharedTextureMemoryDmaBuf
WGPUFeatureName_SharedTextureMemoryEGLImage
WGPUFeatureName_SharedTextureMemoryIOSurface
WGPUFeatureName_SharedTextureMemoryOpaqueFD
WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation
WGPUFeatureName_SharedTextureMemoryZirconHandle
WGPUFeatureName_Snorm16TextureFormats
WGPUFeatureName_StaticSamplers
WGPUFeatureName_Subgroups
WGPUFeatureName_TextureCompressionASTC
WGPUFeatureName_TextureCompressionASTCSliced3D
WGPUFeatureName_TextureCompressionBC
WGPUFeatureName_TextureCompressionBCSliced3D
WGPUFeatureName_TextureCompressionETC2
WGPUFeatureName_TimestampQuery
WGPUFeatureName_TransientAttachments
WGPUFeatureName_Unorm16TextureFormats
WGPUFeatureName_YCbCrVulkanSamplers
WGPUFilterMode_Linear
WGPUFilterMode_Nearest
WGPUFilterMode_Undefined
WGPUFrontFace_CCW
WGPUFrontFace_CW
WGPUFrontFace_Undefined
WGPUHeapProperty_DeviceLocal
WGPUHeapProperty_HostCached
WGPUHeapProperty_HostCoherent
WGPUHeapProperty_HostUncached
WGPUHeapProperty_HostVisible
WGPUHeapProperty_None
WGPUIndexFormat_Uint16
WGPUIndexFormat_Uint32
WGPUIndexFormat_Undefined
WGPULoadOp_Clear
WGPULoadOp_ExpandResolveTexture
WGPULoadOp_Load
WGPULoadOp_Undefined
WGPULoggingType_Error
WGPULoggingType_Info
WGPULoggingType_Verbose
WGPULoggingType_Warning
WGPUMapAsyncStatus_Aborted
WGPUMapAsyncStatus_CallbackCancelled
WGPUMapAsyncStatus_Error
WGPUMapAsyncStatus_Success
WGPUMapMode_None
WGPUMapMode_Read
WGPUMapMode_Write
WGPUMipmapFilterMode_Linear
WGPUMipmapFilterMode_Nearest
WGPUMipmapFilterMode_Undefined
WGPUOptionalBool_False
WGPUOptionalBool_True
WGPUOptionalBool_Undefined
WGPUPopErrorScopeStatus_CallbackCancelled
WGPUPopErrorScopeStatus_Error
WGPUPopErrorScopeStatus_Success
WGPUPowerPreference_HighPerformance
WGPUPowerPreference_LowPower
WGPUPowerPreference_Undefined
WGPUPredefinedColorSpace_DisplayP3
WGPUPredefinedColorSpace_SRGB
WGPUPresentMode_Fifo
WGPUPresentMode_FifoRelaxed
WGPUPresentMode_Immediate
WGPUPresentMode_Mailbox
WGPUPresentMode_Undefined
WGPUPrimitiveTopology_LineList
WGPUPrimitiveTopology_LineStrip
WGPUPrimitiveTopology_PointList
WGPUPrimitiveTopology_TriangleList
WGPUPrimitiveTopology_TriangleStrip
WGPUPrimitiveTopology_Undefined
WGPUQueryType_Occlusion
WGPUQueryType_Timestamp
WGPUQueueWorkDoneStatus_CallbackCancelled
WGPUQueueWorkDoneStatus_Error
WGPUQueueWorkDoneStatus_Success
WGPURequestAdapterStatus_CallbackCancelled
WGPURequestAdapterStatus_Error
WGPURequestAdapterStatus_Success
WGPURequestAdapterStatus_Unavailable
WGPURequestDeviceStatus_CallbackCancelled
WGPURequestDeviceStatus_Error
WGPURequestDeviceStatus_Success
WGPUSType_AHardwareBufferProperties
WGPUSType_AdapterPropertiesD3D
WGPUSType_AdapterPropertiesMemoryHeaps
WGPUSType_AdapterPropertiesSubgroupMatrixConfigs
WGPUSType_AdapterPropertiesSubgroups
WGPUSType_AdapterPropertiesVk
WGPUSType_BindGroupLayoutEntryArraySize
WGPUSType_BufferHostMappedPointer
WGPUSType_ColorTargetStateExpandResolveTextureDawn
WGPUSType_DawnAdapterPropertiesPowerPreference
WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient
WGPUSType_DawnCacheDeviceDescriptor
WGPUSType_DawnCompilationMessageUtf16
WGPUSType_DawnDeviceAllocatorControl
WGPUSType_DawnDrmFormatCapabilities
WGPUSType_DawnEncoderInternalUsageDescriptor
WGPUSType_DawnFakeBufferOOMForTesting
WGPUSType_DawnHostMappedPointerLimits
WGPUSType_DawnInjectedInvalidSType
WGPUSType_DawnInstanceDescriptor
WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled
WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor
WGPUSType_DawnTexelCopyBufferRowAlignmentLimits
WGPUSType_DawnTextureInternalUsageDescriptor
WGPUSType_DawnTogglesDescriptor
WGPUSType_DawnWGSLBlocklist
WGPUSType_DawnWireWGSLControl
WGPUSType_EmscriptenSurfaceSourceCanvasHTMLSelector
WGPUSType_ExternalTextureBindingEntry
WGPUSType_ExternalTextureBindingLayout
WGPUSType_PipelineLayoutPixelLocalStorage
WGPUSType_RenderPassDescriptorExpandResolveRect
WGPUSType_RenderPassDescriptorResolveRect
WGPUSType_RenderPassMaxDrawCount
WGPUSType_RenderPassPixelLocalStorage
WGPUSType_RequestAdapterOptionsD3D11Device
WGPUSType_RequestAdapterOptionsGetGLProc
WGPUSType_RequestAdapterOptionsLUID
WGPUSType_RequestAdapterWebXROptions
WGPUSType_ShaderModuleCompilationOptions
WGPUSType_ShaderSourceSPIRV
WGPUSType_ShaderSourceWGSL
WGPUSType_SharedBufferMemoryD3D12ResourceDescriptor
WGPUSType_SharedFenceDXGISharedHandleDescriptor
WGPUSType_SharedFenceDXGISharedHandleExportInfo
WGPUSType_SharedFenceEGLSyncDescriptor
WGPUSType_SharedFenceEGLSyncExportInfo
WGPUSType_SharedFenceMTLSharedEventDescriptor
WGPUSType_SharedFenceMTLSharedEventExportInfo
WGPUSType_SharedFenceSyncFDDescriptor
WGPUSType_SharedFenceSyncFDExportInfo
WGPUSType_SharedFenceVkSemaphoreOpaqueFDDescriptor
WGPUSType_SharedFenceVkSemaphoreOpaqueFDExportInfo
WGPUSType_SharedFenceVkSemaphoreZirconHandleDescriptor
WGPUSType_SharedFenceVkSemaphoreZirconHandleExportInfo
WGPUSType_SharedTextureMemoryAHardwareBufferDescriptor
WGPUSType_SharedTextureMemoryAHardwareBufferProperties
WGPUSType_SharedTextureMemoryD3D11Texture2DDescriptor
WGPUSType_SharedTextureMemoryD3DSwapchainBeginState
WGPUSType_SharedTextureMemoryDXGISharedHandleDescriptor
WGPUSType_SharedTextureMemoryDmaBufDescriptor
WGPUSType_SharedTextureMemoryEGLImageDescriptor
WGPUSType_SharedTextureMemoryIOSurfaceDescriptor
WGPUSType_SharedTextureMemoryInitializedBeginState
WGPUSType_SharedTextureMemoryInitializedEndState
WGPUSType_SharedTextureMemoryOpaqueFDDescriptor
WGPUSType_SharedTextureMemoryVkDedicatedAllocationDescriptor
WGPUSType_SharedTextureMemoryVkImageLayoutBeginState
WGPUSType_SharedTextureMemoryVkImageLayoutEndState
WGPUSType_SharedTextureMemoryZirconHandleDescriptor
WGPUSType_StaticSamplerBindingLayout
WGPUSType_SurfaceColorManagement
WGPUSType_SurfaceDescriptorFromWindowsCoreWindow
WGPUSType_SurfaceDescriptorFromWindowsUWPSwapChainPanel
WGPUSType_SurfaceDescriptorFromWindowsWinUISwapChainPanel
WGPUSType_SurfaceSourceAndroidNativeWindow
WGPUSType_SurfaceSourceMetalLayer
WGPUSType_SurfaceSourceWaylandSurface
WGPUSType_SurfaceSourceWindowsHWND
WGPUSType_SurfaceSourceXCBWindow
WGPUSType_SurfaceSourceXlibWindow
WGPUSType_TextureBindingViewDimensionDescriptor
WGPUSType_YCbCrVkDescriptor
WGPUSamplerBindingType_BindingNotUsed
WGPUSamplerBindingType_Comparison
WGPUSamplerBindingType_Filtering
WGPUSamplerBindingType_NonFiltering
WGPUSamplerBindingType_Undefined
WGPUShaderStage_Compute
WGPUShaderStage_Fragment
WGPUShaderStage_None
WGPUShaderStage_Vertex
WGPUSharedFenceType_DXGISharedHandle
WGPUSharedFenceType_EGLSync
WGPUSharedFenceType_MTLSharedEvent
WGPUSharedFenceType_SyncFD
WGPUSharedFenceType_VkSemaphoreOpaqueFD
WGPUSharedFenceType_VkSemaphoreZirconHandle
WGPUStatus_Error
WGPUStatus_Success
WGPUStencilOperation_DecrementClamp
WGPUStencilOperation_DecrementWrap
WGPUStencilOperation_IncrementClamp
WGPUStencilOperation_IncrementWrap
WGPUStencilOperation_Invert
WGPUStencilOperation_Keep
WGPUStencilOperation_Replace
WGPUStencilOperation_Undefined
WGPUStencilOperation_Zero
WGPUStorageTextureAccess_BindingNotUsed
WGPUStorageTextureAccess_ReadOnly
WGPUStorageTextureAccess_ReadWrite
WGPUStorageTextureAccess_Undefined
WGPUStorageTextureAccess_WriteOnly
WGPUStoreOp_Discard
WGPUStoreOp_Store
WGPUStoreOp_Undefined
WGPUSubgroupMatrixComponentType_F16
WGPUSubgroupMatrixComponentType_F32
WGPUSubgroupMatrixComponentType_I32
WGPUSubgroupMatrixComponentType_U32
WGPUSurfaceGetCurrentTextureStatus_Error
WGPUSurfaceGetCurrentTextureStatus_Lost
WGPUSurfaceGetCurrentTextureStatus_Outdated
WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal
WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal
WGPUSurfaceGetCurrentTextureStatus_Timeout
WGPUTextureAspect_All
WGPUTextureAspect_DepthOnly
WGPUTextureAspect_Plane0Only
WGPUTextureAspect_Plane1Only
WGPUTextureAspect_Plane2Only
WGPUTextureAspect_StencilOnly
WGPUTextureAspect_Undefined
WGPUTextureDimension_1D
WGPUTextureDimension_2D
WGPUTextureDimension_3D
WGPUTextureDimension_Undefined
WGPUTextureFormat_ASTC4x4Unorm
WGPUTextureFormat_ASTC4x4UnormSrgb
WGPUTextureFormat_ASTC5x4Unorm
WGPUTextureFormat_ASTC5x4UnormSrgb
WGPUTextureFormat_ASTC5x5Unorm
WGPUTextureFormat_ASTC5x5UnormSrgb
WGPUTextureFormat_ASTC6x5Unorm
WGPUTextureFormat_ASTC6x5UnormSrgb
WGPUTextureFormat_ASTC6x6Unorm
WGPUTextureFormat_ASTC6x6UnormSrgb
WGPUTextureFormat_ASTC8x5Unorm
WGPUTextureFormat_ASTC8x5UnormSrgb
WGPUTextureFormat_ASTC8x6Unorm
WGPUTextureFormat_ASTC8x6UnormSrgb
WGPUTextureFormat_ASTC8x8Unorm
WGPUTextureFormat_ASTC8x8UnormSrgb
WGPUTextureFormat_ASTC10x5Unorm
WGPUTextureFormat_ASTC10x5UnormSrgb
WGPUTextureFormat_ASTC10x6Unorm
WGPUTextureFormat_ASTC10x6UnormSrgb
WGPUTextureFormat_ASTC10x8Unorm
WGPUTextureFormat_ASTC10x8UnormSrgb
WGPUTextureFormat_ASTC10x10Unorm
WGPUTextureFormat_ASTC10x10UnormSrgb
WGPUTextureFormat_ASTC12x10Unorm
WGPUTextureFormat_ASTC12x10UnormSrgb
WGPUTextureFormat_ASTC12x12Unorm
WGPUTextureFormat_ASTC12x12UnormSrgb
WGPUTextureFormat_BC1RGBAUnorm
WGPUTextureFormat_BC1RGBAUnormSrgb
WGPUTextureFormat_BC2RGBAUnorm
WGPUTextureFormat_BC2RGBAUnormSrgb
WGPUTextureFormat_BC3RGBAUnorm
WGPUTextureFormat_BC3RGBAUnormSrgb
WGPUTextureFormat_BC4RSnorm
WGPUTextureFormat_BC4RUnorm
WGPUTextureFormat_BC5RGSnorm
WGPUTextureFormat_BC5RGUnorm
WGPUTextureFormat_BC6HRGBFloat
WGPUTextureFormat_BC6HRGBUfloat
WGPUTextureFormat_BC7RGBAUnorm
WGPUTextureFormat_BC7RGBAUnormSrgb
WGPUTextureFormat_BGRA8Unorm
WGPUTextureFormat_BGRA8UnormSrgb
WGPUTextureFormat_Depth16Unorm
WGPUTextureFormat_Depth24Plus
WGPUTextureFormat_Depth24PlusStencil8
WGPUTextureFormat_Depth32Float
WGPUTextureFormat_Depth32FloatStencil8
WGPUTextureFormat_EACR11Snorm
WGPUTextureFormat_EACR11Unorm
WGPUTextureFormat_EACRG11Snorm
WGPUTextureFormat_EACRG11Unorm
WGPUTextureFormat_ETC2RGB8A1Unorm
WGPUTextureFormat_ETC2RGB8A1UnormSrgb
WGPUTextureFormat_ETC2RGB8Unorm
WGPUTextureFormat_ETC2RGB8UnormSrgb
WGPUTextureFormat_ETC2RGBA8Unorm
WGPUTextureFormat_ETC2RGBA8UnormSrgb
WGPUTextureFormat_External
WGPUTextureFormat_R8BG8A8Triplanar420Unorm
WGPUTextureFormat_R8BG8Biplanar420Unorm
WGPUTextureFormat_R8BG8Biplanar422Unorm
WGPUTextureFormat_R8BG8Biplanar444Unorm
WGPUTextureFormat_R8Sint
WGPUTextureFormat_R8Snorm
WGPUTextureFormat_R8Uint
WGPUTextureFormat_R8Unorm
WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm
WGPUTextureFormat_R10X6BG10X6Biplanar422Unorm
WGPUTextureFormat_R10X6BG10X6Biplanar444Unorm
WGPUTextureFormat_R16Float
WGPUTextureFormat_R16Sint
WGPUTextureFormat_R16Snorm
WGPUTextureFormat_R16Uint
WGPUTextureFormat_R16Unorm
WGPUTextureFormat_R32Float
WGPUTextureFormat_R32Sint
WGPUTextureFormat_R32Uint
WGPUTextureFormat_RG8Sint
WGPUTextureFormat_RG8Snorm
WGPUTextureFormat_RG8Uint
WGPUTextureFormat_RG8Unorm
WGPUTextureFormat_RG11B10Ufloat
WGPUTextureFormat_RG16Float
WGPUTextureFormat_RG16Sint
WGPUTextureFormat_RG16Snorm
WGPUTextureFormat_RG16Uint
WGPUTextureFormat_RG16Unorm
WGPUTextureFormat_RG32Float
WGPUTextureFormat_RG32Sint
WGPUTextureFormat_RG32Uint
WGPUTextureFormat_RGB9E5Ufloat
WGPUTextureFormat_RGB10A2Uint
WGPUTextureFormat_RGB10A2Unorm
WGPUTextureFormat_RGBA8Sint
WGPUTextureFormat_RGBA8Snorm
WGPUTextureFormat_RGBA8Uint
WGPUTextureFormat_RGBA8Unorm
WGPUTextureFormat_RGBA8UnormSrgb
WGPUTextureFormat_RGBA16Float
WGPUTextureFormat_RGBA16Sint
WGPUTextureFormat_RGBA16Snorm
WGPUTextureFormat_RGBA16Uint
WGPUTextureFormat_RGBA16Unorm
WGPUTextureFormat_RGBA32Float
WGPUTextureFormat_RGBA32Sint
WGPUTextureFormat_RGBA32Uint
WGPUTextureFormat_Stencil8
WGPUTextureFormat_Undefined
WGPUTextureSampleType_BindingNotUsed
WGPUTextureSampleType_Depth
WGPUTextureSampleType_Float
WGPUTextureSampleType_Sint
WGPUTextureSampleType_Uint
WGPUTextureSampleType_Undefined
WGPUTextureSampleType_UnfilterableFloat
WGPUTextureUsage_CopyDst
WGPUTextureUsage_CopySrc
WGPUTextureUsage_None
WGPUTextureUsage_RenderAttachment
WGPUTextureUsage_StorageAttachment
WGPUTextureUsage_StorageBinding
WGPUTextureUsage_TextureBinding
WGPUTextureUsage_TransientAttachment
WGPUTextureViewDimension_1D
WGPUTextureViewDimension_2D
WGPUTextureViewDimension_2DArray
WGPUTextureViewDimension_3D
WGPUTextureViewDimension_Cube
WGPUTextureViewDimension_CubeArray
WGPUTextureViewDimension_Undefined
WGPUToneMappingMode_Extended
WGPUToneMappingMode_Standard
WGPUVertexFormat_Float16
WGPUVertexFormat_Float32
WGPUVertexFormat_Float16x2
WGPUVertexFormat_Float16x4
WGPUVertexFormat_Float32x2
WGPUVertexFormat_Float32x3
WGPUVertexFormat_Float32x4
WGPUVertexFormat_Sint8
WGPUVertexFormat_Sint8x2
WGPUVertexFormat_Sint8x4
WGPUVertexFormat_Sint16
WGPUVertexFormat_Sint32
WGPUVertexFormat_Sint16x2
WGPUVertexFormat_Sint16x4
WGPUVertexFormat_Sint32x2
WGPUVertexFormat_Sint32x3
WGPUVertexFormat_Sint32x4
WGPUVertexFormat_Snorm8
WGPUVertexFormat_Snorm8x2
WGPUVertexFormat_Snorm8x4
WGPUVertexFormat_Snorm16
WGPUVertexFormat_Snorm16x2
WGPUVertexFormat_Snorm16x4
WGPUVertexFormat_Uint8
WGPUVertexFormat_Uint8x2
WGPUVertexFormat_Uint8x4
WGPUVertexFormat_Uint16
WGPUVertexFormat_Uint32
WGPUVertexFormat_Uint16x2
WGPUVertexFormat_Uint16x4
WGPUVertexFormat_Uint32x2
WGPUVertexFormat_Uint32x3
WGPUVertexFormat_Uint32x4
WGPUVertexFormat_Unorm8
WGPUVertexFormat_Unorm8x2
WGPUVertexFormat_Unorm8x4
WGPUVertexFormat_Unorm8x4BGRA
WGPUVertexFormat_Unorm16
WGPUVertexFormat_Unorm10_10_10_2
WGPUVertexFormat_Unorm16x2
WGPUVertexFormat_Unorm16x4
WGPUVertexStepMode_Instance
WGPUVertexStepMode_Undefined
WGPUVertexStepMode_Vertex
WGPUWGSLLanguageFeatureName_ChromiumTestingExperimental
WGPUWGSLLanguageFeatureName_ChromiumTestingShipped
WGPUWGSLLanguageFeatureName_ChromiumTestingShippedWithKillswitch
WGPUWGSLLanguageFeatureName_ChromiumTestingUnimplemented
WGPUWGSLLanguageFeatureName_ChromiumTestingUnsafeExperimental
WGPUWGSLLanguageFeatureName_Packed4x8IntegerDotProduct
WGPUWGSLLanguageFeatureName_PointerCompositeAccess
WGPUWGSLLanguageFeatureName_ReadonlyAndReadwriteStorageTextures
WGPUWGSLLanguageFeatureName_SizedBindingArray
WGPUWGSLLanguageFeatureName_UnrestrictedPointerParameters
WGPUWaitStatus_Error
WGPUWaitStatus_Success
WGPUWaitStatus_TimedOut
WGPU_ARRAY_LAYER_COUNT_UNDEFINED
Indicates no array layer count is specified.
WGPU_COPY_STRIDE_UNDEFINED
Indicates no copy stride is specified.
WGPU_DEPTH_CLEAR_VALUE_UNDEFINED
Indicates no depth clear value is specified.
WGPU_DEPTH_SLICE_UNDEFINED
Indicates no depth slice is specified.
WGPU_FALSE
false value of WGPUBool.
WGPU_LIMIT_U32_UNDEFINED
For u32 limits, indicates no limit value is specified.
WGPU_LIMIT_U64_UNDEFINED
For u64 limits, indicates no limit value is specified.
WGPU_MIP_LEVEL_COUNT_UNDEFINED
Indicates no mip level count is specified.
WGPU_QUERY_SET_INDEX_UNDEFINED
Indicates no query set index is specified.
WGPU_STRLEN
Sentinel value used in WGPUStringView.
WGPU_TRUE
true value of WGPUBool.
WGPU_WHOLE_MAP_SIZE
Indicates a size extending to the end of the buffer.
WGPU_WHOLE_SIZE
Indicates a size extending to the end of the buffer.

Functions§

wgpuAdapterAddRef
wgpuAdapterCreateDevice
wgpuAdapterGetFeatures
wgpuAdapterGetFormatCapabilities
wgpuAdapterGetInfo
wgpuAdapterGetInstance
wgpuAdapterGetLimits
wgpuAdapterHasFeature
wgpuAdapterInfoFreeMembers
wgpuAdapterPropertiesMemoryHeapsFreeMembers
wgpuAdapterPropertiesSubgroupMatrixConfigsFreeMembers
wgpuAdapterRelease
wgpuAdapterRequestDevice
wgpuBindGroupAddRef
wgpuBindGroupLayoutAddRef
wgpuBindGroupLayoutRelease
wgpuBindGroupLayoutSetLabel
wgpuBindGroupRelease
wgpuBindGroupSetLabel
wgpuBufferAddRef
wgpuBufferDestroy
wgpuBufferGetConstMappedRange
wgpuBufferGetMapState
wgpuBufferGetMappedRange
wgpuBufferGetSize
wgpuBufferGetUsage
wgpuBufferMapAsync
wgpuBufferReadMappedRange
wgpuBufferRelease
wgpuBufferSetLabel
wgpuBufferUnmap
wgpuBufferWriteMappedRange
wgpuCommandBufferAddRef
wgpuCommandBufferRelease
wgpuCommandBufferSetLabel
wgpuCommandEncoderAddRef
wgpuCommandEncoderBeginComputePass
wgpuCommandEncoderBeginRenderPass
wgpuCommandEncoderClearBuffer
wgpuCommandEncoderCopyBufferToBuffer
wgpuCommandEncoderCopyBufferToTexture
wgpuCommandEncoderCopyTextureToBuffer
wgpuCommandEncoderCopyTextureToTexture
wgpuCommandEncoderFinish
wgpuCommandEncoderInjectValidationError
wgpuCommandEncoderInsertDebugMarker
wgpuCommandEncoderPopDebugGroup
wgpuCommandEncoderPushDebugGroup
wgpuCommandEncoderRelease
wgpuCommandEncoderResolveQuerySet
wgpuCommandEncoderSetLabel
wgpuCommandEncoderWriteBuffer
wgpuCommandEncoderWriteTimestamp
wgpuComputePassEncoderAddRef
wgpuComputePassEncoderDispatchWorkgroups
wgpuComputePassEncoderDispatchWorkgroupsIndirect
wgpuComputePassEncoderEnd
wgpuComputePassEncoderInsertDebugMarker
wgpuComputePassEncoderPopDebugGroup
wgpuComputePassEncoderPushDebugGroup
wgpuComputePassEncoderRelease
wgpuComputePassEncoderSetBindGroup
wgpuComputePassEncoderSetImmediateData
wgpuComputePassEncoderSetLabel
wgpuComputePassEncoderSetPipeline
wgpuComputePassEncoderWriteTimestamp
wgpuComputePipelineAddRef
wgpuComputePipelineGetBindGroupLayout
wgpuComputePipelineRelease
wgpuComputePipelineSetLabel
wgpuCreateInstance
wgpuDawnDrmFormatCapabilitiesFreeMembers
wgpuDeviceAddRef
wgpuDeviceCreateBindGroup
wgpuDeviceCreateBindGroupLayout
wgpuDeviceCreateBuffer
wgpuDeviceCreateCommandEncoder
wgpuDeviceCreateComputePipeline
wgpuDeviceCreateComputePipelineAsync
wgpuDeviceCreateErrorBuffer
wgpuDeviceCreateErrorExternalTexture
wgpuDeviceCreateErrorShaderModule
wgpuDeviceCreateErrorTexture
wgpuDeviceCreateExternalTexture
wgpuDeviceCreatePipelineLayout
wgpuDeviceCreateQuerySet
wgpuDeviceCreateRenderBundleEncoder
wgpuDeviceCreateRenderPipeline
wgpuDeviceCreateRenderPipelineAsync
wgpuDeviceCreateSampler
wgpuDeviceCreateShaderModule
wgpuDeviceCreateTexture
wgpuDeviceDestroy
wgpuDeviceForceLoss
wgpuDeviceGetAHardwareBufferProperties
wgpuDeviceGetAdapter
wgpuDeviceGetAdapterInfo
wgpuDeviceGetFeatures
wgpuDeviceGetLimits
wgpuDeviceGetLostFuture
wgpuDeviceGetQueue
wgpuDeviceHasFeature
wgpuDeviceImportSharedBufferMemory
wgpuDeviceImportSharedFence
wgpuDeviceImportSharedTextureMemory
wgpuDeviceInjectError
wgpuDevicePopErrorScope
wgpuDevicePushErrorScope
wgpuDeviceRelease
wgpuDeviceSetLabel
wgpuDeviceSetLoggingCallback
wgpuDeviceTick
wgpuDeviceValidateTextureDescriptor
wgpuExternalTextureAddRef
wgpuExternalTextureDestroy
wgpuExternalTextureExpire
wgpuExternalTextureRefresh
wgpuExternalTextureRelease
wgpuExternalTextureSetLabel
wgpuGetInstanceCapabilities
wgpuGetProcAddress
wgpuInstanceAddRef
wgpuInstanceCreateSurface
wgpuInstanceGetWGSLLanguageFeatures
wgpuInstanceHasWGSLLanguageFeature
wgpuInstanceProcessEvents
wgpuInstanceRelease
wgpuInstanceRequestAdapter
wgpuInstanceWaitAny
wgpuPipelineLayoutAddRef
wgpuPipelineLayoutRelease
wgpuPipelineLayoutSetLabel
wgpuQuerySetAddRef
wgpuQuerySetDestroy
wgpuQuerySetGetCount
wgpuQuerySetGetType
wgpuQuerySetRelease
wgpuQuerySetSetLabel
wgpuQueueAddRef
wgpuQueueCopyExternalTextureForBrowser
wgpuQueueCopyTextureForBrowser
wgpuQueueOnSubmittedWorkDone
wgpuQueueRelease
wgpuQueueSetLabel
wgpuQueueSubmit
wgpuQueueWriteBuffer
wgpuQueueWriteTexture
wgpuRenderBundleAddRef
wgpuRenderBundleEncoderAddRef
wgpuRenderBundleEncoderDraw
wgpuRenderBundleEncoderDrawIndexed
wgpuRenderBundleEncoderDrawIndexedIndirect
wgpuRenderBundleEncoderDrawIndirect
wgpuRenderBundleEncoderFinish
wgpuRenderBundleEncoderInsertDebugMarker
wgpuRenderBundleEncoderPopDebugGroup
wgpuRenderBundleEncoderPushDebugGroup
wgpuRenderBundleEncoderRelease
wgpuRenderBundleEncoderSetBindGroup
wgpuRenderBundleEncoderSetImmediateData
wgpuRenderBundleEncoderSetIndexBuffer
wgpuRenderBundleEncoderSetLabel
wgpuRenderBundleEncoderSetPipeline
wgpuRenderBundleEncoderSetVertexBuffer
wgpuRenderBundleRelease
wgpuRenderBundleSetLabel
wgpuRenderPassEncoderAddRef
wgpuRenderPassEncoderBeginOcclusionQuery
wgpuRenderPassEncoderDraw
wgpuRenderPassEncoderDrawIndexed
wgpuRenderPassEncoderDrawIndexedIndirect
wgpuRenderPassEncoderDrawIndirect
wgpuRenderPassEncoderEnd
wgpuRenderPassEncoderEndOcclusionQuery
wgpuRenderPassEncoderExecuteBundles
wgpuRenderPassEncoderInsertDebugMarker
wgpuRenderPassEncoderMultiDrawIndexedIndirect
wgpuRenderPassEncoderMultiDrawIndirect
wgpuRenderPassEncoderPixelLocalStorageBarrier
wgpuRenderPassEncoderPopDebugGroup
wgpuRenderPassEncoderPushDebugGroup
wgpuRenderPassEncoderRelease
wgpuRenderPassEncoderSetBindGroup
wgpuRenderPassEncoderSetBlendConstant
wgpuRenderPassEncoderSetImmediateData
wgpuRenderPassEncoderSetIndexBuffer
wgpuRenderPassEncoderSetLabel
wgpuRenderPassEncoderSetPipeline
wgpuRenderPassEncoderSetScissorRect
wgpuRenderPassEncoderSetStencilReference
wgpuRenderPassEncoderSetVertexBuffer
wgpuRenderPassEncoderSetViewport
wgpuRenderPassEncoderWriteTimestamp
wgpuRenderPipelineAddRef
wgpuRenderPipelineGetBindGroupLayout
wgpuRenderPipelineRelease
wgpuRenderPipelineSetLabel
wgpuSamplerAddRef
wgpuSamplerRelease
wgpuSamplerSetLabel
wgpuShaderModuleAddRef
wgpuShaderModuleGetCompilationInfo
wgpuShaderModuleRelease
wgpuShaderModuleSetLabel
wgpuSharedBufferMemoryAddRef
wgpuSharedBufferMemoryBeginAccess
wgpuSharedBufferMemoryCreateBuffer
wgpuSharedBufferMemoryEndAccess
wgpuSharedBufferMemoryEndAccessStateFreeMembers
wgpuSharedBufferMemoryGetProperties
wgpuSharedBufferMemoryIsDeviceLost
wgpuSharedBufferMemoryRelease
wgpuSharedBufferMemorySetLabel
wgpuSharedFenceAddRef
wgpuSharedFenceExportInfo
wgpuSharedFenceRelease
wgpuSharedTextureMemoryAddRef
wgpuSharedTextureMemoryBeginAccess
wgpuSharedTextureMemoryCreateTexture
wgpuSharedTextureMemoryEndAccess
wgpuSharedTextureMemoryEndAccessStateFreeMembers
wgpuSharedTextureMemoryGetProperties
wgpuSharedTextureMemoryIsDeviceLost
wgpuSharedTextureMemoryRelease
wgpuSharedTextureMemorySetLabel
wgpuSupportedFeaturesFreeMembers
wgpuSupportedWGSLLanguageFeaturesFreeMembers
wgpuSurfaceAddRef
wgpuSurfaceCapabilitiesFreeMembers
wgpuSurfaceConfigure
wgpuSurfaceGetCapabilities
wgpuSurfaceGetCurrentTexture
wgpuSurfacePresent
wgpuSurfaceRelease
wgpuSurfaceSetLabel
wgpuSurfaceUnconfigure
wgpuTextureAddRef
wgpuTextureCreateErrorView
wgpuTextureCreateView
wgpuTextureDestroy
wgpuTextureGetDepthOrArrayLayers
wgpuTextureGetDimension
wgpuTextureGetFormat
wgpuTextureGetHeight
wgpuTextureGetMipLevelCount
wgpuTextureGetSampleCount
wgpuTextureGetUsage
wgpuTextureGetWidth
wgpuTextureRelease
wgpuTextureSetLabel
wgpuTextureViewAddRef
wgpuTextureViewRelease
wgpuTextureViewSetLabel

Type Aliases§

WGPUAdapter
WGPUBindGroup
WGPUBindGroupLayout
WGPUBool
WGPUBuffer
WGPUBufferMapCallback
WGPUBufferUsage
WGPUCallback
WGPUColorWriteMask
WGPUCommandBuffer
WGPUCommandEncoder
WGPUCompilationInfoCallback
WGPUComputePassEncoder
WGPUComputePipeline
WGPUCreateComputePipelineAsyncCallback
WGPUCreateRenderPipelineAsyncCallback
WGPUDawnLoadCacheDataFunction
WGPUDawnStoreCacheDataFunction
WGPUDevice
WGPUDeviceLostCallback
WGPUExternalTexture
WGPUFlags
WGPUHeapProperty
WGPUInstance
WGPULoggingCallback
WGPUMapMode
WGPUPipelineLayout
WGPUPopErrorScopeCallback
WGPUProc
WGPUProcAdapterAddRef
WGPUProcAdapterCreateDevice
WGPUProcAdapterGetFeatures
WGPUProcAdapterGetFormatCapabilities
WGPUProcAdapterGetInfo
WGPUProcAdapterGetInstance
WGPUProcAdapterGetLimits
WGPUProcAdapterHasFeature
WGPUProcAdapterInfoFreeMembers
WGPUProcAdapterPropertiesMemoryHeapsFreeMembers
WGPUProcAdapterPropertiesSubgroupMatrixConfigsFreeMembers
WGPUProcAdapterRelease
WGPUProcAdapterRequestDevice
WGPUProcBindGroupAddRef
WGPUProcBindGroupLayoutAddRef
WGPUProcBindGroupLayoutRelease
WGPUProcBindGroupLayoutSetLabel
WGPUProcBindGroupRelease
WGPUProcBindGroupSetLabel
WGPUProcBufferAddRef
WGPUProcBufferDestroy
WGPUProcBufferGetConstMappedRange
WGPUProcBufferGetMapState
WGPUProcBufferGetMappedRange
WGPUProcBufferGetSize
WGPUProcBufferGetUsage
WGPUProcBufferMapAsync
WGPUProcBufferReadMappedRange
WGPUProcBufferRelease
WGPUProcBufferSetLabel
WGPUProcBufferUnmap
WGPUProcBufferWriteMappedRange
WGPUProcCommandBufferAddRef
WGPUProcCommandBufferRelease
WGPUProcCommandBufferSetLabel
WGPUProcCommandEncoderAddRef
WGPUProcCommandEncoderBeginComputePass
WGPUProcCommandEncoderBeginRenderPass
WGPUProcCommandEncoderClearBuffer
WGPUProcCommandEncoderCopyBufferToBuffer
WGPUProcCommandEncoderCopyBufferToTexture
WGPUProcCommandEncoderCopyTextureToBuffer
WGPUProcCommandEncoderCopyTextureToTexture
WGPUProcCommandEncoderFinish
WGPUProcCommandEncoderInjectValidationError
WGPUProcCommandEncoderInsertDebugMarker
WGPUProcCommandEncoderPopDebugGroup
WGPUProcCommandEncoderPushDebugGroup
WGPUProcCommandEncoderRelease
WGPUProcCommandEncoderResolveQuerySet
WGPUProcCommandEncoderSetLabel
WGPUProcCommandEncoderWriteBuffer
WGPUProcCommandEncoderWriteTimestamp
WGPUProcComputePassEncoderAddRef
WGPUProcComputePassEncoderDispatchWorkgroups
WGPUProcComputePassEncoderDispatchWorkgroupsIndirect
WGPUProcComputePassEncoderEnd
WGPUProcComputePassEncoderInsertDebugMarker
WGPUProcComputePassEncoderPopDebugGroup
WGPUProcComputePassEncoderPushDebugGroup
WGPUProcComputePassEncoderRelease
WGPUProcComputePassEncoderSetBindGroup
WGPUProcComputePassEncoderSetImmediateData
WGPUProcComputePassEncoderSetLabel
WGPUProcComputePassEncoderSetPipeline
WGPUProcComputePassEncoderWriteTimestamp
WGPUProcComputePipelineAddRef
WGPUProcComputePipelineGetBindGroupLayout
WGPUProcComputePipelineRelease
WGPUProcComputePipelineSetLabel
WGPUProcCreateInstance
WGPUProcDawnDrmFormatCapabilitiesFreeMembers
WGPUProcDeviceAddRef
WGPUProcDeviceCreateBindGroup
WGPUProcDeviceCreateBindGroupLayout
WGPUProcDeviceCreateBuffer
WGPUProcDeviceCreateCommandEncoder
WGPUProcDeviceCreateComputePipeline
WGPUProcDeviceCreateComputePipelineAsync
WGPUProcDeviceCreateErrorBuffer
WGPUProcDeviceCreateErrorExternalTexture
WGPUProcDeviceCreateErrorShaderModule
WGPUProcDeviceCreateErrorTexture
WGPUProcDeviceCreateExternalTexture
WGPUProcDeviceCreatePipelineLayout
WGPUProcDeviceCreateQuerySet
WGPUProcDeviceCreateRenderBundleEncoder
WGPUProcDeviceCreateRenderPipeline
WGPUProcDeviceCreateRenderPipelineAsync
WGPUProcDeviceCreateSampler
WGPUProcDeviceCreateShaderModule
WGPUProcDeviceCreateTexture
WGPUProcDeviceDestroy
WGPUProcDeviceForceLoss
WGPUProcDeviceGetAHardwareBufferProperties
WGPUProcDeviceGetAdapter
WGPUProcDeviceGetAdapterInfo
WGPUProcDeviceGetFeatures
WGPUProcDeviceGetLimits
WGPUProcDeviceGetLostFuture
WGPUProcDeviceGetQueue
WGPUProcDeviceHasFeature
WGPUProcDeviceImportSharedBufferMemory
WGPUProcDeviceImportSharedFence
WGPUProcDeviceImportSharedTextureMemory
WGPUProcDeviceInjectError
WGPUProcDevicePopErrorScope
WGPUProcDevicePushErrorScope
WGPUProcDeviceRelease
WGPUProcDeviceSetLabel
WGPUProcDeviceSetLoggingCallback
WGPUProcDeviceTick
WGPUProcDeviceValidateTextureDescriptor
WGPUProcExternalTextureAddRef
WGPUProcExternalTextureDestroy
WGPUProcExternalTextureExpire
WGPUProcExternalTextureRefresh
WGPUProcExternalTextureRelease
WGPUProcExternalTextureSetLabel
WGPUProcGetInstanceCapabilities
WGPUProcGetProcAddress
WGPUProcInstanceAddRef
WGPUProcInstanceCreateSurface
WGPUProcInstanceGetWGSLLanguageFeatures
WGPUProcInstanceHasWGSLLanguageFeature
WGPUProcInstanceProcessEvents
WGPUProcInstanceRelease
WGPUProcInstanceRequestAdapter
WGPUProcInstanceWaitAny
WGPUProcPipelineLayoutAddRef
WGPUProcPipelineLayoutRelease
WGPUProcPipelineLayoutSetLabel
WGPUProcQuerySetAddRef
WGPUProcQuerySetDestroy
WGPUProcQuerySetGetCount
WGPUProcQuerySetGetType
WGPUProcQuerySetRelease
WGPUProcQuerySetSetLabel
WGPUProcQueueAddRef
WGPUProcQueueCopyExternalTextureForBrowser
WGPUProcQueueCopyTextureForBrowser
WGPUProcQueueOnSubmittedWorkDone
WGPUProcQueueRelease
WGPUProcQueueSetLabel
WGPUProcQueueSubmit
WGPUProcQueueWriteBuffer
WGPUProcQueueWriteTexture
WGPUProcRenderBundleAddRef
WGPUProcRenderBundleEncoderAddRef
WGPUProcRenderBundleEncoderDraw
WGPUProcRenderBundleEncoderDrawIndexed
WGPUProcRenderBundleEncoderDrawIndexedIndirect
WGPUProcRenderBundleEncoderDrawIndirect
WGPUProcRenderBundleEncoderFinish
WGPUProcRenderBundleEncoderInsertDebugMarker
WGPUProcRenderBundleEncoderPopDebugGroup
WGPUProcRenderBundleEncoderPushDebugGroup
WGPUProcRenderBundleEncoderRelease
WGPUProcRenderBundleEncoderSetBindGroup
WGPUProcRenderBundleEncoderSetImmediateData
WGPUProcRenderBundleEncoderSetIndexBuffer
WGPUProcRenderBundleEncoderSetLabel
WGPUProcRenderBundleEncoderSetPipeline
WGPUProcRenderBundleEncoderSetVertexBuffer
WGPUProcRenderBundleRelease
WGPUProcRenderBundleSetLabel
WGPUProcRenderPassEncoderAddRef
WGPUProcRenderPassEncoderBeginOcclusionQuery
WGPUProcRenderPassEncoderDraw
WGPUProcRenderPassEncoderDrawIndexed
WGPUProcRenderPassEncoderDrawIndexedIndirect
WGPUProcRenderPassEncoderDrawIndirect
WGPUProcRenderPassEncoderEnd
WGPUProcRenderPassEncoderEndOcclusionQuery
WGPUProcRenderPassEncoderExecuteBundles
WGPUProcRenderPassEncoderInsertDebugMarker
WGPUProcRenderPassEncoderMultiDrawIndexedIndirect
WGPUProcRenderPassEncoderMultiDrawIndirect
WGPUProcRenderPassEncoderPixelLocalStorageBarrier
WGPUProcRenderPassEncoderPopDebugGroup
WGPUProcRenderPassEncoderPushDebugGroup
WGPUProcRenderPassEncoderRelease
WGPUProcRenderPassEncoderSetBindGroup
WGPUProcRenderPassEncoderSetBlendConstant
WGPUProcRenderPassEncoderSetImmediateData
WGPUProcRenderPassEncoderSetIndexBuffer
WGPUProcRenderPassEncoderSetLabel
WGPUProcRenderPassEncoderSetPipeline
WGPUProcRenderPassEncoderSetScissorRect
WGPUProcRenderPassEncoderSetStencilReference
WGPUProcRenderPassEncoderSetVertexBuffer
WGPUProcRenderPassEncoderSetViewport
WGPUProcRenderPassEncoderWriteTimestamp
WGPUProcRenderPipelineAddRef
WGPUProcRenderPipelineGetBindGroupLayout
WGPUProcRenderPipelineRelease
WGPUProcRenderPipelineSetLabel
WGPUProcSamplerAddRef
WGPUProcSamplerRelease
WGPUProcSamplerSetLabel
WGPUProcShaderModuleAddRef
WGPUProcShaderModuleGetCompilationInfo
WGPUProcShaderModuleRelease
WGPUProcShaderModuleSetLabel
WGPUProcSharedBufferMemoryAddRef
WGPUProcSharedBufferMemoryBeginAccess
WGPUProcSharedBufferMemoryCreateBuffer
WGPUProcSharedBufferMemoryEndAccess
WGPUProcSharedBufferMemoryEndAccessStateFreeMembers
WGPUProcSharedBufferMemoryGetProperties
WGPUProcSharedBufferMemoryIsDeviceLost
WGPUProcSharedBufferMemoryRelease
WGPUProcSharedBufferMemorySetLabel
WGPUProcSharedFenceAddRef
WGPUProcSharedFenceExportInfo
WGPUProcSharedFenceRelease
WGPUProcSharedTextureMemoryAddRef
WGPUProcSharedTextureMemoryBeginAccess
WGPUProcSharedTextureMemoryCreateTexture
WGPUProcSharedTextureMemoryEndAccess
WGPUProcSharedTextureMemoryEndAccessStateFreeMembers
WGPUProcSharedTextureMemoryGetProperties
WGPUProcSharedTextureMemoryIsDeviceLost
WGPUProcSharedTextureMemoryRelease
WGPUProcSharedTextureMemorySetLabel
WGPUProcSupportedFeaturesFreeMembers
WGPUProcSupportedWGSLLanguageFeaturesFreeMembers
WGPUProcSurfaceAddRef
WGPUProcSurfaceCapabilitiesFreeMembers
WGPUProcSurfaceConfigure
WGPUProcSurfaceGetCapabilities
WGPUProcSurfaceGetCurrentTexture
WGPUProcSurfacePresent
WGPUProcSurfaceRelease
WGPUProcSurfaceSetLabel
WGPUProcSurfaceUnconfigure
WGPUProcTextureAddRef
WGPUProcTextureCreateErrorView
WGPUProcTextureCreateView
WGPUProcTextureDestroy
WGPUProcTextureGetDepthOrArrayLayers
WGPUProcTextureGetDimension
WGPUProcTextureGetFormat
WGPUProcTextureGetHeight
WGPUProcTextureGetMipLevelCount
WGPUProcTextureGetSampleCount
WGPUProcTextureGetUsage
WGPUProcTextureGetWidth
WGPUProcTextureRelease
WGPUProcTextureSetLabel
WGPUProcTextureViewAddRef
WGPUProcTextureViewRelease
WGPUProcTextureViewSetLabel
WGPUQuerySet
WGPUQueue
WGPUQueueWorkDoneCallback
WGPURenderBundle
WGPURenderBundleEncoder
WGPURenderPassDescriptorMaxDrawCount
WGPURenderPassEncoder
WGPURenderPipeline
WGPURequestAdapterCallback
WGPURequestDeviceCallback
WGPUSampler
WGPUShaderModule
WGPUShaderModuleSPIRVDescriptor
WGPUShaderModuleWGSLDescriptor
WGPUShaderStage
WGPUSharedBufferMemory
WGPUSharedFence
WGPUSharedTextureMemory
WGPUSurface
WGPUSurfaceDescriptorFromAndroidNativeWindow
WGPUSurfaceDescriptorFromMetalLayer
WGPUSurfaceDescriptorFromWaylandSurface
WGPUSurfaceDescriptorFromWindowsHWND
WGPUSurfaceDescriptorFromXcbWindow
WGPUSurfaceDescriptorFromXlibWindow
WGPUTexture
WGPUTextureUsage
WGPUTextureView
WGPUUncapturedErrorCallback