WebGPU.rocks Logo

GPUExternalTexture

  • GPUDevice.importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture

    GPUExternalTextureDescriptor

    • label: USVString= ''
    • source: HTMLVideoElement | VideoFramerequired
    • colorSpace: PredefinedColorSpace= 'srgb'
  • label: USVString