#ifdef __EMSCRIPTEN__
#error "Do not include this header. Emscripten already provides headers needed for WebGPU."
#endif
#ifndef WEBGPU_CPP_H_
#define WEBGPU_CPP_H_
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <functional>
#include <string_view>
#include <type_traits>
#include <utility>
#include "webgpu/webgpu.h"
#include "webgpu/webgpu_cpp_chained_struct.h"
#include "webgpu/webgpu_enum_class_bitmasks.h"
namespace wgpu {
namespace detail {
constexpr size_t ConstexprMax(size_t a, size_t b) { … }
template <typename T>
static T& AsNonConstReference(const T& value) { … }
}
static constexpr uint32_t kArrayLayerCountUndefined = …;
static constexpr uint32_t kCopyStrideUndefined = …;
static constexpr uint32_t kDepthSliceUndefined = …;
static constexpr uint32_t kLimitU32Undefined = …;
static constexpr uint64_t kLimitU64Undefined = …;
static constexpr uint32_t kMipLevelCountUndefined = …;
static constexpr uint32_t kQuerySetIndexUndefined = …;
static constexpr size_t kWholeMapSize = …;
static constexpr uint64_t kWholeSize = …;
enum class WGSLFeatureName : uint32_t { … };
static_assert …;
static_assert …;
enum class AdapterType : uint32_t { … };
static_assert …;
static_assert …;
enum class AddressMode : uint32_t { … };
static_assert …;
static_assert …;
enum class AlphaMode : uint32_t { … };
static_assert …;
static_assert …;
enum class BackendType : uint32_t { … };
static_assert …;
static_assert …;
enum class BlendFactor : uint32_t { … };
static_assert …;
static_assert …;
enum class BlendOperation : uint32_t { … };
static_assert …;
static_assert …;
enum class BufferBindingType : uint32_t { … };
static_assert …;
static_assert …;
enum class BufferMapAsyncStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class BufferMapState : uint32_t { … };
static_assert …;
static_assert …;
enum class CallbackMode : uint32_t { … };
static_assert …;
static_assert …;
enum class CompareFunction : uint32_t { … };
static_assert …;
static_assert …;
enum class CompilationInfoRequestStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class CompilationMessageType : uint32_t { … };
static_assert …;
static_assert …;
enum class CompositeAlphaMode : uint32_t { … };
static_assert …;
static_assert …;
enum class CreatePipelineAsyncStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class CullMode : uint32_t { … };
static_assert …;
static_assert …;
enum class DeviceLostReason : uint32_t { … };
static_assert …;
static_assert …;
enum class ErrorFilter : uint32_t { … };
static_assert …;
static_assert …;
enum class ErrorType : uint32_t { … };
static_assert …;
static_assert …;
enum class ExternalTextureRotation : uint32_t { … };
static_assert …;
static_assert …;
enum class FeatureName : uint32_t { … };
static_assert …;
static_assert …;
enum class FilterMode : uint32_t { … };
static_assert …;
static_assert …;
enum class FrontFace : uint32_t { … };
static_assert …;
static_assert …;
enum class IndexFormat : uint32_t { … };
static_assert …;
static_assert …;
enum class LoadOp : uint32_t { … };
static_assert …;
static_assert …;
enum class LoggingType : uint32_t { … };
static_assert …;
static_assert …;
enum class MapAsyncStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class MipmapFilterMode : uint32_t { … };
static_assert …;
static_assert …;
enum class PopErrorScopeStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class PowerPreference : uint32_t { … };
static_assert …;
static_assert …;
enum class PresentMode : uint32_t { … };
static_assert …;
static_assert …;
enum class PrimitiveTopology : uint32_t { … };
static_assert …;
static_assert …;
enum class QueryType : uint32_t { … };
static_assert …;
static_assert …;
enum class QueueWorkDoneStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class RequestAdapterStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class RequestDeviceStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class SType : uint32_t { … };
static_assert …;
static_assert …;
enum class SamplerBindingType : uint32_t { … };
static_assert …;
static_assert …;
enum class SharedFenceType : uint32_t { … };
static_assert …;
static_assert …;
enum class Status : uint32_t { … };
static_assert …;
static_assert …;
enum class StencilOperation : uint32_t { … };
static_assert …;
static_assert …;
enum class StorageTextureAccess : uint32_t { … };
static_assert …;
static_assert …;
enum class StoreOp : uint32_t { … };
static_assert …;
static_assert …;
enum class SurfaceGetCurrentTextureStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class TextureAspect : uint32_t { … };
static_assert …;
static_assert …;
enum class TextureDimension : uint32_t { … };
static_assert …;
static_assert …;
enum class TextureFormat : uint32_t { … };
static_assert …;
static_assert …;
enum class TextureSampleType : uint32_t { … };
static_assert …;
static_assert …;
enum class TextureViewDimension : uint32_t { … };
static_assert …;
static_assert …;
enum class VertexFormat : uint32_t { … };
static_assert …;
static_assert …;
enum class VertexStepMode : uint32_t { … };
static_assert …;
static_assert …;
enum class WaitStatus : uint32_t { … };
static_assert …;
static_assert …;
enum class BufferUsage : uint64_t { … };
static_assert …;
static_assert …;
enum class ColorWriteMask : uint64_t { … };
static_assert …;
static_assert …;
enum class HeapProperty : uint64_t { … };
static_assert …;
static_assert …;
enum class MapMode : uint64_t { … };
static_assert …;
static_assert …;
enum class ShaderStage : uint64_t { … };
static_assert …;
static_assert …;
enum class TextureUsage : uint64_t { … };
static_assert …;
static_assert …;
BufferMapCallback;
Callback;
CompilationInfoCallback;
CreateComputePipelineAsyncCallback;
CreateRenderPipelineAsyncCallback;
DawnLoadCacheDataFunction;
DawnStoreCacheDataFunction;
DeviceLostCallback;
DeviceLostCallbackNew;
ErrorCallback;
LoggingCallback;
PopErrorScopeCallback;
Proc;
QueueWorkDoneCallback;
RequestAdapterCallback;
RequestDeviceCallback;
class Bool { … };
class OptionalBool { … };
inline const OptionalBool OptionalBool::False = …;
inline const OptionalBool OptionalBool::True = …;
inline const OptionalBool OptionalBool::Undefined = …;
struct ConvertibleStatus { … };
template<typename Derived, typename CType>
class ObjectBase { … };
class Adapter;
class BindGroup;
class BindGroupLayout;
class Buffer;
class CommandBuffer;
class CommandEncoder;
class ComputePassEncoder;
class ComputePipeline;
class Device;
class ExternalTexture;
class Instance;
class PipelineLayout;
class QuerySet;
class Queue;
class RenderBundle;
class RenderBundleEncoder;
class RenderPassEncoder;
class RenderPipeline;
class Sampler;
class ShaderModule;
class SharedBufferMemory;
class SharedFence;
class SharedTextureMemory;
class Surface;
class SwapChain;
class Texture;
class TextureView;
struct INTERNAL__HAVE_EMDAWNWEBGPU_HEADER;
struct AdapterInfo;
struct AdapterProperties;
struct AdapterPropertiesD3D;
struct AdapterPropertiesVk;
struct BindGroupEntry;
struct BlendComponent;
struct BufferBindingLayout;
struct BufferDescriptor;
struct BufferHostMappedPointer;
struct BufferMapCallbackInfo;
struct Color;
struct ColorTargetStateExpandResolveTextureDawn;
struct CommandBufferDescriptor;
struct CommandEncoderDescriptor;
struct CompilationInfoCallbackInfo;
struct CompilationMessage;
struct ComputePassTimestampWrites;
struct ConstantEntry;
struct CopyTextureForBrowserOptions;
struct CreateComputePipelineAsyncCallbackInfo;
struct CreateRenderPipelineAsyncCallbackInfo;
struct DawnWGSLBlocklist;
struct DawnAdapterPropertiesPowerPreference;
struct DawnBufferDescriptorErrorInfoFromWireClient;
struct DawnCacheDeviceDescriptor;
struct DawnComputePipelineFullSubgroups;
struct DawnEncoderInternalUsageDescriptor;
struct DawnExperimentalSubgroupLimits;
struct DawnRenderPassColorAttachmentRenderToSingleSampled;
struct DawnShaderModuleSPIRVOptionsDescriptor;
struct DawnTextureInternalUsageDescriptor;
struct DawnTogglesDescriptor;
struct DawnWireWGSLControl;
struct DeviceLostCallbackInfo;
struct DrmFormatProperties;
struct Extent2D;
struct Extent3D;
struct ExternalTextureBindingEntry;
struct ExternalTextureBindingLayout;
struct FormatCapabilities;
struct Future;
struct InstanceFeatures;
struct Limits;
struct MemoryHeapInfo;
struct MultisampleState;
struct NullableStringView;
struct Origin2D;
struct Origin3D;
struct PipelineLayoutDescriptor;
struct PipelineLayoutStorageAttachment;
struct PopErrorScopeCallbackInfo;
struct PrimitiveDepthClipControl;
struct PrimitiveState;
struct QuerySetDescriptor;
struct QueueDescriptor;
struct QueueWorkDoneCallbackInfo;
struct RenderBundleDescriptor;
struct RenderBundleEncoderDescriptor;
struct RenderPassDepthStencilAttachment;
struct RenderPassDescriptorExpandResolveRect;
struct RenderPassDescriptorMaxDrawCount;
struct RenderPassTimestampWrites;
struct RequestAdapterCallbackInfo;
struct RequestAdapterOptions;
struct RequestDeviceCallbackInfo;
struct SamplerBindingLayout;
struct SamplerDescriptor;
struct ShaderModuleSPIRVDescriptor;
struct ShaderModuleWGSLDescriptor;
struct ShaderModuleCompilationOptions;
struct ShaderModuleDescriptor;
struct SharedBufferMemoryBeginAccessDescriptor;
struct SharedBufferMemoryDescriptor;
struct SharedBufferMemoryEndAccessState;
struct SharedBufferMemoryProperties;
struct SharedFenceDXGISharedHandleDescriptor;
struct SharedFenceDXGISharedHandleExportInfo;
struct SharedFenceMTLSharedEventDescriptor;
struct SharedFenceMTLSharedEventExportInfo;
struct SharedFenceDescriptor;
struct SharedFenceExportInfo;
struct SharedFenceVkSemaphoreOpaqueFDDescriptor;
struct SharedFenceVkSemaphoreOpaqueFDExportInfo;
struct SharedFenceVkSemaphoreSyncFDDescriptor;
struct SharedFenceVkSemaphoreSyncFDExportInfo;
struct SharedFenceVkSemaphoreZirconHandleDescriptor;
struct SharedFenceVkSemaphoreZirconHandleExportInfo;
struct SharedTextureMemoryD3DSwapchainBeginState;
struct SharedTextureMemoryDXGISharedHandleDescriptor;
struct SharedTextureMemoryEGLImageDescriptor;
struct SharedTextureMemoryIOSurfaceDescriptor;
struct SharedTextureMemoryAHardwareBufferDescriptor;
struct SharedTextureMemoryBeginAccessDescriptor;
struct SharedTextureMemoryDescriptor;
struct SharedTextureMemoryDmaBufPlane;
struct SharedTextureMemoryEndAccessState;
struct SharedTextureMemoryOpaqueFDDescriptor;
struct SharedTextureMemoryVkDedicatedAllocationDescriptor;
struct SharedTextureMemoryVkImageLayoutBeginState;
struct SharedTextureMemoryVkImageLayoutEndState;
struct SharedTextureMemoryZirconHandleDescriptor;
struct StaticSamplerBindingLayout;
struct StencilFaceState;
struct StorageTextureBindingLayout;
struct StringView;
struct SurfaceCapabilities;
struct SurfaceConfiguration;
struct SurfaceDescriptor;
struct SurfaceDescriptorFromAndroidNativeWindow;
struct SurfaceDescriptorFromCanvasHTMLSelector;
struct SurfaceDescriptorFromMetalLayer;
struct SurfaceDescriptorFromWaylandSurface;
struct SurfaceDescriptorFromWindowsHWND;
struct SurfaceDescriptorFromWindowsCoreWindow;
struct SurfaceDescriptorFromWindowsSwapChainPanel;
struct SurfaceDescriptorFromXcbWindow;
struct SurfaceDescriptorFromXlibWindow;
struct SurfaceTexture;
struct SwapChainDescriptor;
struct TextureBindingLayout;
struct TextureBindingViewDimensionDescriptor;
struct TextureDataLayout;
struct TextureViewDescriptor;
struct UncapturedErrorCallbackInfo;
struct VertexAttribute;
struct YCbCrVkDescriptor;
struct AHardwareBufferProperties;
struct AdapterPropertiesMemoryHeaps;
struct BindGroupDescriptor;
struct BindGroupLayoutEntry;
struct BlendState;
struct CompilationInfo;
struct ComputePassDescriptor;
struct DepthStencilState;
struct DrmFormatCapabilities;
struct ExternalTextureDescriptor;
struct FutureWaitInfo;
struct ImageCopyBuffer;
struct ImageCopyExternalTexture;
struct ImageCopyTexture;
struct InstanceDescriptor;
struct PipelineLayoutPixelLocalStorage;
struct ProgrammableStageDescriptor;
struct RenderPassColorAttachment;
struct RenderPassStorageAttachment;
struct RequiredLimits;
struct SharedTextureMemoryAHardwareBufferProperties;
struct SharedTextureMemoryDmaBufDescriptor;
struct SharedTextureMemoryProperties;
struct SupportedLimits;
struct TextureDescriptor;
struct VertexBufferLayout;
struct BindGroupLayoutDescriptor;
struct ColorTargetState;
struct ComputePipelineDescriptor;
struct DeviceDescriptor;
struct RenderPassDescriptor;
struct RenderPassPixelLocalStorage;
struct VertexState;
struct FragmentState;
struct RenderPipelineDescriptor;
class Adapter : public ObjectBase<Adapter, WGPUAdapter> { … };
class BindGroup : public ObjectBase<BindGroup, WGPUBindGroup> { … };
class BindGroupLayout : public ObjectBase<BindGroupLayout, WGPUBindGroupLayout> { … };
class Buffer : public ObjectBase<Buffer, WGPUBuffer> { … };
class CommandBuffer : public ObjectBase<CommandBuffer, WGPUCommandBuffer> { … };
class CommandEncoder : public ObjectBase<CommandEncoder, WGPUCommandEncoder> { … };
class ComputePassEncoder : public ObjectBase<ComputePassEncoder, WGPUComputePassEncoder> { … };
class ComputePipeline : public ObjectBase<ComputePipeline, WGPUComputePipeline> { … };
class Device : public ObjectBase<Device, WGPUDevice> { … };
class ExternalTexture : public ObjectBase<ExternalTexture, WGPUExternalTexture> { … };
class Instance : public ObjectBase<Instance, WGPUInstance> { … };
class PipelineLayout : public ObjectBase<PipelineLayout, WGPUPipelineLayout> { … };
class QuerySet : public ObjectBase<QuerySet, WGPUQuerySet> { … };
class Queue : public ObjectBase<Queue, WGPUQueue> { … };
class RenderBundle : public ObjectBase<RenderBundle, WGPURenderBundle> { … };
class RenderBundleEncoder : public ObjectBase<RenderBundleEncoder, WGPURenderBundleEncoder> { … };
class RenderPassEncoder : public ObjectBase<RenderPassEncoder, WGPURenderPassEncoder> { … };
class RenderPipeline : public ObjectBase<RenderPipeline, WGPURenderPipeline> { … };
class Sampler : public ObjectBase<Sampler, WGPUSampler> { … };
class ShaderModule : public ObjectBase<ShaderModule, WGPUShaderModule> { … };
class SharedBufferMemory : public ObjectBase<SharedBufferMemory, WGPUSharedBufferMemory> { … };
class SharedFence : public ObjectBase<SharedFence, WGPUSharedFence> { … };
class SharedTextureMemory : public ObjectBase<SharedTextureMemory, WGPUSharedTextureMemory> { … };
class Surface : public ObjectBase<Surface, WGPUSurface> { … };
class SwapChain : public ObjectBase<SwapChain, WGPUSwapChain> { … };
class Texture : public ObjectBase<Texture, WGPUTexture> { … };
class TextureView : public ObjectBase<TextureView, WGPUTextureView> { … };
static_assert …;
static_assert …;
static_assert …;
static_assert …;
struct INTERNAL__HAVE_EMDAWNWEBGPU_HEADER { … };
struct AdapterInfo { … };
struct AdapterProperties { … };
struct AdapterPropertiesD3D : ChainedStructOut { … };
struct AdapterPropertiesVk : ChainedStructOut { … };
struct BindGroupEntry { … };
struct BlendComponent { … };
struct BufferBindingLayout { … };
struct BufferDescriptor { … };
struct BufferHostMappedPointer : ChainedStruct { … };
struct BufferMapCallbackInfo { … };
struct Color { … };
struct ColorTargetStateExpandResolveTextureDawn : ChainedStruct { … };
struct CommandBufferDescriptor { … };
struct CommandEncoderDescriptor { … };
struct CompilationInfoCallbackInfo { … };
struct CompilationMessage { … };
struct ComputePassTimestampWrites { … };
struct ConstantEntry { … };
struct CopyTextureForBrowserOptions { … };
struct CreateComputePipelineAsyncCallbackInfo { … };
struct CreateRenderPipelineAsyncCallbackInfo { … };
struct DawnWGSLBlocklist : ChainedStruct { … };
struct DawnAdapterPropertiesPowerPreference : ChainedStructOut { … };
struct DawnBufferDescriptorErrorInfoFromWireClient : ChainedStruct { … };
struct DawnCacheDeviceDescriptor : ChainedStruct { … };
struct DawnComputePipelineFullSubgroups : ChainedStruct { … };
struct DawnEncoderInternalUsageDescriptor : ChainedStruct { … };
struct DawnExperimentalSubgroupLimits : ChainedStructOut { … };
struct DawnRenderPassColorAttachmentRenderToSingleSampled : ChainedStruct { … };
struct DawnShaderModuleSPIRVOptionsDescriptor : ChainedStruct { … };
struct DawnTextureInternalUsageDescriptor : ChainedStruct { … };
struct DawnTogglesDescriptor : ChainedStruct { … };
struct DawnWireWGSLControl : ChainedStruct { … };
struct DeviceLostCallbackInfo { … };
struct DrmFormatProperties { … };
struct Extent2D { … };
struct Extent3D { … };
struct ExternalTextureBindingEntry : ChainedStruct { … };
struct ExternalTextureBindingLayout : ChainedStruct { … };
struct FormatCapabilities { … };
struct Future { … };
struct InstanceFeatures { … };
struct Limits { … };
struct MemoryHeapInfo { … };
struct MultisampleState { … };
struct NullableStringView { … };
struct Origin2D { … };
struct Origin3D { … };
struct PipelineLayoutDescriptor { … };
struct PipelineLayoutStorageAttachment { … };
struct PopErrorScopeCallbackInfo { … };
struct PrimitiveDepthClipControl : ChainedStruct { … };
struct PrimitiveState { … };
struct QuerySetDescriptor { … };
struct QueueDescriptor { … };
struct QueueWorkDoneCallbackInfo { … };
struct RenderBundleDescriptor { … };
struct RenderBundleEncoderDescriptor { … };
struct RenderPassDepthStencilAttachment { … };
struct RenderPassDescriptorExpandResolveRect : ChainedStruct { … };
struct RenderPassDescriptorMaxDrawCount : ChainedStruct { … };
struct RenderPassTimestampWrites { … };
struct RequestAdapterCallbackInfo { … };
struct RequestAdapterOptions { … };
struct RequestDeviceCallbackInfo { … };
struct SamplerBindingLayout { … };
struct SamplerDescriptor { … };
struct ShaderModuleSPIRVDescriptor : ChainedStruct { … };
struct ShaderModuleWGSLDescriptor : ChainedStruct { … };
struct ShaderModuleCompilationOptions : ChainedStruct { … };
struct ShaderModuleDescriptor { … };
struct SharedBufferMemoryBeginAccessDescriptor { … };
struct SharedBufferMemoryDescriptor { … };
struct SharedBufferMemoryEndAccessState { … };
struct SharedBufferMemoryProperties { … };
struct SharedFenceDXGISharedHandleDescriptor : ChainedStruct { … };
struct SharedFenceDXGISharedHandleExportInfo : ChainedStructOut { … };
struct SharedFenceMTLSharedEventDescriptor : ChainedStruct { … };
struct SharedFenceMTLSharedEventExportInfo : ChainedStructOut { … };
struct SharedFenceDescriptor { … };
struct SharedFenceExportInfo { … };
struct SharedFenceVkSemaphoreOpaqueFDDescriptor : ChainedStruct { … };
struct SharedFenceVkSemaphoreOpaqueFDExportInfo : ChainedStructOut { … };
struct SharedFenceVkSemaphoreSyncFDDescriptor : ChainedStruct { … };
struct SharedFenceVkSemaphoreSyncFDExportInfo : ChainedStructOut { … };
struct SharedFenceVkSemaphoreZirconHandleDescriptor : ChainedStruct { … };
struct SharedFenceVkSemaphoreZirconHandleExportInfo : ChainedStructOut { … };
struct SharedTextureMemoryD3DSwapchainBeginState : ChainedStruct { … };
struct SharedTextureMemoryDXGISharedHandleDescriptor : ChainedStruct { … };
struct SharedTextureMemoryEGLImageDescriptor : ChainedStruct { … };
struct SharedTextureMemoryIOSurfaceDescriptor : ChainedStruct { … };
struct SharedTextureMemoryAHardwareBufferDescriptor : ChainedStruct { … };
struct SharedTextureMemoryBeginAccessDescriptor { … };
struct SharedTextureMemoryDescriptor { … };
struct SharedTextureMemoryDmaBufPlane { … };
struct SharedTextureMemoryEndAccessState { … };
struct SharedTextureMemoryOpaqueFDDescriptor : ChainedStruct { … };
struct SharedTextureMemoryVkDedicatedAllocationDescriptor : ChainedStruct { … };
struct SharedTextureMemoryVkImageLayoutBeginState : ChainedStruct { … };
struct SharedTextureMemoryVkImageLayoutEndState : ChainedStructOut { … };
struct SharedTextureMemoryZirconHandleDescriptor : ChainedStruct { … };
struct StaticSamplerBindingLayout : ChainedStruct { … };
struct StencilFaceState { … };
struct StorageTextureBindingLayout { … };
struct StringView { … };
struct SurfaceCapabilities { … };
struct SurfaceConfiguration { … };
struct SurfaceDescriptor { … };
struct SurfaceDescriptorFromAndroidNativeWindow : ChainedStruct { … };
struct SurfaceDescriptorFromCanvasHTMLSelector : ChainedStruct { … };
struct SurfaceDescriptorFromMetalLayer : ChainedStruct { … };
struct SurfaceDescriptorFromWaylandSurface : ChainedStruct { … };
struct SurfaceDescriptorFromWindowsHWND : ChainedStruct { … };
struct SurfaceDescriptorFromWindowsCoreWindow : ChainedStruct { … };
struct SurfaceDescriptorFromWindowsSwapChainPanel : ChainedStruct { … };
struct SurfaceDescriptorFromXcbWindow : ChainedStruct { … };
struct SurfaceDescriptorFromXlibWindow : ChainedStruct { … };
struct SurfaceTexture { … };
struct SwapChainDescriptor { … };
struct TextureBindingLayout { … };
struct TextureBindingViewDimensionDescriptor : ChainedStruct { … };
struct TextureDataLayout { … };
struct TextureViewDescriptor { … };
struct UncapturedErrorCallbackInfo { … };
struct VertexAttribute { … };
struct YCbCrVkDescriptor : ChainedStruct { … };
struct AHardwareBufferProperties { … };
struct AdapterPropertiesMemoryHeaps : ChainedStructOut { … };
struct BindGroupDescriptor { … };
struct BindGroupLayoutEntry { … };
struct BlendState { … };
struct CompilationInfo { … };
struct ComputePassDescriptor { … };
struct DepthStencilState { … };
struct DrmFormatCapabilities : ChainedStructOut { … };
struct ExternalTextureDescriptor { … };
struct FutureWaitInfo { … };
struct ImageCopyBuffer { … };
struct ImageCopyExternalTexture { … };
struct ImageCopyTexture { … };
struct InstanceDescriptor { … };
struct PipelineLayoutPixelLocalStorage : ChainedStruct { … };
struct ProgrammableStageDescriptor { … };
struct RenderPassColorAttachment { … };
struct RenderPassStorageAttachment { … };
struct RequiredLimits { … };
struct SharedTextureMemoryAHardwareBufferProperties : ChainedStructOut { … };
struct SharedTextureMemoryDmaBufDescriptor : ChainedStruct { … };
struct SharedTextureMemoryProperties { … };
struct SupportedLimits { … };
struct TextureDescriptor { … };
struct VertexBufferLayout { … };
struct BindGroupLayoutDescriptor { … };
struct ColorTargetState { … };
struct ComputePipelineDescriptor { … };
struct RenderPassDescriptor { … };
struct RenderPassPixelLocalStorage : ChainedStruct { … };
struct VertexState { … };
struct FragmentState { … };
struct RenderPipelineDescriptor { … };
namespace detail {
struct DeviceDescriptor { … };
}
struct DeviceDescriptor : protected detail::DeviceDescriptor { … };
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winvalid-offsetof"
#endif
operator const WGPUINTERNAL__HAVE_EMDAWNWEBGPU_HEADER &()
static_assert …;
static_assert …;
AdapterInfo::AdapterInfo() = default;
AdapterInfo::~AdapterInfo() { … }
AdapterInfo::AdapterInfo(AdapterInfo&& rhs)
: … { … }
AdapterInfo& AdapterInfo::operator=(AdapterInfo&& rhs) { … }
void AdapterInfo::FreeMembers() { … }
void AdapterInfo::Reset(AdapterInfo& value) { … }
operator const WGPUAdapterInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
AdapterProperties::AdapterProperties() = default;
AdapterProperties::~AdapterProperties() { … }
AdapterProperties::AdapterProperties(AdapterProperties&& rhs)
: … { … }
AdapterProperties& AdapterProperties::operator=(AdapterProperties&& rhs) { … }
void AdapterProperties::FreeMembers() { … }
void AdapterProperties::Reset(AdapterProperties& value) { … }
operator const WGPUAdapterProperties &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
AdapterPropertiesD3D::AdapterPropertiesD3D()
: … { … }
struct AdapterPropertiesD3D::Init { … };
AdapterPropertiesD3D::AdapterPropertiesD3D(AdapterPropertiesD3D::Init&& init)
: … { … }
operator const WGPUAdapterPropertiesD3D &()
static_assert …;
static_assert …;
static_assert …;
AdapterPropertiesVk::AdapterPropertiesVk()
: … { … }
struct AdapterPropertiesVk::Init { … };
AdapterPropertiesVk::AdapterPropertiesVk(AdapterPropertiesVk::Init&& init)
: … { … }
operator const WGPUAdapterPropertiesVk &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBindGroupEntry &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBlendComponent &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBufferBindingLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBufferDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
BufferHostMappedPointer::BufferHostMappedPointer()
: … { … }
struct BufferHostMappedPointer::Init { … };
BufferHostMappedPointer::BufferHostMappedPointer(BufferHostMappedPointer::Init&& init)
: … { … }
operator const WGPUBufferHostMappedPointer &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBufferMapCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUColor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
ColorTargetStateExpandResolveTextureDawn::ColorTargetStateExpandResolveTextureDawn()
: … { … }
struct ColorTargetStateExpandResolveTextureDawn::Init { … };
ColorTargetStateExpandResolveTextureDawn::ColorTargetStateExpandResolveTextureDawn(ColorTargetStateExpandResolveTextureDawn::Init&& init)
: … { … }
operator const WGPUColorTargetStateExpandResolveTextureDawn &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCommandBufferDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCommandEncoderDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCompilationInfoCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCompilationMessage &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUComputePassTimestampWrites &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUConstantEntry &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCopyTextureForBrowserOptions &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCreateComputePipelineAsyncCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCreateRenderPipelineAsyncCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DawnWGSLBlocklist::DawnWGSLBlocklist()
: … { … }
struct DawnWGSLBlocklist::Init { … };
DawnWGSLBlocklist::DawnWGSLBlocklist(DawnWGSLBlocklist::Init&& init)
: … { … }
operator const WGPUDawnWGSLBlocklist &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DawnAdapterPropertiesPowerPreference::DawnAdapterPropertiesPowerPreference()
: … { … }
struct DawnAdapterPropertiesPowerPreference::Init { … };
DawnAdapterPropertiesPowerPreference::DawnAdapterPropertiesPowerPreference(DawnAdapterPropertiesPowerPreference::Init&& init)
: … { … }
operator const WGPUDawnAdapterPropertiesPowerPreference &()
static_assert …;
static_assert …;
static_assert …;
DawnBufferDescriptorErrorInfoFromWireClient::DawnBufferDescriptorErrorInfoFromWireClient()
: … { … }
struct DawnBufferDescriptorErrorInfoFromWireClient::Init { … };
DawnBufferDescriptorErrorInfoFromWireClient::DawnBufferDescriptorErrorInfoFromWireClient(DawnBufferDescriptorErrorInfoFromWireClient::Init&& init)
: … { … }
operator const WGPUDawnBufferDescriptorErrorInfoFromWireClient &()
static_assert …;
static_assert …;
static_assert …;
DawnCacheDeviceDescriptor::DawnCacheDeviceDescriptor()
: … { … }
struct DawnCacheDeviceDescriptor::Init { … };
DawnCacheDeviceDescriptor::DawnCacheDeviceDescriptor(DawnCacheDeviceDescriptor::Init&& init)
: … { … }
operator const WGPUDawnCacheDeviceDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DawnComputePipelineFullSubgroups::DawnComputePipelineFullSubgroups()
: … { … }
struct DawnComputePipelineFullSubgroups::Init { … };
DawnComputePipelineFullSubgroups::DawnComputePipelineFullSubgroups(DawnComputePipelineFullSubgroups::Init&& init)
: … { … }
operator const WGPUDawnComputePipelineFullSubgroups &()
static_assert …;
static_assert …;
static_assert …;
DawnEncoderInternalUsageDescriptor::DawnEncoderInternalUsageDescriptor()
: … { … }
struct DawnEncoderInternalUsageDescriptor::Init { … };
DawnEncoderInternalUsageDescriptor::DawnEncoderInternalUsageDescriptor(DawnEncoderInternalUsageDescriptor::Init&& init)
: … { … }
operator const WGPUDawnEncoderInternalUsageDescriptor &()
static_assert …;
static_assert …;
static_assert …;
DawnExperimentalSubgroupLimits::DawnExperimentalSubgroupLimits()
: … { … }
struct DawnExperimentalSubgroupLimits::Init { … };
DawnExperimentalSubgroupLimits::DawnExperimentalSubgroupLimits(DawnExperimentalSubgroupLimits::Init&& init)
: … { … }
operator const WGPUDawnExperimentalSubgroupLimits &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DawnRenderPassColorAttachmentRenderToSingleSampled::DawnRenderPassColorAttachmentRenderToSingleSampled()
: … { … }
struct DawnRenderPassColorAttachmentRenderToSingleSampled::Init { … };
DawnRenderPassColorAttachmentRenderToSingleSampled::DawnRenderPassColorAttachmentRenderToSingleSampled(DawnRenderPassColorAttachmentRenderToSingleSampled::Init&& init)
: … { … }
operator const WGPUDawnRenderPassColorAttachmentRenderToSingleSampled &()
static_assert …;
static_assert …;
static_assert …;
DawnShaderModuleSPIRVOptionsDescriptor::DawnShaderModuleSPIRVOptionsDescriptor()
: … { … }
struct DawnShaderModuleSPIRVOptionsDescriptor::Init { … };
DawnShaderModuleSPIRVOptionsDescriptor::DawnShaderModuleSPIRVOptionsDescriptor(DawnShaderModuleSPIRVOptionsDescriptor::Init&& init)
: … { … }
operator const WGPUDawnShaderModuleSPIRVOptionsDescriptor &()
static_assert …;
static_assert …;
static_assert …;
DawnTextureInternalUsageDescriptor::DawnTextureInternalUsageDescriptor()
: … { … }
struct DawnTextureInternalUsageDescriptor::Init { … };
DawnTextureInternalUsageDescriptor::DawnTextureInternalUsageDescriptor(DawnTextureInternalUsageDescriptor::Init&& init)
: … { … }
operator const WGPUDawnTextureInternalUsageDescriptor &()
static_assert …;
static_assert …;
static_assert …;
DawnTogglesDescriptor::DawnTogglesDescriptor()
: … { … }
struct DawnTogglesDescriptor::Init { … };
DawnTogglesDescriptor::DawnTogglesDescriptor(DawnTogglesDescriptor::Init&& init)
: … { … }
operator const WGPUDawnTogglesDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DawnWireWGSLControl::DawnWireWGSLControl()
: … { … }
struct DawnWireWGSLControl::Init { … };
DawnWireWGSLControl::DawnWireWGSLControl(DawnWireWGSLControl::Init&& init)
: … { … }
operator const WGPUDawnWireWGSLControl &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUDeviceLostCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUDrmFormatProperties &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUExtent2D &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUExtent3D &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
ExternalTextureBindingEntry::ExternalTextureBindingEntry()
: … { … }
struct ExternalTextureBindingEntry::Init { … };
ExternalTextureBindingEntry::ExternalTextureBindingEntry(ExternalTextureBindingEntry::Init&& init)
: … { … }
operator const WGPUExternalTextureBindingEntry &()
static_assert …;
static_assert …;
static_assert …;
ExternalTextureBindingLayout::ExternalTextureBindingLayout()
: … { … }
struct ExternalTextureBindingLayout::Init { … };
ExternalTextureBindingLayout::ExternalTextureBindingLayout(ExternalTextureBindingLayout::Init&& init)
: … { … }
operator const WGPUExternalTextureBindingLayout &()
static_assert …;
static_assert …;
operator const WGPUFormatCapabilities &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUFuture &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUInstanceFeatures &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPULimits &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUMemoryHeapInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUMultisampleState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUStringView &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUOrigin2D &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUOrigin3D &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUPipelineLayoutDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUPipelineLayoutStorageAttachment &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUPopErrorScopeCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
PrimitiveDepthClipControl::PrimitiveDepthClipControl()
: … { … }
struct PrimitiveDepthClipControl::Init { … };
PrimitiveDepthClipControl::PrimitiveDepthClipControl(PrimitiveDepthClipControl::Init&& init)
: … { … }
operator const WGPUPrimitiveDepthClipControl &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUPrimitiveState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUQuerySetDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUQueueDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUQueueWorkDoneCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderBundleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderBundleEncoderDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPassDepthStencilAttachment &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
RenderPassDescriptorExpandResolveRect::RenderPassDescriptorExpandResolveRect()
: … { … }
struct RenderPassDescriptorExpandResolveRect::Init { … };
RenderPassDescriptorExpandResolveRect::RenderPassDescriptorExpandResolveRect(RenderPassDescriptorExpandResolveRect::Init&& init)
: … { … }
operator const WGPURenderPassDescriptorExpandResolveRect &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
RenderPassDescriptorMaxDrawCount::RenderPassDescriptorMaxDrawCount()
: … { … }
struct RenderPassDescriptorMaxDrawCount::Init { … };
RenderPassDescriptorMaxDrawCount::RenderPassDescriptorMaxDrawCount(RenderPassDescriptorMaxDrawCount::Init&& init)
: … { … }
operator const WGPURenderPassDescriptorMaxDrawCount &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPassTimestampWrites &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURequestAdapterCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURequestAdapterOptions &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURequestDeviceCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSamplerBindingLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSamplerDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
ShaderModuleSPIRVDescriptor::ShaderModuleSPIRVDescriptor()
: … { … }
struct ShaderModuleSPIRVDescriptor::Init { … };
ShaderModuleSPIRVDescriptor::ShaderModuleSPIRVDescriptor(ShaderModuleSPIRVDescriptor::Init&& init)
: … { … }
operator const WGPUShaderModuleSPIRVDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
ShaderModuleWGSLDescriptor::ShaderModuleWGSLDescriptor()
: … { … }
struct ShaderModuleWGSLDescriptor::Init { … };
ShaderModuleWGSLDescriptor::ShaderModuleWGSLDescriptor(ShaderModuleWGSLDescriptor::Init&& init)
: … { … }
operator const WGPUShaderModuleWGSLDescriptor &()
static_assert …;
static_assert …;
static_assert …;
ShaderModuleCompilationOptions::ShaderModuleCompilationOptions()
: … { … }
struct ShaderModuleCompilationOptions::Init { … };
ShaderModuleCompilationOptions::ShaderModuleCompilationOptions(ShaderModuleCompilationOptions::Init&& init)
: … { … }
operator const WGPUShaderModuleCompilationOptions &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUShaderModuleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedBufferMemoryBeginAccessDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedBufferMemoryDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedBufferMemoryEndAccessState::SharedBufferMemoryEndAccessState() = default;
SharedBufferMemoryEndAccessState::~SharedBufferMemoryEndAccessState() { … }
SharedBufferMemoryEndAccessState::SharedBufferMemoryEndAccessState(SharedBufferMemoryEndAccessState&& rhs)
: … { … }
SharedBufferMemoryEndAccessState& SharedBufferMemoryEndAccessState::operator=(SharedBufferMemoryEndAccessState&& rhs) { … }
void SharedBufferMemoryEndAccessState::FreeMembers() { … }
void SharedBufferMemoryEndAccessState::Reset(SharedBufferMemoryEndAccessState& value) { … }
operator const WGPUSharedBufferMemoryEndAccessState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedBufferMemoryProperties &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedFenceDXGISharedHandleDescriptor::SharedFenceDXGISharedHandleDescriptor()
: … { … }
struct SharedFenceDXGISharedHandleDescriptor::Init { … };
SharedFenceDXGISharedHandleDescriptor::SharedFenceDXGISharedHandleDescriptor(SharedFenceDXGISharedHandleDescriptor::Init&& init)
: … { … }
operator const WGPUSharedFenceDXGISharedHandleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceDXGISharedHandleExportInfo::SharedFenceDXGISharedHandleExportInfo()
: … { … }
struct SharedFenceDXGISharedHandleExportInfo::Init { … };
SharedFenceDXGISharedHandleExportInfo::SharedFenceDXGISharedHandleExportInfo(SharedFenceDXGISharedHandleExportInfo::Init&& init)
: … { … }
operator const WGPUSharedFenceDXGISharedHandleExportInfo &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceMTLSharedEventDescriptor::SharedFenceMTLSharedEventDescriptor()
: … { … }
struct SharedFenceMTLSharedEventDescriptor::Init { … };
SharedFenceMTLSharedEventDescriptor::SharedFenceMTLSharedEventDescriptor(SharedFenceMTLSharedEventDescriptor::Init&& init)
: … { … }
operator const WGPUSharedFenceMTLSharedEventDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceMTLSharedEventExportInfo::SharedFenceMTLSharedEventExportInfo()
: … { … }
struct SharedFenceMTLSharedEventExportInfo::Init { … };
SharedFenceMTLSharedEventExportInfo::SharedFenceMTLSharedEventExportInfo(SharedFenceMTLSharedEventExportInfo::Init&& init)
: … { … }
operator const WGPUSharedFenceMTLSharedEventExportInfo &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedFenceDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedFenceExportInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreOpaqueFDDescriptor::SharedFenceVkSemaphoreOpaqueFDDescriptor()
: … { … }
struct SharedFenceVkSemaphoreOpaqueFDDescriptor::Init { … };
SharedFenceVkSemaphoreOpaqueFDDescriptor::SharedFenceVkSemaphoreOpaqueFDDescriptor(SharedFenceVkSemaphoreOpaqueFDDescriptor::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreOpaqueFDExportInfo::SharedFenceVkSemaphoreOpaqueFDExportInfo()
: … { … }
struct SharedFenceVkSemaphoreOpaqueFDExportInfo::Init { … };
SharedFenceVkSemaphoreOpaqueFDExportInfo::SharedFenceVkSemaphoreOpaqueFDExportInfo(SharedFenceVkSemaphoreOpaqueFDExportInfo::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreSyncFDDescriptor::SharedFenceVkSemaphoreSyncFDDescriptor()
: … { … }
struct SharedFenceVkSemaphoreSyncFDDescriptor::Init { … };
SharedFenceVkSemaphoreSyncFDDescriptor::SharedFenceVkSemaphoreSyncFDDescriptor(SharedFenceVkSemaphoreSyncFDDescriptor::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreSyncFDDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreSyncFDExportInfo::SharedFenceVkSemaphoreSyncFDExportInfo()
: … { … }
struct SharedFenceVkSemaphoreSyncFDExportInfo::Init { … };
SharedFenceVkSemaphoreSyncFDExportInfo::SharedFenceVkSemaphoreSyncFDExportInfo(SharedFenceVkSemaphoreSyncFDExportInfo::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreSyncFDExportInfo &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreZirconHandleDescriptor::SharedFenceVkSemaphoreZirconHandleDescriptor()
: … { … }
struct SharedFenceVkSemaphoreZirconHandleDescriptor::Init { … };
SharedFenceVkSemaphoreZirconHandleDescriptor::SharedFenceVkSemaphoreZirconHandleDescriptor(SharedFenceVkSemaphoreZirconHandleDescriptor::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreZirconHandleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedFenceVkSemaphoreZirconHandleExportInfo::SharedFenceVkSemaphoreZirconHandleExportInfo()
: … { … }
struct SharedFenceVkSemaphoreZirconHandleExportInfo::Init { … };
SharedFenceVkSemaphoreZirconHandleExportInfo::SharedFenceVkSemaphoreZirconHandleExportInfo(SharedFenceVkSemaphoreZirconHandleExportInfo::Init&& init)
: … { … }
operator const WGPUSharedFenceVkSemaphoreZirconHandleExportInfo &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryD3DSwapchainBeginState::SharedTextureMemoryD3DSwapchainBeginState()
: … { … }
struct SharedTextureMemoryD3DSwapchainBeginState::Init { … };
SharedTextureMemoryD3DSwapchainBeginState::SharedTextureMemoryD3DSwapchainBeginState(SharedTextureMemoryD3DSwapchainBeginState::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryD3DSwapchainBeginState &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryDXGISharedHandleDescriptor::SharedTextureMemoryDXGISharedHandleDescriptor()
: … { … }
struct SharedTextureMemoryDXGISharedHandleDescriptor::Init { … };
SharedTextureMemoryDXGISharedHandleDescriptor::SharedTextureMemoryDXGISharedHandleDescriptor(SharedTextureMemoryDXGISharedHandleDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryDXGISharedHandleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryEGLImageDescriptor::SharedTextureMemoryEGLImageDescriptor()
: … { … }
struct SharedTextureMemoryEGLImageDescriptor::Init { … };
SharedTextureMemoryEGLImageDescriptor::SharedTextureMemoryEGLImageDescriptor(SharedTextureMemoryEGLImageDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryEGLImageDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryIOSurfaceDescriptor::SharedTextureMemoryIOSurfaceDescriptor()
: … { … }
struct SharedTextureMemoryIOSurfaceDescriptor::Init { … };
SharedTextureMemoryIOSurfaceDescriptor::SharedTextureMemoryIOSurfaceDescriptor(SharedTextureMemoryIOSurfaceDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryIOSurfaceDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryAHardwareBufferDescriptor::SharedTextureMemoryAHardwareBufferDescriptor()
: … { … }
struct SharedTextureMemoryAHardwareBufferDescriptor::Init { … };
SharedTextureMemoryAHardwareBufferDescriptor::SharedTextureMemoryAHardwareBufferDescriptor(SharedTextureMemoryAHardwareBufferDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryAHardwareBufferDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedTextureMemoryBeginAccessDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedTextureMemoryDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedTextureMemoryDmaBufPlane &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryEndAccessState::SharedTextureMemoryEndAccessState() = default;
SharedTextureMemoryEndAccessState::~SharedTextureMemoryEndAccessState() { … }
SharedTextureMemoryEndAccessState::SharedTextureMemoryEndAccessState(SharedTextureMemoryEndAccessState&& rhs)
: … { … }
SharedTextureMemoryEndAccessState& SharedTextureMemoryEndAccessState::operator=(SharedTextureMemoryEndAccessState&& rhs) { … }
void SharedTextureMemoryEndAccessState::FreeMembers() { … }
void SharedTextureMemoryEndAccessState::Reset(SharedTextureMemoryEndAccessState& value) { … }
operator const WGPUSharedTextureMemoryEndAccessState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryOpaqueFDDescriptor::SharedTextureMemoryOpaqueFDDescriptor()
: … { … }
struct SharedTextureMemoryOpaqueFDDescriptor::Init { … };
SharedTextureMemoryOpaqueFDDescriptor::SharedTextureMemoryOpaqueFDDescriptor(SharedTextureMemoryOpaqueFDDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryOpaqueFDDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryVkDedicatedAllocationDescriptor::SharedTextureMemoryVkDedicatedAllocationDescriptor()
: … { … }
struct SharedTextureMemoryVkDedicatedAllocationDescriptor::Init { … };
SharedTextureMemoryVkDedicatedAllocationDescriptor::SharedTextureMemoryVkDedicatedAllocationDescriptor(SharedTextureMemoryVkDedicatedAllocationDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryVkImageLayoutBeginState::SharedTextureMemoryVkImageLayoutBeginState()
: … { … }
struct SharedTextureMemoryVkImageLayoutBeginState::Init { … };
SharedTextureMemoryVkImageLayoutBeginState::SharedTextureMemoryVkImageLayoutBeginState(SharedTextureMemoryVkImageLayoutBeginState::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryVkImageLayoutBeginState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryVkImageLayoutEndState::SharedTextureMemoryVkImageLayoutEndState()
: … { … }
struct SharedTextureMemoryVkImageLayoutEndState::Init { … };
SharedTextureMemoryVkImageLayoutEndState::SharedTextureMemoryVkImageLayoutEndState(SharedTextureMemoryVkImageLayoutEndState::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryVkImageLayoutEndState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryZirconHandleDescriptor::SharedTextureMemoryZirconHandleDescriptor()
: … { … }
struct SharedTextureMemoryZirconHandleDescriptor::Init { … };
SharedTextureMemoryZirconHandleDescriptor::SharedTextureMemoryZirconHandleDescriptor(SharedTextureMemoryZirconHandleDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryZirconHandleDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
StaticSamplerBindingLayout::StaticSamplerBindingLayout()
: … { … }
struct StaticSamplerBindingLayout::Init { … };
StaticSamplerBindingLayout::StaticSamplerBindingLayout(StaticSamplerBindingLayout::Init&& init)
: … { … }
operator const WGPUStaticSamplerBindingLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUStencilFaceState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUStorageTextureBindingLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUStringView &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SurfaceCapabilities::SurfaceCapabilities() = default;
SurfaceCapabilities::~SurfaceCapabilities() { … }
SurfaceCapabilities::SurfaceCapabilities(SurfaceCapabilities&& rhs)
: … { … }
SurfaceCapabilities& SurfaceCapabilities::operator=(SurfaceCapabilities&& rhs) { … }
void SurfaceCapabilities::FreeMembers() { … }
void SurfaceCapabilities::Reset(SurfaceCapabilities& value) { … }
operator const WGPUSurfaceCapabilities &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSurfaceConfiguration &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSurfaceDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromAndroidNativeWindow::SurfaceDescriptorFromAndroidNativeWindow()
: … { … }
struct SurfaceDescriptorFromAndroidNativeWindow::Init { … };
SurfaceDescriptorFromAndroidNativeWindow::SurfaceDescriptorFromAndroidNativeWindow(SurfaceDescriptorFromAndroidNativeWindow::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromAndroidNativeWindow &()
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromCanvasHTMLSelector::SurfaceDescriptorFromCanvasHTMLSelector()
: … { … }
struct SurfaceDescriptorFromCanvasHTMLSelector::Init { … };
SurfaceDescriptorFromCanvasHTMLSelector::SurfaceDescriptorFromCanvasHTMLSelector(SurfaceDescriptorFromCanvasHTMLSelector::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromCanvasHTMLSelector &()
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromMetalLayer::SurfaceDescriptorFromMetalLayer()
: … { … }
struct SurfaceDescriptorFromMetalLayer::Init { … };
SurfaceDescriptorFromMetalLayer::SurfaceDescriptorFromMetalLayer(SurfaceDescriptorFromMetalLayer::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromMetalLayer &()
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromWaylandSurface::SurfaceDescriptorFromWaylandSurface()
: … { … }
struct SurfaceDescriptorFromWaylandSurface::Init { … };
SurfaceDescriptorFromWaylandSurface::SurfaceDescriptorFromWaylandSurface(SurfaceDescriptorFromWaylandSurface::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromWaylandSurface &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromWindowsHWND::SurfaceDescriptorFromWindowsHWND()
: … { … }
struct SurfaceDescriptorFromWindowsHWND::Init { … };
SurfaceDescriptorFromWindowsHWND::SurfaceDescriptorFromWindowsHWND(SurfaceDescriptorFromWindowsHWND::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromWindowsHWND &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromWindowsCoreWindow::SurfaceDescriptorFromWindowsCoreWindow()
: … { … }
struct SurfaceDescriptorFromWindowsCoreWindow::Init { … };
SurfaceDescriptorFromWindowsCoreWindow::SurfaceDescriptorFromWindowsCoreWindow(SurfaceDescriptorFromWindowsCoreWindow::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromWindowsCoreWindow &()
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromWindowsSwapChainPanel::SurfaceDescriptorFromWindowsSwapChainPanel()
: … { … }
struct SurfaceDescriptorFromWindowsSwapChainPanel::Init { … };
SurfaceDescriptorFromWindowsSwapChainPanel::SurfaceDescriptorFromWindowsSwapChainPanel(SurfaceDescriptorFromWindowsSwapChainPanel::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromWindowsSwapChainPanel &()
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromXcbWindow::SurfaceDescriptorFromXcbWindow()
: … { … }
struct SurfaceDescriptorFromXcbWindow::Init { … };
SurfaceDescriptorFromXcbWindow::SurfaceDescriptorFromXcbWindow(SurfaceDescriptorFromXcbWindow::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromXcbWindow &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SurfaceDescriptorFromXlibWindow::SurfaceDescriptorFromXlibWindow()
: … { … }
struct SurfaceDescriptorFromXlibWindow::Init { … };
SurfaceDescriptorFromXlibWindow::SurfaceDescriptorFromXlibWindow(SurfaceDescriptorFromXlibWindow::Init&& init)
: … { … }
operator const WGPUSurfaceDescriptorFromXlibWindow &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSurfaceTexture &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSwapChainDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUTextureBindingLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
TextureBindingViewDimensionDescriptor::TextureBindingViewDimensionDescriptor()
: … { … }
struct TextureBindingViewDimensionDescriptor::Init { … };
TextureBindingViewDimensionDescriptor::TextureBindingViewDimensionDescriptor(TextureBindingViewDimensionDescriptor::Init&& init)
: … { … }
operator const WGPUTextureBindingViewDimensionDescriptor &()
static_assert …;
static_assert …;
static_assert …;
operator const WGPUTextureDataLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUTextureViewDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUUncapturedErrorCallbackInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUVertexAttribute &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
YCbCrVkDescriptor::YCbCrVkDescriptor()
: … { … }
struct YCbCrVkDescriptor::Init { … };
YCbCrVkDescriptor::YCbCrVkDescriptor(YCbCrVkDescriptor::Init&& init)
: … { … }
operator const WGPUYCbCrVkDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUAHardwareBufferProperties &()
static_assert …;
static_assert …;
static_assert …;
AdapterPropertiesMemoryHeaps::AdapterPropertiesMemoryHeaps()
: … { … }
struct AdapterPropertiesMemoryHeaps::Init { … };
AdapterPropertiesMemoryHeaps::AdapterPropertiesMemoryHeaps(AdapterPropertiesMemoryHeaps::Init&& init)
: … { … }
AdapterPropertiesMemoryHeaps::~AdapterPropertiesMemoryHeaps() { … }
AdapterPropertiesMemoryHeaps::AdapterPropertiesMemoryHeaps(AdapterPropertiesMemoryHeaps&& rhs)
: … { … }
AdapterPropertiesMemoryHeaps& AdapterPropertiesMemoryHeaps::operator=(AdapterPropertiesMemoryHeaps&& rhs) { … }
void AdapterPropertiesMemoryHeaps::FreeMembers() { … }
void AdapterPropertiesMemoryHeaps::Reset(AdapterPropertiesMemoryHeaps& value) { … }
operator const WGPUAdapterPropertiesMemoryHeaps &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBindGroupDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBindGroupLayoutEntry &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBlendState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUCompilationInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUComputePassDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUDepthStencilState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
DrmFormatCapabilities::DrmFormatCapabilities()
: … { … }
struct DrmFormatCapabilities::Init { … };
DrmFormatCapabilities::DrmFormatCapabilities(DrmFormatCapabilities::Init&& init)
: … { … }
DrmFormatCapabilities::~DrmFormatCapabilities() { … }
DrmFormatCapabilities::DrmFormatCapabilities(DrmFormatCapabilities&& rhs)
: … { … }
DrmFormatCapabilities& DrmFormatCapabilities::operator=(DrmFormatCapabilities&& rhs) { … }
void DrmFormatCapabilities::FreeMembers() { … }
void DrmFormatCapabilities::Reset(DrmFormatCapabilities& value) { … }
operator const WGPUDrmFormatCapabilities &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUExternalTextureDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUFutureWaitInfo &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUImageCopyBuffer &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUImageCopyExternalTexture &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUImageCopyTexture &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUInstanceDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
PipelineLayoutPixelLocalStorage::PipelineLayoutPixelLocalStorage()
: … { … }
struct PipelineLayoutPixelLocalStorage::Init { … };
PipelineLayoutPixelLocalStorage::PipelineLayoutPixelLocalStorage(PipelineLayoutPixelLocalStorage::Init&& init)
: … { … }
operator const WGPUPipelineLayoutPixelLocalStorage &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUProgrammableStageDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPassColorAttachment &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPassStorageAttachment &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURequiredLimits &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryAHardwareBufferProperties::SharedTextureMemoryAHardwareBufferProperties()
: … { … }
struct SharedTextureMemoryAHardwareBufferProperties::Init { … };
SharedTextureMemoryAHardwareBufferProperties::SharedTextureMemoryAHardwareBufferProperties(SharedTextureMemoryAHardwareBufferProperties::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryAHardwareBufferProperties &()
static_assert …;
static_assert …;
static_assert …;
SharedTextureMemoryDmaBufDescriptor::SharedTextureMemoryDmaBufDescriptor()
: … { … }
struct SharedTextureMemoryDmaBufDescriptor::Init { … };
SharedTextureMemoryDmaBufDescriptor::SharedTextureMemoryDmaBufDescriptor(SharedTextureMemoryDmaBufDescriptor::Init&& init)
: … { … }
operator const WGPUSharedTextureMemoryDmaBufDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSharedTextureMemoryProperties &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUSupportedLimits &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUTextureDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUVertexBufferLayout &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUBindGroupLayoutDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUColorTargetState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUComputePipelineDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPassDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
RenderPassPixelLocalStorage::RenderPassPixelLocalStorage()
: … { … }
struct RenderPassPixelLocalStorage::Init { … };
RenderPassPixelLocalStorage::RenderPassPixelLocalStorage(RenderPassPixelLocalStorage::Init&& init)
: … { … }
operator const WGPURenderPassPixelLocalStorage &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUVertexState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUFragmentState &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPURenderPipelineDescriptor &()
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
operator const WGPUDeviceDescriptor &()
DeviceDescriptor::DeviceDescriptor() : … { … }
struct DeviceDescriptor::Init { … };
DeviceDescriptor::DeviceDescriptor(DeviceDescriptor::Init&& init) : … { … }
static_assert …;
static_assert …;
template <typename F, typename T, typename Cb, typename>
void DeviceDescriptor::SetDeviceLostCallback(CallbackMode callbackMode, F callback, T userdata) { … }
template <typename L, typename Cb, typename>
void DeviceDescriptor::SetDeviceLostCallback(CallbackMode callbackMode, L callback) { … }
template <typename F, typename T, typename Cb, typename>
void DeviceDescriptor::SetUncapturedErrorCallback(F callback, T userdata) { … }
template <typename L, typename Cb, typename>
void DeviceDescriptor::SetUncapturedErrorCallback(L callback) { … }
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
Device Adapter::CreateDevice(DeviceDescriptor const * descriptor) const { … }
size_t Adapter::EnumerateFeatures(FeatureName * features) const { … }
ConvertibleStatus Adapter::GetFormatCapabilities(TextureFormat format, FormatCapabilities * capabilities) const { … }
ConvertibleStatus Adapter::GetInfo(AdapterInfo * info) const { … }
Instance Adapter::GetInstance() const { … }
ConvertibleStatus Adapter::GetLimits(SupportedLimits * limits) const { … }
ConvertibleStatus Adapter::GetProperties(AdapterProperties * properties) const { … }
Bool Adapter::HasFeature(FeatureName feature) const { … }
void Adapter::RequestDevice(DeviceDescriptor const * descriptor, RequestDeviceCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Adapter::RequestDevice(DeviceDescriptor const * options, CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Adapter::RequestDevice(DeviceDescriptor const * options, CallbackMode callbackMode, L callback) const { … }
Future Adapter::RequestDevice(DeviceDescriptor const * options, RequestDeviceCallbackInfo callbackInfo) const { … }
void Adapter::WGPUAddRef(WGPUAdapter handle) { … }
void Adapter::WGPURelease(WGPUAdapter handle) { … }
static_assert …;
static_assert …;
void BindGroup::SetLabel(char const * label) const { … }
void BindGroup::SetLabel(NullableStringView label) const { … }
void BindGroup::WGPUAddRef(WGPUBindGroup handle) { … }
void BindGroup::WGPURelease(WGPUBindGroup handle) { … }
static_assert …;
static_assert …;
void BindGroupLayout::SetLabel(char const * label) const { … }
void BindGroupLayout::SetLabel(NullableStringView label) const { … }
void BindGroupLayout::WGPUAddRef(WGPUBindGroupLayout handle) { … }
void BindGroupLayout::WGPURelease(WGPUBindGroupLayout handle) { … }
static_assert …;
static_assert …;
void Buffer::Destroy() const { … }
void const * Buffer::GetConstMappedRange(size_t offset, size_t size) const { … }
BufferMapState Buffer::GetMapState() const { … }
void * Buffer::GetMappedRange(size_t offset, size_t size) const { … }
uint64_t Buffer::GetSize() const { … }
BufferUsage Buffer::GetUsage() const { … }
void Buffer::MapAsync(MapMode mode, size_t offset, size_t size, BufferMapCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Buffer::MapAsync(MapMode mode, size_t offset, size_t size, CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Buffer::MapAsync(MapMode mode, size_t offset, size_t size, CallbackMode callbackMode, L callback) const { … }
Future Buffer::MapAsync(MapMode mode, size_t offset, size_t size, BufferMapCallbackInfo callbackInfo) const { … }
void Buffer::SetLabel(char const * label) const { … }
void Buffer::SetLabel(NullableStringView label) const { … }
void Buffer::Unmap() const { … }
void Buffer::WGPUAddRef(WGPUBuffer handle) { … }
void Buffer::WGPURelease(WGPUBuffer handle) { … }
static_assert …;
static_assert …;
void CommandBuffer::SetLabel(char const * label) const { … }
void CommandBuffer::SetLabel(NullableStringView label) const { … }
void CommandBuffer::WGPUAddRef(WGPUCommandBuffer handle) { … }
void CommandBuffer::WGPURelease(WGPUCommandBuffer handle) { … }
static_assert …;
static_assert …;
ComputePassEncoder CommandEncoder::BeginComputePass(ComputePassDescriptor const * descriptor) const { … }
RenderPassEncoder CommandEncoder::BeginRenderPass(RenderPassDescriptor const * descriptor) const { … }
void CommandEncoder::ClearBuffer(Buffer const& buffer, uint64_t offset, uint64_t size) const { … }
void CommandEncoder::CopyBufferToBuffer(Buffer const& source, uint64_t sourceOffset, Buffer const& destination, uint64_t destinationOffset, uint64_t size) const { … }
void CommandEncoder::CopyBufferToTexture(ImageCopyBuffer const * source, ImageCopyTexture const * destination, Extent3D const * copySize) const { … }
void CommandEncoder::CopyTextureToBuffer(ImageCopyTexture const * source, ImageCopyBuffer const * destination, Extent3D const * copySize) const { … }
void CommandEncoder::CopyTextureToTexture(ImageCopyTexture const * source, ImageCopyTexture const * destination, Extent3D const * copySize) const { … }
CommandBuffer CommandEncoder::Finish(CommandBufferDescriptor const * descriptor) const { … }
void CommandEncoder::InjectValidationError(char const * message) const { … }
void CommandEncoder::InjectValidationError(StringView message) const { … }
void CommandEncoder::InsertDebugMarker(char const * markerLabel) const { … }
void CommandEncoder::InsertDebugMarker(StringView markerLabel) const { … }
void CommandEncoder::PopDebugGroup() const { … }
void CommandEncoder::PushDebugGroup(char const * groupLabel) const { … }
void CommandEncoder::PushDebugGroup(StringView groupLabel) const { … }
void CommandEncoder::ResolveQuerySet(QuerySet const& querySet, uint32_t firstQuery, uint32_t queryCount, Buffer const& destination, uint64_t destinationOffset) const { … }
void CommandEncoder::SetLabel(char const * label) const { … }
void CommandEncoder::SetLabel(NullableStringView label) const { … }
void CommandEncoder::WriteBuffer(Buffer const& buffer, uint64_t bufferOffset, uint8_t const * data, uint64_t size) const { … }
void CommandEncoder::WriteTimestamp(QuerySet const& querySet, uint32_t queryIndex) const { … }
void CommandEncoder::WGPUAddRef(WGPUCommandEncoder handle) { … }
void CommandEncoder::WGPURelease(WGPUCommandEncoder handle) { … }
static_assert …;
static_assert …;
void ComputePassEncoder::DispatchWorkgroups(uint32_t workgroupCountX, uint32_t workgroupCountY, uint32_t workgroupCountZ) const { … }
void ComputePassEncoder::DispatchWorkgroupsIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset) const { … }
void ComputePassEncoder::End() const { … }
void ComputePassEncoder::InsertDebugMarker(char const * markerLabel) const { … }
void ComputePassEncoder::InsertDebugMarker(StringView markerLabel) const { … }
void ComputePassEncoder::PopDebugGroup() const { … }
void ComputePassEncoder::PushDebugGroup(char const * groupLabel) const { … }
void ComputePassEncoder::PushDebugGroup(StringView groupLabel) const { … }
void ComputePassEncoder::SetBindGroup(uint32_t groupIndex, BindGroup const& group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) const { … }
void ComputePassEncoder::SetLabel(char const * label) const { … }
void ComputePassEncoder::SetLabel(NullableStringView label) const { … }
void ComputePassEncoder::SetPipeline(ComputePipeline const& pipeline) const { … }
void ComputePassEncoder::WriteTimestamp(QuerySet const& querySet, uint32_t queryIndex) const { … }
void ComputePassEncoder::WGPUAddRef(WGPUComputePassEncoder handle) { … }
void ComputePassEncoder::WGPURelease(WGPUComputePassEncoder handle) { … }
static_assert …;
static_assert …;
BindGroupLayout ComputePipeline::GetBindGroupLayout(uint32_t groupIndex) const { … }
void ComputePipeline::SetLabel(char const * label) const { … }
void ComputePipeline::SetLabel(NullableStringView label) const { … }
void ComputePipeline::WGPUAddRef(WGPUComputePipeline handle) { … }
void ComputePipeline::WGPURelease(WGPUComputePipeline handle) { … }
static_assert …;
static_assert …;
BindGroup Device::CreateBindGroup(BindGroupDescriptor const * descriptor) const { … }
BindGroupLayout Device::CreateBindGroupLayout(BindGroupLayoutDescriptor const * descriptor) const { … }
Buffer Device::CreateBuffer(BufferDescriptor const * descriptor) const { … }
CommandEncoder Device::CreateCommandEncoder(CommandEncoderDescriptor const * descriptor) const { … }
ComputePipeline Device::CreateComputePipeline(ComputePipelineDescriptor const * descriptor) const { … }
void Device::CreateComputePipelineAsync(ComputePipelineDescriptor const * descriptor, CreateComputePipelineAsyncCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Device::CreateComputePipelineAsync(ComputePipelineDescriptor const * descriptor, CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Device::CreateComputePipelineAsync(ComputePipelineDescriptor const * descriptor, CallbackMode callbackMode, L callback) const { … }
Future Device::CreateComputePipelineAsync(ComputePipelineDescriptor const * descriptor, CreateComputePipelineAsyncCallbackInfo callbackInfo) const { … }
Buffer Device::CreateErrorBuffer(BufferDescriptor const * descriptor) const { … }
ExternalTexture Device::CreateErrorExternalTexture() const { … }
ShaderModule Device::CreateErrorShaderModule(ShaderModuleDescriptor const * descriptor, char const * errorMessage) const { … }
ShaderModule Device::CreateErrorShaderModule(ShaderModuleDescriptor const * descriptor, StringView errorMessage) const { … }
Texture Device::CreateErrorTexture(TextureDescriptor const * descriptor) const { … }
ExternalTexture Device::CreateExternalTexture(ExternalTextureDescriptor const * externalTextureDescriptor) const { … }
PipelineLayout Device::CreatePipelineLayout(PipelineLayoutDescriptor const * descriptor) const { … }
QuerySet Device::CreateQuerySet(QuerySetDescriptor const * descriptor) const { … }
RenderBundleEncoder Device::CreateRenderBundleEncoder(RenderBundleEncoderDescriptor const * descriptor) const { … }
RenderPipeline Device::CreateRenderPipeline(RenderPipelineDescriptor const * descriptor) const { … }
void Device::CreateRenderPipelineAsync(RenderPipelineDescriptor const * descriptor, CreateRenderPipelineAsyncCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Device::CreateRenderPipelineAsync(RenderPipelineDescriptor const * descriptor, CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Device::CreateRenderPipelineAsync(RenderPipelineDescriptor const * descriptor, CallbackMode callbackMode, L callback) const { … }
Future Device::CreateRenderPipelineAsync(RenderPipelineDescriptor const * descriptor, CreateRenderPipelineAsyncCallbackInfo callbackInfo) const { … }
Sampler Device::CreateSampler(SamplerDescriptor const * descriptor) const { … }
ShaderModule Device::CreateShaderModule(ShaderModuleDescriptor const * descriptor) const { … }
SwapChain Device::CreateSwapChain(Surface const& surface, SwapChainDescriptor const * descriptor) const { … }
Texture Device::CreateTexture(TextureDescriptor const * descriptor) const { … }
void Device::Destroy() const { … }
size_t Device::EnumerateFeatures(FeatureName * features) const { … }
void Device::ForceLoss(DeviceLostReason type, char const * message) const { … }
void Device::ForceLoss(DeviceLostReason type, StringView message) const { … }
ConvertibleStatus Device::GetAHardwareBufferProperties(void * handle, AHardwareBufferProperties * properties) const { … }
Adapter Device::GetAdapter() const { … }
ConvertibleStatus Device::GetLimits(SupportedLimits * limits) const { … }
Queue Device::GetQueue() const { … }
TextureUsage Device::GetSupportedSurfaceUsage(Surface const& surface) const { … }
Bool Device::HasFeature(FeatureName feature) const { … }
SharedBufferMemory Device::ImportSharedBufferMemory(SharedBufferMemoryDescriptor const * descriptor) const { … }
SharedFence Device::ImportSharedFence(SharedFenceDescriptor const * descriptor) const { … }
SharedTextureMemory Device::ImportSharedTextureMemory(SharedTextureMemoryDescriptor const * descriptor) const { … }
void Device::InjectError(ErrorType type, char const * message) const { … }
void Device::InjectError(ErrorType type, StringView message) const { … }
void Device::PopErrorScope(ErrorCallback oldCallback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Device::PopErrorScope(CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Device::PopErrorScope(CallbackMode callbackMode, L callback) const { … }
Future Device::PopErrorScope(PopErrorScopeCallbackInfo callbackInfo) const { … }
void Device::PushErrorScope(ErrorFilter filter) const { … }
void Device::SetDeviceLostCallback(DeviceLostCallback callback, void * userdata) const { … }
void Device::SetLabel(char const * label) const { … }
void Device::SetLabel(NullableStringView label) const { … }
void Device::SetLoggingCallback(LoggingCallback callback, void * userdata) const { … }
void Device::SetUncapturedErrorCallback(ErrorCallback callback, void * userdata) const { … }
void Device::Tick() const { … }
void Device::ValidateTextureDescriptor(TextureDescriptor const * descriptor) const { … }
void Device::WGPUAddRef(WGPUDevice handle) { … }
void Device::WGPURelease(WGPUDevice handle) { … }
static_assert …;
static_assert …;
void ExternalTexture::Destroy() const { … }
void ExternalTexture::Expire() const { … }
void ExternalTexture::Refresh() const { … }
void ExternalTexture::SetLabel(char const * label) const { … }
void ExternalTexture::SetLabel(NullableStringView label) const { … }
void ExternalTexture::WGPUAddRef(WGPUExternalTexture handle) { … }
void ExternalTexture::WGPURelease(WGPUExternalTexture handle) { … }
static_assert …;
static_assert …;
Surface Instance::CreateSurface(SurfaceDescriptor const * descriptor) const { … }
size_t Instance::EnumerateWGSLLanguageFeatures(WGSLFeatureName * features) const { … }
Bool Instance::HasWGSLLanguageFeature(WGSLFeatureName feature) const { … }
void Instance::ProcessEvents() const { … }
void Instance::RequestAdapter(RequestAdapterOptions const * options, RequestAdapterCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Instance::RequestAdapter(RequestAdapterOptions const * options, CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Instance::RequestAdapter(RequestAdapterOptions const * options, CallbackMode callbackMode, L callback) const { … }
Future Instance::RequestAdapter(RequestAdapterOptions const * options, RequestAdapterCallbackInfo callbackInfo) const { … }
WaitStatus Instance::WaitAny(size_t futureCount, FutureWaitInfo * futures, uint64_t timeoutNS) const { … }
WaitStatus Instance::WaitAny(Future f, uint64_t timeout) { … }
void Instance::WGPUAddRef(WGPUInstance handle) { … }
void Instance::WGPURelease(WGPUInstance handle) { … }
static_assert …;
static_assert …;
void PipelineLayout::SetLabel(char const * label) const { … }
void PipelineLayout::SetLabel(NullableStringView label) const { … }
void PipelineLayout::WGPUAddRef(WGPUPipelineLayout handle) { … }
void PipelineLayout::WGPURelease(WGPUPipelineLayout handle) { … }
static_assert …;
static_assert …;
void QuerySet::Destroy() const { … }
uint32_t QuerySet::GetCount() const { … }
QueryType QuerySet::GetType() const { … }
void QuerySet::SetLabel(char const * label) const { … }
void QuerySet::SetLabel(NullableStringView label) const { … }
void QuerySet::WGPUAddRef(WGPUQuerySet handle) { … }
void QuerySet::WGPURelease(WGPUQuerySet handle) { … }
static_assert …;
static_assert …;
void Queue::CopyExternalTextureForBrowser(ImageCopyExternalTexture const * source, ImageCopyTexture const * destination, Extent3D const * copySize, CopyTextureForBrowserOptions const * options) const { … }
void Queue::CopyTextureForBrowser(ImageCopyTexture const * source, ImageCopyTexture const * destination, Extent3D const * copySize, CopyTextureForBrowserOptions const * options) const { … }
void Queue::OnSubmittedWorkDone(QueueWorkDoneCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future Queue::OnSubmittedWorkDone(CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future Queue::OnSubmittedWorkDone(CallbackMode callbackMode, L callback) const { … }
Future Queue::OnSubmittedWorkDone(QueueWorkDoneCallbackInfo callbackInfo) const { … }
void Queue::SetLabel(char const * label) const { … }
void Queue::SetLabel(NullableStringView label) const { … }
void Queue::Submit(size_t commandCount, CommandBuffer const * commands) const { … }
void Queue::WriteBuffer(Buffer const& buffer, uint64_t bufferOffset, void const * data, size_t size) const { … }
void Queue::WriteTexture(ImageCopyTexture const * destination, void const * data, size_t dataSize, TextureDataLayout const * dataLayout, Extent3D const * writeSize) const { … }
void Queue::WGPUAddRef(WGPUQueue handle) { … }
void Queue::WGPURelease(WGPUQueue handle) { … }
static_assert …;
static_assert …;
void RenderBundle::SetLabel(char const * label) const { … }
void RenderBundle::SetLabel(NullableStringView label) const { … }
void RenderBundle::WGPUAddRef(WGPURenderBundle handle) { … }
void RenderBundle::WGPURelease(WGPURenderBundle handle) { … }
static_assert …;
static_assert …;
void RenderBundleEncoder::Draw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) const { … }
void RenderBundleEncoder::DrawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) const { … }
void RenderBundleEncoder::DrawIndexedIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset) const { … }
void RenderBundleEncoder::DrawIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset) const { … }
RenderBundle RenderBundleEncoder::Finish(RenderBundleDescriptor const * descriptor) const { … }
void RenderBundleEncoder::InsertDebugMarker(char const * markerLabel) const { … }
void RenderBundleEncoder::InsertDebugMarker(StringView markerLabel) const { … }
void RenderBundleEncoder::PopDebugGroup() const { … }
void RenderBundleEncoder::PushDebugGroup(char const * groupLabel) const { … }
void RenderBundleEncoder::PushDebugGroup(StringView groupLabel) const { … }
void RenderBundleEncoder::SetBindGroup(uint32_t groupIndex, BindGroup const& group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) const { … }
void RenderBundleEncoder::SetIndexBuffer(Buffer const& buffer, IndexFormat format, uint64_t offset, uint64_t size) const { … }
void RenderBundleEncoder::SetLabel(char const * label) const { … }
void RenderBundleEncoder::SetLabel(NullableStringView label) const { … }
void RenderBundleEncoder::SetPipeline(RenderPipeline const& pipeline) const { … }
void RenderBundleEncoder::SetVertexBuffer(uint32_t slot, Buffer const& buffer, uint64_t offset, uint64_t size) const { … }
void RenderBundleEncoder::WGPUAddRef(WGPURenderBundleEncoder handle) { … }
void RenderBundleEncoder::WGPURelease(WGPURenderBundleEncoder handle) { … }
static_assert …;
static_assert …;
void RenderPassEncoder::BeginOcclusionQuery(uint32_t queryIndex) const { … }
void RenderPassEncoder::Draw(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) const { … }
void RenderPassEncoder::DrawIndexed(uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t baseVertex, uint32_t firstInstance) const { … }
void RenderPassEncoder::DrawIndexedIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset) const { … }
void RenderPassEncoder::DrawIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset) const { … }
void RenderPassEncoder::End() const { … }
void RenderPassEncoder::EndOcclusionQuery() const { … }
void RenderPassEncoder::ExecuteBundles(size_t bundleCount, RenderBundle const * bundles) const { … }
void RenderPassEncoder::InsertDebugMarker(char const * markerLabel) const { … }
void RenderPassEncoder::InsertDebugMarker(StringView markerLabel) const { … }
void RenderPassEncoder::MultiDrawIndexedIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset, uint32_t maxDrawCount, Buffer const& drawCountBuffer, uint64_t drawCountBufferOffset) const { … }
void RenderPassEncoder::MultiDrawIndirect(Buffer const& indirectBuffer, uint64_t indirectOffset, uint32_t maxDrawCount, Buffer const& drawCountBuffer, uint64_t drawCountBufferOffset) const { … }
void RenderPassEncoder::PixelLocalStorageBarrier() const { … }
void RenderPassEncoder::PopDebugGroup() const { … }
void RenderPassEncoder::PushDebugGroup(char const * groupLabel) const { … }
void RenderPassEncoder::PushDebugGroup(StringView groupLabel) const { … }
void RenderPassEncoder::SetBindGroup(uint32_t groupIndex, BindGroup const& group, size_t dynamicOffsetCount, uint32_t const * dynamicOffsets) const { … }
void RenderPassEncoder::SetBlendConstant(Color const * color) const { … }
void RenderPassEncoder::SetIndexBuffer(Buffer const& buffer, IndexFormat format, uint64_t offset, uint64_t size) const { … }
void RenderPassEncoder::SetLabel(char const * label) const { … }
void RenderPassEncoder::SetLabel(NullableStringView label) const { … }
void RenderPassEncoder::SetPipeline(RenderPipeline const& pipeline) const { … }
void RenderPassEncoder::SetScissorRect(uint32_t x, uint32_t y, uint32_t width, uint32_t height) const { … }
void RenderPassEncoder::SetStencilReference(uint32_t reference) const { … }
void RenderPassEncoder::SetVertexBuffer(uint32_t slot, Buffer const& buffer, uint64_t offset, uint64_t size) const { … }
void RenderPassEncoder::SetViewport(float x, float y, float width, float height, float minDepth, float maxDepth) const { … }
void RenderPassEncoder::WriteTimestamp(QuerySet const& querySet, uint32_t queryIndex) const { … }
void RenderPassEncoder::WGPUAddRef(WGPURenderPassEncoder handle) { … }
void RenderPassEncoder::WGPURelease(WGPURenderPassEncoder handle) { … }
static_assert …;
static_assert …;
BindGroupLayout RenderPipeline::GetBindGroupLayout(uint32_t groupIndex) const { … }
void RenderPipeline::SetLabel(char const * label) const { … }
void RenderPipeline::SetLabel(NullableStringView label) const { … }
void RenderPipeline::WGPUAddRef(WGPURenderPipeline handle) { … }
void RenderPipeline::WGPURelease(WGPURenderPipeline handle) { … }
static_assert …;
static_assert …;
void Sampler::SetLabel(char const * label) const { … }
void Sampler::SetLabel(NullableStringView label) const { … }
void Sampler::WGPUAddRef(WGPUSampler handle) { … }
void Sampler::WGPURelease(WGPUSampler handle) { … }
static_assert …;
static_assert …;
void ShaderModule::GetCompilationInfo(CompilationInfoCallback callback, void * userdata) const { … }
template <typename F, typename T,
typename Cb,
typename>
Future ShaderModule::GetCompilationInfo(CallbackMode callbackMode, F callback, T userdata) const { … }
template <typename L,
typename Cb,
typename>
Future ShaderModule::GetCompilationInfo(CallbackMode callbackMode, L callback) const { … }
Future ShaderModule::GetCompilationInfo(CompilationInfoCallbackInfo callbackInfo) const { … }
void ShaderModule::SetLabel(char const * label) const { … }
void ShaderModule::SetLabel(NullableStringView label) const { … }
void ShaderModule::WGPUAddRef(WGPUShaderModule handle) { … }
void ShaderModule::WGPURelease(WGPUShaderModule handle) { … }
static_assert …;
static_assert …;
ConvertibleStatus SharedBufferMemory::BeginAccess(Buffer const& buffer, SharedBufferMemoryBeginAccessDescriptor const * descriptor) const { … }
Buffer SharedBufferMemory::CreateBuffer(BufferDescriptor const * descriptor) const { … }
ConvertibleStatus SharedBufferMemory::EndAccess(Buffer const& buffer, SharedBufferMemoryEndAccessState * descriptor) const { … }
ConvertibleStatus SharedBufferMemory::GetProperties(SharedBufferMemoryProperties * properties) const { … }
Bool SharedBufferMemory::IsDeviceLost() const { … }
void SharedBufferMemory::SetLabel(char const * label) const { … }
void SharedBufferMemory::SetLabel(NullableStringView label) const { … }
void SharedBufferMemory::WGPUAddRef(WGPUSharedBufferMemory handle) { … }
void SharedBufferMemory::WGPURelease(WGPUSharedBufferMemory handle) { … }
static_assert …;
static_assert …;
void SharedFence::ExportInfo(SharedFenceExportInfo * info) const { … }
void SharedFence::WGPUAddRef(WGPUSharedFence handle) { … }
void SharedFence::WGPURelease(WGPUSharedFence handle) { … }
static_assert …;
static_assert …;
ConvertibleStatus SharedTextureMemory::BeginAccess(Texture const& texture, SharedTextureMemoryBeginAccessDescriptor const * descriptor) const { … }
Texture SharedTextureMemory::CreateTexture(TextureDescriptor const * descriptor) const { … }
ConvertibleStatus SharedTextureMemory::EndAccess(Texture const& texture, SharedTextureMemoryEndAccessState * descriptor) const { … }
ConvertibleStatus SharedTextureMemory::GetProperties(SharedTextureMemoryProperties * properties) const { … }
Bool SharedTextureMemory::IsDeviceLost() const { … }
void SharedTextureMemory::SetLabel(char const * label) const { … }
void SharedTextureMemory::SetLabel(NullableStringView label) const { … }
void SharedTextureMemory::WGPUAddRef(WGPUSharedTextureMemory handle) { … }
void SharedTextureMemory::WGPURelease(WGPUSharedTextureMemory handle) { … }
static_assert …;
static_assert …;
void Surface::Configure(SurfaceConfiguration const * config) const { … }
ConvertibleStatus Surface::GetCapabilities(Adapter const& adapter, SurfaceCapabilities * capabilities) const { … }
void Surface::GetCurrentTexture(SurfaceTexture * surfaceTexture) const { … }
TextureFormat Surface::GetPreferredFormat(Adapter const& adapter) const { … }
void Surface::Present() const { … }
void Surface::SetLabel(char const * label) const { … }
void Surface::SetLabel(NullableStringView label) const { … }
void Surface::Unconfigure() const { … }
void Surface::WGPUAddRef(WGPUSurface handle) { … }
void Surface::WGPURelease(WGPUSurface handle) { … }
static_assert …;
static_assert …;
Texture SwapChain::GetCurrentTexture() const { … }
TextureView SwapChain::GetCurrentTextureView() const { … }
void SwapChain::Present() const { … }
void SwapChain::WGPUAddRef(WGPUSwapChain handle) { … }
void SwapChain::WGPURelease(WGPUSwapChain handle) { … }
static_assert …;
static_assert …;
TextureView Texture::CreateErrorView(TextureViewDescriptor const * descriptor) const { … }
TextureView Texture::CreateView(TextureViewDescriptor const * descriptor) const { … }
void Texture::Destroy() const { … }
uint32_t Texture::GetDepthOrArrayLayers() const { … }
TextureDimension Texture::GetDimension() const { … }
TextureFormat Texture::GetFormat() const { … }
uint32_t Texture::GetHeight() const { … }
uint32_t Texture::GetMipLevelCount() const { … }
uint32_t Texture::GetSampleCount() const { … }
TextureUsage Texture::GetUsage() const { … }
uint32_t Texture::GetWidth() const { … }
void Texture::SetLabel(char const * label) const { … }
void Texture::SetLabel(NullableStringView label) const { … }
void Texture::WGPUAddRef(WGPUTexture handle) { … }
void Texture::WGPURelease(WGPUTexture handle) { … }
static_assert …;
static_assert …;
void TextureView::SetLabel(char const * label) const { … }
void TextureView::SetLabel(NullableStringView label) const { … }
void TextureView::WGPUAddRef(WGPUTextureView handle) { … }
void TextureView::WGPURelease(WGPUTextureView handle) { … }
static_assert …;
static_assert …;
static inline Instance CreateInstance(InstanceDescriptor const * descriptor = nullptr) { … }
static inline Status GetInstanceFeatures(InstanceFeatures * features) { … }
static inline Proc GetProcAddress(Device device, char const * procName) { … }
static inline Proc GetProcAddress(Device device, StringView procName) { … }
}
namespace wgpu {
template<>
struct IsWGPUBitmask<wgpu::BufferUsage> { … };
template<>
struct IsWGPUBitmask<wgpu::ColorWriteMask> { … };
template<>
struct IsWGPUBitmask<wgpu::HeapProperty> { … };
template<>
struct IsWGPUBitmask<wgpu::MapMode> { … };
template<>
struct IsWGPUBitmask<wgpu::ShaderStage> { … };
template<>
struct IsWGPUBitmask<wgpu::TextureUsage> { … };
}
namespace std {
template <>
struct hash<wgpu::Bool> { … };
template <>
struct hash<wgpu::OptionalBool> { … };
}
#endif