effectiveSceneColorCaptureBatches property

int get effectiveSceneColorCaptureBatches

The capture budget in effect, sceneColorCaptureBatches clamped, or the tier's default when it is null.

Implementation

int get effectiveSceneColorCaptureBatches {
  final explicit = sceneColorCaptureBatches;
  if (explicit != null) return explicit.clamp(1, maxSceneColorCaptureBatches);
  switch (effectiveRenderQualityTier) {
    case RenderQualityTier.low:
      return 1;
    case RenderQualityTier.medium:
      return 2;
    case RenderQualityTier.high:
      return maxSceneColorCaptureBatches;
  }
}