diff --git a/index.src.html b/index.src.html index 3238808c..97e3e251 100644 --- a/index.src.html +++ b/index.src.html @@ -101,6 +101,14 @@ spec: visibility-state; urlPrefix: https://www.w3.org/TR/page-visibility/# type: enum-value; text: hidden; url: dom-visibilitystate-hidden + +spec: webgpu; urlPrefix: https://www.w3.org/TR/webgpu/# + type: interface; text: GPUExternalTexture; url: gpuexternaltexture + type: dictionary; text: GPUExternalTextureDescriptor; url: dictdef-gpuexternaltexturedescriptor + for: GPUExternalTextureDescriptor; + type: dict-member; text: source; url: dom-gpuexternaltexturedescriptor-source + for: GPUDevice; + type: method; text: importExternalTexture(); url: dom-gpudevice-importexternaltexture
@@ -3774,8 +3782,8 @@ ### WebGPU ### {#videoframe-webgpu} -[[WebGPU]] is extended to allow importing {{VideoFrame}} objects via -{{GPUDevice/importExternalTexture())}, producing opaque {{GPUExternalTexture}} +WebCodecs extends [WebGPU] to allow importing {{VideoFrame}} objects via +{{GPUDevice/importExternalTexture()}}, producing opaque {{GPUExternalTexture}} objects, which can be read from WebGPU shaders. The definition of the {{GPUExternalTextureDescriptor/source}} member of {{GPUExternalTextureDescriptor}} is modified to allow {{VideoFrame}}: