public CustomPipelineShaderPreprocessor() { instance = this; pipelineAsset = GraphicsSettings.renderPipelineAsset as CustomPipelineAsset; if (pipelineAsset == null) { return; } stripCascadedShadows = !pipelineAsset.HasShadowCascades; }
static void LogVariantCount(BuildTarget target, string path) { instance.LogVariantCount(); instance = null; }