PixelProcessor::PixelProcessor(Context *context) : context(context) { setGlobalMipmapBias(0.0f); // Round to highest LOD [0.5, 1.0]: -0.5 // Round to nearest LOD [0.7, 1.4]: 0.0 // Round to lowest LOD [1.0, 2.0]: 0.5 routineCache = 0; setRoutineCacheSize(1024); }
SetupProcessor::SetupProcessor(Context *context) : context(context) { routineCache = 0; setRoutineCacheSize(1024); }