debugHeldHistoryTargets property

  1. @visibleForTesting
Set<String> get debugHeldHistoryTargets

The history holders that keep textures across frames, by name.

Implementation

@visibleForTesting
Set<String> get debugHeldHistoryTargets => {
  if (_taaState != null) 'taa',
  if (_irradianceField.layout != null) 'irradiance',
  if (_autoExposureState != null) 'autoExposure',
  if (_directionalShadowCache != null) 'shadowCache',
  if (_ssgiHistoryColor != null) 'ssgi',
  if (_punctualLightBuffer.debugHoldsTextures) 'punctualLights',
  if (_probeCapturePool != null) 'probe',
  if (_planarCaptureResources.isNotEmpty) 'planar',
};