WebGPU.rocks Logo

GPUQuerySet

  • GPUDevice.createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet

    GPUQuerySetDescriptor

    • label: USVString= ''
    • type: GPUQueryTyperequired
    • count: GPUSize32required

    GPUQueryType

    'occlusion', 'timestamp'

    GPUSize32

    typedef GPUSize32 = unsigned long
  • label: USVString
  • type: GPUQueryType
  • count: GPUSize32Out
  • destroy(): void