//<B.M> public static PostProcessEffect GenPostProcessEffect(string effectName, Shader shader, PostProcessEffect.TextureShaderMethod textureShaderMethod) { var ppe = new PostProcessEffect(shader, textureShaderMethod); postProcessEffectDictionary.Add(effectName, ppe); return(ppe); }
//<B.M> public static PostProcessEffect GenPostProcessEffect(string effectName, string shaderName, PostProcessEffect.TextureShaderMethod prepRender) => GenPostProcessEffect(effectName, shaderDictionary[shaderName], prepRender);