Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40d7b4e

Browse files
committed
address comments
1 parent 36cd679 commit 40d7b4e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

explainer/index.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -819,16 +819,17 @@ Issue: Update both names to whatever we settle on.
819819

820820
### GPUExternalTexture ### {#image-input-external-texture}
821821

822-
A `GPUExternalTexture` is a read-only texture object which can be used in similar ways to normal
823-
`GPUTexture` objects.
822+
A `GPUExternalTexture` is a sampleable texture object which can be used in similar ways to normal
823+
sampleable `GPUTexture` objects.
824824
In particular, it can be bound as a texture resource to a shader and used directly from the GPU:
825825
when it is bound, additional metadata is attached that allows WebGPU to "automagically"
826826
transform the data from its underlying representation (e.g. YUV) to RGB sampled data.
827827

828-
`GPUExternalTexture`s represent a particular immutable image, so the underlying data must not
829-
change after import. To achieve this:
828+
A `GPUExternalTexture` represents a particular imported image, so the underlying data must not
829+
change after import, either from internal (WebGPU) or external (Web platform) access.
830830

831-
Issue: Describe how this works for video element, VideoFrame, canvas element, and OffscreenCanvas.
831+
Issue:
832+
Describe how this is achieved for video element, VideoFrame, canvas element, and OffscreenCanvas.
832833

833834

834835
## Canvas Output ## {#canvas-output}

0 commit comments

Comments
 (0)