The GPU interface of the WebGPU API is the starting point for using
WebGPU. It can be used to return a GPUAdapter from which you can request
devices, configure features and limits, and more.
The GPUBindGroup interface of the WebGPU API is based on a
GPUBindGroupLayout and defines a set of resources to be bound together in
a group and how those resources are used in shader stages.
The GPUBindGroupLayout interface of the WebGPU API defines the
structure and purpose of related GPU resources such as buffers that will be
used in a pipeline, and is used as a template when creating GPUBindGroups.
The GPUCanvasContext interface of the WebGPU API represents the
WebGPU rendering context of a canvas element, returned via an
HTMLCanvasElement.getContext call with a contextType of "webgpu".
The GPUCompilationInfo interface of the WebGPU API represents an
array of GPUCompilationMessage objects generated by the GPU shader module
compiler to help diagnose problems with shader code.
The GPUCompilationMessage interface of the WebGPU API represents a
single informational, warning, or error message generated by the GPU shader
module compiler.
The GPUComputePassEncoder interface of the WebGPU API encodes
commands related to controlling the compute shader stage, as issued by a
GPUComputePipeline. It forms part of the overall encoding activity of a
GPUCommandEncoder.
The GPUComputePipeline interface of the WebGPU API represents a
pipeline that controls the compute shader stage and can be used in a
GPUComputePassEncoder.
The GPUDevice interface of the WebGPU API represents a logical GPU
device. This is the main interface through which the majority of WebGPU
functionality is accessed.
The GPUDeviceLostInfo interface of the WebGPU API represents the
object returned when the GPUDevice.lostPromise resolves. This provides
information as to why a device has been lost.
The GPUError interface of the WebGPU API is the base interface for
errors surfaced by GPUDevice.popErrorScope and the
GPUDevice.uncapturederror_event event.
The GPUExternalTexture interface of the WebGPU API represents a
wrapper object containing an HTMLVideoElement snapshot that can be used as
a texture in GPU rendering operations.
The GPUInternalError interface of the WebGPU API describes an
application error indicating that an operation did not pass the WebGPU API's
validation constraints.
The GPUOutOfMemoryError interface of the WebGPU API describes an
out-of-memory (oom) error indicating that there was not enough free memory
to complete the requested operation.
The GPUPipelineLayout interface of the WebGPU API defines the
GPUBindGroupLayouts used by a pipeline. GPUBindGroups used with the
pipeline during command encoding must have compatible GPUBindGroupLayouts.
The GPURenderPassEncoder interface of the WebGPU API encodes
commands related to controlling the vertex and fragment shader stages, as
issued by a GPURenderPipeline. It forms part of the overall encoding
activity of a GPUCommandEncoder.
The GPURenderPipeline interface of the WebGPU API represents a
pipeline that controls the vertex and fragment shader stages and can be used
in a GPURenderPassEncoder or GPURenderBundleEncoder.
The GPUShaderModule interface of the WebGPU API represents an
internal shader module object, a container for
WGSL shader code that can be
submitted to the GPU for execution by a pipeline.
The GPUTexture interface of the WebGPU API represents a container
used to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU
rendering operations.
The GPUUncapturedErrorEvent interface of the WebGPU API is the event
object type for the GPUDeviceGPUDevice.uncapturederror_event event,
used for telemetry and to report unexpected errors.
The GPUValidationError interface of the WebGPU API describes an
application error indicating that an operation did not pass the WebGPU API's
validation constraints.
The WGSLLanguageFeatures interface of the WebGPU API is a
setlike
object that reports the
WGSL language extensions
supported by the WebGPU implementation.