beginOcclusionQuery method

  1. @override
void beginOcclusionQuery(
  1. int queryIndex
)
override

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

Implementation

@override
void beginOcclusionQuery(int queryIndex) {
  _passOnly('beginOcclusionQuery');
  _gated(DeviceFeature.occlusionQuery, 'beginOcclusionQuery', queryIndex);
}