File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -819,16 +819,17 @@ Issue: Update both names to whatever we settle on.
819
819
820
820
### GPUExternalTexture ### {#image-input-external-texture}
821
821
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.
824
824
In particular, it can be bound as a texture resource to a shader and used directly from the GPU:
825
825
when it is bound, additional metadata is attached that allows WebGPU to "automagically"
826
826
transform the data from its underlying representation (e.g. YUV) to RGB sampled data.
827
827
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.
830
830
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.
832
833
833
834
834
835
## Canvas Output ## {#canvas-output}
You can’t perform that action at this time.
0 commit comments