beginOcclusionQuery method

void beginOcclusionQuery(
  1. int queryIndex
)
inherited

Starts counting the samples the next draws pass into query queryIndex of RenderPassDescriptor.occlusionQuerySet — DeviceFeature.occlusionQuery. One query open at a time.

Implementation

void beginOcclusionQuery(int queryIndex) =>
    refuseByDefault(this, DeviceFeature.occlusionQuery);