Copy as Markdown

Other Tools

/* THIS FILE IS AUTOGENERATED FROM WebGPU.webidl BY Codegen.py - DO NOT EDIT */
#ifndef DOM_WEBGPUBINDINGFWD_H_
#define DOM_WEBGPUBINDINGFWD_H_
namespace mozilla {
namespace dom {
class GPUSamplerOrGPUTextureViewOrGPUBufferBinding;
class OwningGPUSamplerOrGPUTextureViewOrGPUBufferBinding;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUBindingResource = GPUSamplerOrGPUTextureViewOrGPUBufferBinding;
using OwningGPUBindingResource = OwningGPUSamplerOrGPUTextureViewOrGPUBufferBinding;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
class ImageBitmapOrHTMLImageElementOrHTMLCanvasElementOrOffscreenCanvas;
class OwningImageBitmapOrHTMLImageElementOrHTMLCanvasElementOrOffscreenCanvas;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUCopyExternalImageSource = ImageBitmapOrHTMLImageElementOrHTMLCanvasElementOrOffscreenCanvas;
using OwningGPUCopyExternalImageSource = OwningImageBitmapOrHTMLImageElementOrHTMLCanvasElementOrOffscreenCanvas;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
class DoubleSequenceOrGPUColorDict;
class OwningDoubleSequenceOrGPUColorDict;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUColor = DoubleSequenceOrGPUColorDict;
using OwningGPUColor = OwningDoubleSequenceOrGPUColorDict;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
class OwningRangeEnforcedUnsignedLongSequenceOrGPUOrigin2DDict;
class RangeEnforcedUnsignedLongSequenceOrGPUOrigin2DDict;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUOrigin2D = RangeEnforcedUnsignedLongSequenceOrGPUOrigin2DDict;
using OwningGPUOrigin2D = OwningRangeEnforcedUnsignedLongSequenceOrGPUOrigin2DDict;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
class OwningRangeEnforcedUnsignedLongSequenceOrGPUOrigin3DDict;
class RangeEnforcedUnsignedLongSequenceOrGPUOrigin3DDict;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUOrigin3D = RangeEnforcedUnsignedLongSequenceOrGPUOrigin3DDict;
using OwningGPUOrigin3D = OwningRangeEnforcedUnsignedLongSequenceOrGPUOrigin3DDict;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
class OwningRangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict;
class RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict;
} // namespace dom
} // namespace mozilla
namespace mozilla::dom {
using GPUExtent3D = RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict;
using OwningGPUExtent3D = OwningRangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict;
} // namespace mozilla::dom
namespace mozilla {
namespace dom {
struct GPUBlendComponent;
struct GPUBufferBinding;
struct GPUBufferBindingLayout;
struct GPUCanvasConfiguration;
struct GPUColorDict;
struct GPUComputePassTimestampWrites;
struct GPUExtent3DDict;
struct GPUMultisampleState;
struct GPUObjectDescriptorBase;
struct GPUOrigin2DDict;
struct GPUOrigin3DDict;
struct GPUPipelineErrorInit;
struct GPUPrimitiveState;
struct GPUProgrammableStage;
struct GPURenderPassDepthStencilAttachment;
struct GPURenderPassTimestampWrites;
struct GPURequestAdapterOptions;
struct GPUSamplerBindingLayout;
struct GPUStencilFaceState;
struct GPUStorageTextureBindingLayout;
struct GPUTexelCopyBufferLayout;
struct GPUTextureBindingLayout;
struct GPUVertexAttribute;
struct GPUBindGroupLayoutEntry;
struct GPUBlendState;
struct GPUBufferDescriptor;
struct GPUCommandBufferDescriptor;
struct GPUCommandEncoderDescriptor;
struct GPUComputePassDescriptor;
struct GPUDepthStencilState;
struct GPUPipelineDescriptorBase;
struct GPUPipelineLayoutDescriptor;
struct GPUQuerySetDescriptor;
struct GPUQueueDescriptor;
struct GPURenderBundleDescriptor;
struct GPURenderPassLayout;
struct GPUSamplerDescriptor;
struct GPUShaderModuleCompilationHint;
struct GPUTexelCopyBufferInfo;
struct GPUTextureViewDescriptor;
struct GPUVertexBufferLayout;
struct GPUBindGroupEntry;
struct GPUBindGroupLayoutDescriptor;
struct GPUColorTargetState;
struct GPUComputePipelineDescriptor;
struct GPUCopyExternalImageSourceInfo;
struct GPUDeviceDescriptor;
struct GPURenderBundleEncoderDescriptor;
struct GPURenderPassColorAttachment;
struct GPUShaderModuleDescriptor;
struct GPUTexelCopyTextureInfo;
struct GPUTextureDescriptor;
struct GPUVertexState;
struct GPUBindGroupDescriptor;
struct GPUCopyExternalImageDestInfo;
struct GPUFragmentState;
struct GPURenderPassDescriptor;
struct GPURenderPipelineDescriptor;
class GPU;
class GPUAdapter;
class GPUAdapterInfo;
class GPUBindGroup;
class GPUBindGroupLayout;
class GPUBuffer;
class GPUBufferUsage;
class GPUCanvasContext;
class GPUColorWrite;
class GPUCommandBuffer;
class GPUCommandEncoder;
class GPUCompilationInfo;
class GPUCompilationMessage;
class GPUComputePassEncoder;
class GPUComputePipeline;
class GPUDevice;
class GPUDeviceLostInfo;
class GPUError;
class GPUExternalTexture;
class GPUInternalError;
class GPUMapMode;
class GPUOutOfMemoryError;
class GPUPipelineError;
class GPUPipelineLayout;
class GPUQuerySet;
class GPUQueue;
class GPURenderBundle;
class GPURenderBundleEncoder;
class GPURenderPassEncoder;
class GPURenderPipeline;
class GPUSampler;
class GPUShaderModule;
class GPUShaderStage;
class GPUSupportedFeatures;
class GPUSupportedLimits;
class GPUTexture;
class GPUTextureUsage;
class GPUTextureView;
class GPUValidationError;
class WGSLLanguageFeatures;
} // namespace dom
} // namespace mozilla
#endif // DOM_WEBGPUBINDINGFWD_H_