beginOcclusionQuery method
The beginOcclusionQuery()
method of the
GPURenderPassEncoder interface begins an occlusion query at the
specified index of the relevant GPUQuerySet (provided as the value of
the occlusionQuerySet
descriptor property when invoking
GPUCommandEncoder.beginRenderPass to run the render pass).
Implementation
external void beginOcclusionQuery(GPUSize32 queryIndex);