diff --git a/com.unity.postprocessing/CHANGELOG.md b/com.unity.postprocessing/CHANGELOG.md index 440d007503b..93505f3f292 100644 --- a/com.unity.postprocessing/CHANGELOG.md +++ b/com.unity.postprocessing/CHANGELOG.md @@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Remove support for PVRTC format in Unity 6.1 or newer -- Fixed issue with FastSign on WebGL/Safari (IN-71005) - Fixed compute based effects not supported on OpenGLES +- Fixed issue with FastSign on WebGL/Safari (IN-71005) - Documentation updates ## [3.4.0] - 2023-12-11 diff --git a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs index 1551ebb96e0..8e56107863f 100644 --- a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs +++ b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs @@ -850,8 +850,15 @@ public static bool isVREnabled } /// - /// Returns true if the target platform is does not support compute and the selected API is OpenGL, - /// false otherwise. + /// Returns true if the target platform is Android and the selected API is OpenGL, false otherwise. + /// + public static bool isAndroidOpenGL + { + get { return Application.platform == RuntimePlatform.Android && SystemInfo.graphicsDeviceType != GraphicsDeviceType.Vulkan; } + } + + /// + /// Returns true if the selected API is OpenGLES, false otherwise. /// public static bool isOpenGLES { @@ -863,8 +870,7 @@ public static bool isOpenGLES } /// - /// Returns true if the target platform is WebGL, - /// false otherwise. + /// Returns true if the target platform is WebGL, false otherwise. /// public static bool isWebNonWebGPU {