resetForTesting static method
Resets static shader state for testing. Call between tests to ensure each test gets the fallback rendering (no cached shader).
Implementation
@visibleForTesting
static void resetForTesting() {
_cachedProgram = null;
_sharedShader = null;
_isPreparing = false;
_dummyImage?.dispose();
_dummyImage = null;
}