debugWarmUpBilinearBackdropSampling function

Future<void> debugWarmUpBilinearBackdropSampling()

Loads the shader debugBilinearBackdropSampling selects.

ShaderLibrary.warmUp() never loads GlassShaderId.finalRenderBilinearProbe — it is not a core shader, so no consumer of this package compiles or loads it at startup just because it exists. Await this once before setting debugBilinearBackdropSampling to true for the first time; safe to call more than once.

Implementation

Future<void> debugWarmUpBilinearBackdropSampling() =>
    ShaderLibrary.instance.ensureLoaded(GlassShaderId.finalRenderBilinearProbe);