diff --git a/files/en-us/web/api/gpucanvascontext/canvas/index.md b/files/en-us/web/api/gpucanvascontext/canvas/index.md index 11636b6abc6bb50..3eb224cd97add02 100644 --- a/files/en-us/web/api/gpucanvascontext/canvas/index.md +++ b/files/en-us/web/api/gpucanvascontext/canvas/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUCanvasContext.canvas --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`canvas`** read-only property of the {{domxref("GPUCanvasContext")}} interface returns a reference to the canvas that the context was created from. diff --git a/files/en-us/web/api/gpucanvascontext/configure/index.md b/files/en-us/web/api/gpucanvascontext/configure/index.md index 01cf6c6c0d2dad2..7429667cd423862 100644 --- a/files/en-us/web/api/gpucanvascontext/configure/index.md +++ b/files/en-us/web/api/gpucanvascontext/configure/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUCanvasContext.configure --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`configure()`** method of the {{domxref("GPUCanvasContext")}} interface configures the context to use for rendering with a given {{domxref("GPUDevice")}}. When called the canvas will initially be cleared to transparent black. diff --git a/files/en-us/web/api/gpucanvascontext/getcurrenttexture/index.md b/files/en-us/web/api/gpucanvascontext/getcurrenttexture/index.md index bdb34b59be052f0..2e9f2437dd0a5f8 100644 --- a/files/en-us/web/api/gpucanvascontext/getcurrenttexture/index.md +++ b/files/en-us/web/api/gpucanvascontext/getcurrenttexture/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUCanvasContext.getCurrentTexture --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`getCurrentTexture()`** method of the {{domxref("GPUCanvasContext")}} interface returns the next {{domxref("GPUTexture")}} to be composited to the document by the canvas context. diff --git a/files/en-us/web/api/gpucanvascontext/index.md b/files/en-us/web/api/gpucanvascontext/index.md index d63715dbc2ac6d0..0ba63e912ab0ada 100644 --- a/files/en-us/web/api/gpucanvascontext/index.md +++ b/files/en-us/web/api/gpucanvascontext/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUCanvasContext --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUCanvasContext`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents the WebGPU rendering context of a {{htmlelement("canvas")}} element, returned via an {{domxref("HTMLCanvasElement.getContext()")}} call with a `contextType` of `"webgpu"`. diff --git a/files/en-us/web/api/gpucanvascontext/unconfigure/index.md b/files/en-us/web/api/gpucanvascontext/unconfigure/index.md index 675965ac0e11d6a..8c0b9a8e8e74029 100644 --- a/files/en-us/web/api/gpucanvascontext/unconfigure/index.md +++ b/files/en-us/web/api/gpucanvascontext/unconfigure/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUCanvasContext.unconfigure --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`unconfigure()`** method of the {{domxref("GPUCanvasContext")}} interface removes any previously-set context configuration, and destroys any textures returned via {{domxref("GPUCanvasContext.getCurrentTexture", "getCurrentTexture()")}} while the canvas context was configured. diff --git a/files/en-us/web/api/gpudevicelostinfo/index.md b/files/en-us/web/api/gpudevicelostinfo/index.md index a8616bd18275e47..8af221dd5a4e397 100644 --- a/files/en-us/web/api/gpudevicelostinfo/index.md +++ b/files/en-us/web/api/gpudevicelostinfo/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUDeviceLostInfo --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUDeviceLostInfo`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents the object returned when the {{domxref("GPUDevice.lost")}} {{jsxref("Promise")}} resolves. This provides information as to why a device has been lost. diff --git a/files/en-us/web/api/gpudevicelostinfo/message/index.md b/files/en-us/web/api/gpudevicelostinfo/message/index.md index a1beda50999841e..baf04c29f69952e 100644 --- a/files/en-us/web/api/gpudevicelostinfo/message/index.md +++ b/files/en-us/web/api/gpudevicelostinfo/message/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUDeviceLostInfo.message --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`message`** read-only property of the {{domxref("GPUDeviceLostInfo")}} interface provides a human-readable message that explains why the device was lost. diff --git a/files/en-us/web/api/gpudevicelostinfo/reason/index.md b/files/en-us/web/api/gpudevicelostinfo/reason/index.md index ab1d5a2459fa0c2..3925a817e8c863f 100644 --- a/files/en-us/web/api/gpudevicelostinfo/reason/index.md +++ b/files/en-us/web/api/gpudevicelostinfo/reason/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUDeviceLostInfo.reason --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`reason`** read-only property of the {{domxref("GPUDeviceLostInfo")}} interface defines the reason the device was lost in a machine-readable way. diff --git a/files/en-us/web/api/gpuerror/index.md b/files/en-us/web/api/gpuerror/index.md index b497e875fe56960..3757ce8b86f2093 100644 --- a/files/en-us/web/api/gpuerror/index.md +++ b/files/en-us/web/api/gpuerror/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUError`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is the base interface for errors surfaced by {{domxref("GPUDevice.popErrorScope")}} and the {{domxref("GPUDevice.uncapturederror_event", "uncapturederror")}} event. diff --git a/files/en-us/web/api/gpuerror/message/index.md b/files/en-us/web/api/gpuerror/message/index.md index 3219735223c3b17..c64ea5edfb0fa6d 100644 --- a/files/en-us/web/api/gpuerror/message/index.md +++ b/files/en-us/web/api/gpuerror/message/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUError.message --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`message`** read-only property of the {{domxref("GPUError")}} interface provides a human-readable message that explains why the error occurred. diff --git a/files/en-us/web/api/gpuinternalerror/gpuinternalerror/index.md b/files/en-us/web/api/gpuinternalerror/gpuinternalerror/index.md index 3333bcd1c9bb161..2e8a1f2a85643f7 100644 --- a/files/en-us/web/api/gpuinternalerror/gpuinternalerror/index.md +++ b/files/en-us/web/api/gpuinternalerror/gpuinternalerror/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUInternalError.GPUInternalError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUInternalError()`** constructor creates a new {{domxref("GPUInternalError")}} object instance. diff --git a/files/en-us/web/api/gpuinternalerror/index.md b/files/en-us/web/api/gpuinternalerror/index.md index 212c8b59c6c2dfd..a2aca3a607d090b 100644 --- a/files/en-us/web/api/gpuinternalerror/index.md +++ b/files/en-us/web/api/gpuinternalerror/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUInternalError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUInternalError`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} describes an application error indicating that an operation failed for a system or implementation-specific reason, even when all validation requirements were satisfied. diff --git a/files/en-us/web/api/gpuoutofmemoryerror/gpuoutofmemoryerror/index.md b/files/en-us/web/api/gpuoutofmemoryerror/gpuoutofmemoryerror/index.md index 8f6ef7102d4e5a3..fb18dbc7b1c9a2e 100644 --- a/files/en-us/web/api/gpuoutofmemoryerror/gpuoutofmemoryerror/index.md +++ b/files/en-us/web/api/gpuoutofmemoryerror/gpuoutofmemoryerror/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUOutOfMemoryError.GPUOutOfMemoryError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUOutOfMemoryError()`** constructor creates a new {{domxref("GPUOutOfMemoryError")}} object instance. diff --git a/files/en-us/web/api/gpuoutofmemoryerror/index.md b/files/en-us/web/api/gpuoutofmemoryerror/index.md index 20a1723c6002e3d..e257d6bcdaa5c9d 100644 --- a/files/en-us/web/api/gpuoutofmemoryerror/index.md +++ b/files/en-us/web/api/gpuoutofmemoryerror/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUOutOfMemoryError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUOutOfMemoryError`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} describes an out-of-memory (oom) error indicating that there was not enough free memory to complete the requested operation. diff --git a/files/en-us/web/api/gpuqueryset/count/index.md b/files/en-us/web/api/gpuqueryset/count/index.md index a92466ec5ef02f7..87dc78a4607b4b8 100644 --- a/files/en-us/web/api/gpuqueryset/count/index.md +++ b/files/en-us/web/api/gpuqueryset/count/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQuerySet.count --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`count`** read-only property of the {{domxref("GPUQuerySet")}} interface is a number specifying the number of queries managed by the `GPUQuerySet`. diff --git a/files/en-us/web/api/gpuqueryset/destroy/index.md b/files/en-us/web/api/gpuqueryset/destroy/index.md index d28e098e195a01e..e3002e7e6825ad5 100644 --- a/files/en-us/web/api/gpuqueryset/destroy/index.md +++ b/files/en-us/web/api/gpuqueryset/destroy/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQuerySet.destroy --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`destroy()`** method of the {{domxref("GPUQuerySet")}} interface destroys the `GPUQuerySet`. diff --git a/files/en-us/web/api/gpuqueryset/index.md b/files/en-us/web/api/gpuqueryset/index.md index 34da4c2bd3415c1..0f47bd99ede2705 100644 --- a/files/en-us/web/api/gpuqueryset/index.md +++ b/files/en-us/web/api/gpuqueryset/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUQuerySet --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUQuerySet`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is used to record the results of queries on passes, such as occlusion or timestamp queries. diff --git a/files/en-us/web/api/gpuqueryset/label/index.md b/files/en-us/web/api/gpuqueryset/label/index.md index 858edc2c69eadc8..c0890461b52047d 100644 --- a/files/en-us/web/api/gpuqueryset/label/index.md +++ b/files/en-us/web/api/gpuqueryset/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQuerySet.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** property of the {{domxref("GPUQuerySet")}} interface is a string providing a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpuqueryset/type/index.md b/files/en-us/web/api/gpuqueryset/type/index.md index 5ebfbd142272997..801287c037fe835 100644 --- a/files/en-us/web/api/gpuqueryset/type/index.md +++ b/files/en-us/web/api/gpuqueryset/type/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQuerySet.type --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`type`** read-only property of the {{domxref("GPUQuerySet")}} interface is an enumerated value specifying the type of queries managed by the `GPUQuerySet`. diff --git a/files/en-us/web/api/gpuqueue/copyexternalimagetotexture/index.md b/files/en-us/web/api/gpuqueue/copyexternalimagetotexture/index.md index e06bfbea176a83b..23b907396ad075a 100644 --- a/files/en-us/web/api/gpuqueue/copyexternalimagetotexture/index.md +++ b/files/en-us/web/api/gpuqueue/copyexternalimagetotexture/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.copyExternalImageToTexture --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`copyExternalImageToTexture()`** method of the {{domxref("GPUQueue")}} interface copies a snapshot taken from a source image, video, or canvas into a given {{domxref("GPUTexture")}}. diff --git a/files/en-us/web/api/gpuqueue/index.md b/files/en-us/web/api/gpuqueue/index.md index 2687d862882e86c..2d1f2b2f8476d44 100644 --- a/files/en-us/web/api/gpuqueue/index.md +++ b/files/en-us/web/api/gpuqueue/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUQueue --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUQueue`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} controls execution of encoded commands on the GPU. diff --git a/files/en-us/web/api/gpuqueue/label/index.md b/files/en-us/web/api/gpuqueue/label/index.md index 7ff9e225a525e04..2bb050233f5fe7c 100644 --- a/files/en-us/web/api/gpuqueue/label/index.md +++ b/files/en-us/web/api/gpuqueue/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** read-only property of the {{domxref("GPUQueue")}} interface is a string providing a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpuqueue/onsubmittedworkdone/index.md b/files/en-us/web/api/gpuqueue/onsubmittedworkdone/index.md index bcaea21ea79f3b2..693335d243e468b 100644 --- a/files/en-us/web/api/gpuqueue/onsubmittedworkdone/index.md +++ b/files/en-us/web/api/gpuqueue/onsubmittedworkdone/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.onSubmittedWorkDone --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`onSubmittedWorkDone()`** method of the {{domxref("GPUQueue")}} interface returns a {{jsxref("Promise")}} that resolves when all the work submitted to the GPU via this `GPUQueue` at the point the method is called has been processed. diff --git a/files/en-us/web/api/gpuqueue/submit/index.md b/files/en-us/web/api/gpuqueue/submit/index.md index 97dd2e8bd98fbd8..e44d0948d4818db 100644 --- a/files/en-us/web/api/gpuqueue/submit/index.md +++ b/files/en-us/web/api/gpuqueue/submit/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.submit --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`submit()`** method of the {{domxref("GPUQueue")}} interface schedules the execution of command buffers represented by one or more {{domxref("GPUCommandBuffer")}} objects by the GPU. diff --git a/files/en-us/web/api/gpuqueue/writebuffer/index.md b/files/en-us/web/api/gpuqueue/writebuffer/index.md index 63f5cb928df8015..1dbed95c3f58a23 100644 --- a/files/en-us/web/api/gpuqueue/writebuffer/index.md +++ b/files/en-us/web/api/gpuqueue/writebuffer/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.writeBuffer --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`writeBuffer()`** method of the {{domxref("GPUQueue")}} interface writes a provided data source into a given {{domxref("GPUBuffer")}}. diff --git a/files/en-us/web/api/gpuqueue/writetexture/index.md b/files/en-us/web/api/gpuqueue/writetexture/index.md index 2effda1fb3f9a12..b788c8900c37c8b 100644 --- a/files/en-us/web/api/gpuqueue/writetexture/index.md +++ b/files/en-us/web/api/gpuqueue/writetexture/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUQueue.writeTexture --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`writeTexture()`** method of the {{domxref("GPUQueue")}} interface writes a provided data source into a given {{domxref("GPUTexture")}}. diff --git a/files/en-us/web/api/gpurenderbundle/index.md b/files/en-us/web/api/gpurenderbundle/index.md index 5902f79a69f3fcc..8c390093eec51ed 100644 --- a/files/en-us/web/api/gpurenderbundle/index.md +++ b/files/en-us/web/api/gpurenderbundle/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPURenderBundle --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPURenderBundle`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents a container for pre-recorded bundles of commands. diff --git a/files/en-us/web/api/gpurenderbundle/label/index.md b/files/en-us/web/api/gpurenderbundle/label/index.md index ef136c185938a3c..5f59ee1201bc13e 100644 --- a/files/en-us/web/api/gpurenderbundle/label/index.md +++ b/files/en-us/web/api/gpurenderbundle/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundle.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** read-only property of the {{domxref("GPURenderBundle")}} interface is a string providing a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpurenderbundleencoder/draw/index.md b/files/en-us/web/api/gpurenderbundleencoder/draw/index.md index 0b996c1e87b0cae..ef49175690a1b19 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/draw/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/draw/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.draw --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`draw()`** method of the {{domxref("GPURenderBundleEncoder")}} interface draws primitives based on the vertex buffers provided by {{domxref("GPURenderBundleEncoder.setVertexBuffer", "setVertexBuffer()")}}. diff --git a/files/en-us/web/api/gpurenderbundleencoder/drawindexed/index.md b/files/en-us/web/api/gpurenderbundleencoder/drawindexed/index.md index f3f2eeb45fef351..3dd4f02ec07f634 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/drawindexed/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/drawindexed/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.drawIndexed --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndexed()`** method of the {{domxref("GPURenderBundleEncoder")}} interface draws indexed primitives based on the vertex and index buffers provided by {{domxref("GPURenderBundleEncoder.setVertexBuffer", "setVertexBuffer()")}} and {{domxref("GPURenderBundleEncoder.setIndexBuffer", "setIndexBuffer()")}}. diff --git a/files/en-us/web/api/gpurenderbundleencoder/drawindexedindirect/index.md b/files/en-us/web/api/gpurenderbundleencoder/drawindexedindirect/index.md index 65d74815e66207d..a7f69ba65627cb1 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/drawindexedindirect/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/drawindexedindirect/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.drawIndexedIndirect --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndexedIndirect()`** method of the {{domxref("GPURenderBundleEncoder")}} interface draws indexed primitives using parameters read from a {{domxref("GPUBuffer")}}. diff --git a/files/en-us/web/api/gpurenderbundleencoder/drawindirect/index.md b/files/en-us/web/api/gpurenderbundleencoder/drawindirect/index.md index 1d60328584bf16c..9d154356123dfac 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/drawindirect/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/drawindirect/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.drawIndirect --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndirect()`** method of the {{domxref("GPURenderBundleEncoder")}} interface draws primitives using parameters read from a {{domxref("GPUBuffer")}}. diff --git a/files/en-us/web/api/gpurenderbundleencoder/finish/index.md b/files/en-us/web/api/gpurenderbundleencoder/finish/index.md index 8c6527aed568bb8..deaa26caa6da74f 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/finish/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/finish/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.finish --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`finish()`** method of the {{domxref("GPURenderBundleEncoder")}} interface completes recording of the current render bundle command sequence, returning a {{domxref("GPURenderBundle")}} object that can be passed into a {{domxref("GPURenderPassEncoder.executeBundles()")}} call to execute those commands in a specific render pass. diff --git a/files/en-us/web/api/gpurenderbundleencoder/index.md b/files/en-us/web/api/gpurenderbundleencoder/index.md index 01e10787f3679fd..1ea5fc95d094095 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPURenderBundleEncoder --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPURenderBundleEncoder`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is used to pre-record bundles of commands. diff --git a/files/en-us/web/api/gpurenderbundleencoder/insertdebugmarker/index.md b/files/en-us/web/api/gpurenderbundleencoder/insertdebugmarker/index.md index ba0854bef3f315b..2e3bfa65dc4dbf5 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/insertdebugmarker/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/insertdebugmarker/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.insertDebugMarker --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`insertDebugMarker()`** method of the {{domxref("GPURenderBundleEncoder")}} interface marks a specific point in a series of encoded render bundle pass commands with a label. diff --git a/files/en-us/web/api/gpurenderbundleencoder/label/index.md b/files/en-us/web/api/gpurenderbundleencoder/label/index.md index 186d927b4432145..fec0aa23cf4a143 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/label/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** read-only property of the {{domxref("GPURenderBundleEncoder")}} interface is a string providing a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpurenderbundleencoder/popdebuggroup/index.md b/files/en-us/web/api/gpurenderbundleencoder/popdebuggroup/index.md index c62adb1c642ce0d..4a6d174eaa55121 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/popdebuggroup/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/popdebuggroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.popDebugGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`popDebugGroup()`** method of the {{domxref("GPURenderBundleEncoder")}} interface ends a render bundle debug group, which is begun with a {{domxref("GPURenderBundleEncoder.pushDebugGroup", "pushDebugGroup()")}} call. diff --git a/files/en-us/web/api/gpurenderbundleencoder/pushdebuggroup/index.md b/files/en-us/web/api/gpurenderbundleencoder/pushdebuggroup/index.md index d7b312b83c81730..6108bbf03d785fe 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/pushdebuggroup/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/pushdebuggroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.pushDebugGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`pushDebugGroup()`** method of the {{domxref("GPURenderBundleEncoder")}} interface begins a render bundle debug group, which is marked with a specified label, and will contain all subsequent encoded commands up until a {{domxref("GPURenderBundleEncoder.popDebugGroup", "popDebugGroup()")}} method is invoked. diff --git a/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md b/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md index 90f7825b12a7f1f..522fa914d6e65ce 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.setBindGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setBindGroup()`** method of the {{domxref("GPURenderBundleEncoder")}} interface sets the {{domxref("GPUBindGroup")}} to use for subsequent render bundle commands, for a given index. diff --git a/files/en-us/web/api/gpurenderbundleencoder/setindexbuffer/index.md b/files/en-us/web/api/gpurenderbundleencoder/setindexbuffer/index.md index 26e1f9786d3de2f..4f90f65fd36005c 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/setindexbuffer/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/setindexbuffer/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.setIndexBuffer --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setIndexBuffer()`** method of the {{domxref("GPURenderBundleEncoder")}} interface sets the current {{domxref("GPUBuffer")}} that will provide index data for subsequent drawing commands. diff --git a/files/en-us/web/api/gpurenderbundleencoder/setpipeline/index.md b/files/en-us/web/api/gpurenderbundleencoder/setpipeline/index.md index b4add5b09cc998d..6cdc307f531178e 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/setpipeline/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/setpipeline/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.setPipeline --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setPipeline()`** method of the {{domxref("GPURenderBundleEncoder")}} interface sets the {{domxref("GPURenderPipeline")}} to use for subsequent render bundle commands. diff --git a/files/en-us/web/api/gpurenderbundleencoder/setvertexbuffer/index.md b/files/en-us/web/api/gpurenderbundleencoder/setvertexbuffer/index.md index 29e12d5ba8ff830..95dfe716b8c3208 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/setvertexbuffer/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/setvertexbuffer/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderBundleEncoder.setVertexBuffer --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setVertexBuffer()`** method of the {{domxref("GPURenderBundleEncoder")}} interface sets or unsets the current {{domxref("GPUBuffer")}} for the given slot that will provide vertex data for subsequent drawing commands. diff --git a/files/en-us/web/api/gpurenderpassencoder/beginocclusionquery/index.md b/files/en-us/web/api/gpurenderpassencoder/beginocclusionquery/index.md index 26aa4d48e44a4d2..37f14f6ccd2f9e8 100644 --- a/files/en-us/web/api/gpurenderpassencoder/beginocclusionquery/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/beginocclusionquery/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.beginOcclusionQuery --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`beginOcclusionQuery()`** method of the {{domxref("GPURenderPassEncoder")}} interface begins an occlusion query at the specified index of the relevant {{domxref("GPUQuerySet")}} (provided as the value of the `occlusionQuerySet` descriptor property when invoking {{domxref("GPUCommandEncoder.beginRenderPass()")}} to run the render pass). diff --git a/files/en-us/web/api/gpurenderpassencoder/draw/index.md b/files/en-us/web/api/gpurenderpassencoder/draw/index.md index a4a0d8dfac5cfe6..a9256e51264a610 100644 --- a/files/en-us/web/api/gpurenderpassencoder/draw/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/draw/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.draw --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`draw()`** method of the {{domxref("GPURenderPassEncoder")}} interface draws primitives based on the vertex buffers provided by {{domxref("GPURenderPassEncoder.setVertexBuffer", "setVertexBuffer()")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/drawindexed/index.md b/files/en-us/web/api/gpurenderpassencoder/drawindexed/index.md index 197c43a9798c3fe..d9be6a8a108ddee 100644 --- a/files/en-us/web/api/gpurenderpassencoder/drawindexed/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/drawindexed/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.drawIndexed --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndexed()`** method of the {{domxref("GPURenderPassEncoder")}} interface draws indexed primitives based on the vertex and index buffers provided by {{domxref("GPURenderPassEncoder.setVertexBuffer", "setVertexBuffer()")}} and {{domxref("GPURenderPassEncoder.setIndexBuffer", "setIndexBuffer()")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/drawindexedindirect/index.md b/files/en-us/web/api/gpurenderpassencoder/drawindexedindirect/index.md index 11a54db26e1ca50..3f8109d493c2df8 100644 --- a/files/en-us/web/api/gpurenderpassencoder/drawindexedindirect/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/drawindexedindirect/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.drawIndexedIndirect --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndexedIndirect()`** method of the {{domxref("GPURenderPassEncoder")}} interface draws indexed primitives using parameters read from a {{domxref("GPUBuffer")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/drawindirect/index.md b/files/en-us/web/api/gpurenderpassencoder/drawindirect/index.md index 938b21e90c7a018..c221cdc062e9715 100644 --- a/files/en-us/web/api/gpurenderpassencoder/drawindirect/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/drawindirect/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.drawIndirect --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`drawIndirect()`** method of the {{domxref("GPURenderPassEncoder")}} interface draws primitives using parameters read from a {{domxref("GPUBuffer")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/end/index.md b/files/en-us/web/api/gpurenderpassencoder/end/index.md index 1f1a389bb693213..bdad102b1aa24c9 100644 --- a/files/en-us/web/api/gpurenderpassencoder/end/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/end/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.end --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`end()`** method of the {{domxref("GPURenderPassEncoder")}} interface completes recording of the current render pass command sequence. diff --git a/files/en-us/web/api/gpurenderpassencoder/endocclusionquery/index.md b/files/en-us/web/api/gpurenderpassencoder/endocclusionquery/index.md index ee91697c0e7ab54..199766a79990dc0 100644 --- a/files/en-us/web/api/gpurenderpassencoder/endocclusionquery/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/endocclusionquery/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.endOcclusionQuery --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`endOcclusionQuery()`** method of the {{domxref("GPURenderPassEncoder")}} interface ends an active occlusion query previously started with {{domxref("GPURenderPassEncoder.beginOcclusionQuery", "beginOcclusionQuery()")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/executebundles/index.md b/files/en-us/web/api/gpurenderpassencoder/executebundles/index.md index 078be0af9112973..3eb98de098d5a69 100644 --- a/files/en-us/web/api/gpurenderpassencoder/executebundles/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/executebundles/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.executeBundles --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`executeBundles()`** method of the {{domxref("GPURenderPassEncoder")}} interface executes commands previously recorded into the referenced {{domxref("GPURenderBundle")}}s, as part of this render pass. diff --git a/files/en-us/web/api/gpurenderpassencoder/index.md b/files/en-us/web/api/gpurenderpassencoder/index.md index 5949029990459cd..4d323ecf3315c76 100644 --- a/files/en-us/web/api/gpurenderpassencoder/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPURenderPassEncoder --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPURenderPassEncoder`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} encodes commands related to controlling the vertex and fragment shader stages, as issued by a {{domxref("GPURenderPipeline")}}. It forms part of the overall encoding activity of a {{domxref("GPUCommandEncoder")}}. diff --git a/files/en-us/web/api/gpurenderpassencoder/insertdebugmarker/index.md b/files/en-us/web/api/gpurenderpassencoder/insertdebugmarker/index.md index 987f58a8847b8b4..4f5945a4b3b236a 100644 --- a/files/en-us/web/api/gpurenderpassencoder/insertdebugmarker/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/insertdebugmarker/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.insertDebugMarker --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`insertDebugMarker()`** method of the {{domxref("GPURenderPassEncoder")}} interface marks a specific point in a series of encoded render pass commands with a label. diff --git a/files/en-us/web/api/gpurenderpassencoder/label/index.md b/files/en-us/web/api/gpurenderpassencoder/label/index.md index 6ed82f2e0342648..2dd3c0e5c3768a0 100644 --- a/files/en-us/web/api/gpurenderpassencoder/label/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** read-only property of the {{domxref("GPURenderPassEncoder")}} interface is a string providing a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpurenderpassencoder/popdebuggroup/index.md b/files/en-us/web/api/gpurenderpassencoder/popdebuggroup/index.md index 154f11d532b78de..3215a5d7dab9d4c 100644 --- a/files/en-us/web/api/gpurenderpassencoder/popdebuggroup/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/popdebuggroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.popDebugGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`popDebugGroup()`** method of the {{domxref("GPURenderPassEncoder")}} interface ends a render pass debug group, which is begun with a {{domxref("GPURenderPassEncoder.pushDebugGroup", "pushDebugGroup()")}} call. diff --git a/files/en-us/web/api/gpurenderpassencoder/pushdebuggroup/index.md b/files/en-us/web/api/gpurenderpassencoder/pushdebuggroup/index.md index 8e23b6143a0ebcf..75b7606d9ef680b 100644 --- a/files/en-us/web/api/gpurenderpassencoder/pushdebuggroup/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/pushdebuggroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.pushDebugGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`pushDebugGroup()`** method of the {{domxref("GPURenderPassEncoder")}} interface begins a render pass debug group, which is marked with a specified label, and will contain all subsequent encoded commands up until a {{domxref("GPURenderPassEncoder.popDebugGroup", "popDebugGroup()")}} method is invoked. diff --git a/files/en-us/web/api/gpurenderpassencoder/setbindgroup/index.md b/files/en-us/web/api/gpurenderpassencoder/setbindgroup/index.md index 63db15e2f4058aa..625ec6505e8d990 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setbindgroup/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setbindgroup/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setBindGroup --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setBindGroup()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the {{domxref("GPUBindGroup")}} to use for subsequent render commands, for a given index. diff --git a/files/en-us/web/api/gpurenderpassencoder/setblendconstant/index.md b/files/en-us/web/api/gpurenderpassencoder/setblendconstant/index.md index 6e920607fe05e83..f04af11c6442452 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setblendconstant/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setblendconstant/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setBlendConstant --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setBlendConstant()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the constant blend color and alpha values used with `"constant"` and `"one-minus-constant"` blend factors (as set in the descriptor of the {{domxref("GPUDevice.createRenderPipeline()")}} method, in the `blend` property). diff --git a/files/en-us/web/api/gpurenderpassencoder/setindexbuffer/index.md b/files/en-us/web/api/gpurenderpassencoder/setindexbuffer/index.md index d0df7905ee1123b..1650980c90a469b 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setindexbuffer/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setindexbuffer/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setIndexBuffer --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setIndexBuffer()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the current {{domxref("GPUBuffer")}} that will provide index data for subsequent drawing commands. diff --git a/files/en-us/web/api/gpurenderpassencoder/setpipeline/index.md b/files/en-us/web/api/gpurenderpassencoder/setpipeline/index.md index 49f054c6810c0f3..dffd8b4ba5f5a9a 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setpipeline/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setpipeline/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setPipeline --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setPipeline()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the {{domxref("GPURenderPipeline")}} to use for subsequent render pass commands. diff --git a/files/en-us/web/api/gpurenderpassencoder/setscissorrect/index.md b/files/en-us/web/api/gpurenderpassencoder/setscissorrect/index.md index 698326f07c0a866..2034c687fda7c89 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setscissorrect/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setscissorrect/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setScissorRect --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setScissorRect()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the scissor rectangle used during the rasterization stage. After transformation into viewport coordinates any fragments that fall outside the scissor rectangle will be discarded. diff --git a/files/en-us/web/api/gpurenderpassencoder/setstencilreference/index.md b/files/en-us/web/api/gpurenderpassencoder/setstencilreference/index.md index 6b0aa7a9fb49d6b..88505f1d876e4e0 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setstencilreference/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setstencilreference/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setStencilReference --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setStencilReference()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the stencil reference value using during stencil tests with the `"replace"` stencil operation (as set in the descriptor of the {{domxref("GPUDevice.createRenderPipeline()")}} method, in the properties defining the various stencil operations). diff --git a/files/en-us/web/api/gpurenderpassencoder/setvertexbuffer/index.md b/files/en-us/web/api/gpurenderpassencoder/setvertexbuffer/index.md index 2342ad4aa5a90c8..32e2b3322431f36 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setvertexbuffer/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setvertexbuffer/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setVertexBuffer --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setVertexBuffer()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets or unsets the current {{domxref("GPUBuffer")}} for the given slot that will provide vertex data for subsequent drawing commands. diff --git a/files/en-us/web/api/gpurenderpassencoder/setviewport/index.md b/files/en-us/web/api/gpurenderpassencoder/setviewport/index.md index f57eb104d2ea963..1afe4b6297b43e3 100644 --- a/files/en-us/web/api/gpurenderpassencoder/setviewport/index.md +++ b/files/en-us/web/api/gpurenderpassencoder/setviewport/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPassEncoder.setViewport --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`setViewport()`** method of the {{domxref("GPURenderPassEncoder")}} interface sets the viewport used during the rasterization stage to linearly map from normalized device coordinates to viewport coordinates. diff --git a/files/en-us/web/api/gpurenderpipeline/getbindgrouplayout/index.md b/files/en-us/web/api/gpurenderpipeline/getbindgrouplayout/index.md index 1136860c599cb07..f8e8536f6775a7c 100644 --- a/files/en-us/web/api/gpurenderpipeline/getbindgrouplayout/index.md +++ b/files/en-us/web/api/gpurenderpipeline/getbindgrouplayout/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPipeline.getBindGroupLayout --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`getBindGroupLayout()`** method of the {{domxref("GPURenderPipeline")}} interface returns the pipeline's {{domxref("GPUBindGroupLayout")}} object with the given index (i.e. included in the originating {{domxref("GPUDevice.createRenderPipeline()")}} or {{domxref("GPUDevice.createRenderPipelineAsync()")}} call's pipeline layout). diff --git a/files/en-us/web/api/gpurenderpipeline/index.md b/files/en-us/web/api/gpurenderpipeline/index.md index 1835860e3744718..b84b67154465c75 100644 --- a/files/en-us/web/api/gpurenderpipeline/index.md +++ b/files/en-us/web/api/gpurenderpipeline/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPURenderPipeline --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPURenderPipeline`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents a pipeline that controls the vertex and fragment shader stages and can be used in a {{domxref("GPURenderPassEncoder")}} or {{domxref("GPURenderBundleEncoder")}}. diff --git a/files/en-us/web/api/gpurenderpipeline/label/index.md b/files/en-us/web/api/gpurenderpipeline/label/index.md index f5a9d42f97ce85b..5a3da24873b9aac 100644 --- a/files/en-us/web/api/gpurenderpipeline/label/index.md +++ b/files/en-us/web/api/gpurenderpipeline/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPURenderPipeline.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** property of the {{domxref("GPURenderPipeline")}} interface provides a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpusampler/index.md b/files/en-us/web/api/gpusampler/index.md index c3a2752a73fd2d7..2a8546cce7cd534 100644 --- a/files/en-us/web/api/gpusampler/index.md +++ b/files/en-us/web/api/gpusampler/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUSampler --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUSampler`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents an object that can control how shaders transform and filter texture resource data. diff --git a/files/en-us/web/api/gpusampler/label/index.md b/files/en-us/web/api/gpusampler/label/index.md index 01116ab1d0e96d3..19f9e8fd7235408 100644 --- a/files/en-us/web/api/gpusampler/label/index.md +++ b/files/en-us/web/api/gpusampler/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUSampler.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** property of the {{domxref("GPUSampler")}} interface provides a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpushadermodule/getcompilationinfo/index.md b/files/en-us/web/api/gpushadermodule/getcompilationinfo/index.md index 75d1fe2e1628e49..890b8ce607d7426 100644 --- a/files/en-us/web/api/gpushadermodule/getcompilationinfo/index.md +++ b/files/en-us/web/api/gpushadermodule/getcompilationinfo/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUShaderModule.getCompilationInfo --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`getCompilationInfo()`** method of the {{domxref("GPUShaderModule")}} interface returns a {{jsxref("Promise")}} that fulfills with a {{domxref("GPUCompilationInfo")}} object containing messages generated during the `GPUShaderModule`'s compilation. diff --git a/files/en-us/web/api/gpushadermodule/index.md b/files/en-us/web/api/gpushadermodule/index.md index 8e4b2078a9745cf..bb08ddef074a9e8 100644 --- a/files/en-us/web/api/gpushadermodule/index.md +++ b/files/en-us/web/api/gpushadermodule/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUShaderModule --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUShaderModule`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents an internal shader module object, a container for [WGSL](https://gpuweb.github.io/gpuweb/wgsl/) shader code that can be submitted to the GPU for execution by a pipeline. diff --git a/files/en-us/web/api/gpushadermodule/label/index.md b/files/en-us/web/api/gpushadermodule/label/index.md index 9d21aa7c2c97546..92c9a1b7d1e2054 100644 --- a/files/en-us/web/api/gpushadermodule/label/index.md +++ b/files/en-us/web/api/gpushadermodule/label/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUShaderModule.label --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`label`** property of the {{domxref("GPUShaderModule")}} interface provides a label that can be used to identify the object, for example in {{domxref("GPUError")}} messages or console warnings. diff --git a/files/en-us/web/api/gpuuncapturederrorevent/error/index.md b/files/en-us/web/api/gpuuncapturederrorevent/error/index.md index 580909458cec3fb..af5594af7e814dc 100644 --- a/files/en-us/web/api/gpuuncapturederrorevent/error/index.md +++ b/files/en-us/web/api/gpuuncapturederrorevent/error/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUUncapturedErrorEvent.error --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`error`** read-only property of the {{domxref("GPUUncapturedErrorEvent")}} interface is a {{domxref("GPUError")}} object instance providing access to the details of the error. diff --git a/files/en-us/web/api/gpuuncapturederrorevent/gpuuncapturederrorevent/index.md b/files/en-us/web/api/gpuuncapturederrorevent/gpuuncapturederrorevent/index.md index 6f4020b183bb898..83beb759fb8a2ef 100644 --- a/files/en-us/web/api/gpuuncapturederrorevent/gpuuncapturederrorevent/index.md +++ b/files/en-us/web/api/gpuuncapturederrorevent/gpuuncapturederrorevent/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUUncapturedErrorEvent.GPUUncapturedErrorEvent --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUUncapturedErrorEvent()`** constructor creates a new {{domxref("GPUUncapturedErrorEvent")}} object instance. diff --git a/files/en-us/web/api/gpuuncapturederrorevent/index.md b/files/en-us/web/api/gpuuncapturederrorevent/index.md index 0668da410f61193..b1387dbd9ad236d 100644 --- a/files/en-us/web/api/gpuuncapturederrorevent/index.md +++ b/files/en-us/web/api/gpuuncapturederrorevent/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUUncapturedErrorEvent --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUUncapturedErrorEvent`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is the event object type for the {{domxref("GPUDevice")}} {{domxref("GPUDevice.uncapturederror_event", "uncapturederror")}} event, used for telemetry and to report unexpected errors. diff --git a/files/en-us/web/api/gpuvalidationerror/gpuvalidationerror/index.md b/files/en-us/web/api/gpuvalidationerror/gpuvalidationerror/index.md index 9b3cc47bf4ae29b..9fb5a8e7510a25f 100644 --- a/files/en-us/web/api/gpuvalidationerror/gpuvalidationerror/index.md +++ b/files/en-us/web/api/gpuvalidationerror/gpuvalidationerror/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.GPUValidationError.GPUValidationError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUValidationError()`** constructor creates a new {{domxref("GPUValidationError")}} object instance. diff --git a/files/en-us/web/api/gpuvalidationerror/index.md b/files/en-us/web/api/gpuvalidationerror/index.md index ef84068c911f1f4..81ec36158c7a6de 100644 --- a/files/en-us/web/api/gpuvalidationerror/index.md +++ b/files/en-us/web/api/gpuvalidationerror/index.md @@ -7,7 +7,7 @@ status: browser-compat: api.GPUValidationError --- -{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}} +{{APIRef("WebGPU API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}} The **`GPUValidationError`** interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} describes an application error indicating that an operation did not pass the WebGPU API's validation constraints.