WebGPU.rocks Logo

GPUExternalTexture

  • GPUDevice.importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture

    GPUExternalTextureDescriptor

    • label: USVString
    • source: HTMLVideoElementrequired
    • colorSpace: PredefinedColorSpace= 'srgb'
  • label: USVString
  • expired: boolean