Skip to main content
Version: Next

Function: getRequiredWebGpuCameraFeatures()

getRequiredWebGpuCameraFeatures(): GPUFeatureName[]

Defined in: src/webgpu/requiredFeatures.ts:20

The GPU features a device must have to import camera frames and Fishjam output surfaces on this platform. useCameraWebGpuDevice requests them for you; pass them yourself as requiredFeatures in GPUDeviceDescriptor when you bring your own device.

Returns​

GPUFeatureName[]