File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
PostProcessing/Runtime/Utils Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
11
11
12
12
### Fixed
13
13
- Remove support for PVRTC format in Unity 6.1 or newer
14
- - Fixed issue with FastSign on WebGL/Safari (IN-71005)
15
14
- Fixed compute based effects not supported on OpenGLES
15
+ - Fixed issue with FastSign on WebGL/Safari (IN-71005)
16
16
- Documentation updates
17
17
18
18
## [ 3.4.0] - 2023-12-11
Original file line number Diff line number Diff line change @@ -850,8 +850,15 @@ public static bool isVREnabled
850
850
}
851
851
852
852
/// <summary>
853
- /// Returns <c>true</c> if the target platform is does not support compute and the selected API is OpenGL,
854
- /// <c>false</c> otherwise.
853
+ /// Returns <c>true</c> if the target platform is Android and the selected API is OpenGL, <c>false</c> otherwise.
854
+ /// </summary>
855
+ public static bool isAndroidOpenGL
856
+ {
857
+ get { return Application . platform == RuntimePlatform . Android && SystemInfo . graphicsDeviceType != GraphicsDeviceType . Vulkan ; }
858
+ }
859
+
860
+ /// <summary>
861
+ /// Returns <c>true</c> if the selected API is OpenGLES, <c>false</c> otherwise.
855
862
/// </summary>
856
863
public static bool isOpenGLES
857
864
{
@@ -863,8 +870,7 @@ public static bool isOpenGLES
863
870
}
864
871
865
872
/// <summary>
866
- /// Returns <c>true</c> if the target platform is WebGL,
867
- /// <c>false</c> otherwise.
873
+ /// Returns <c>true</c> if the target platform is WebGL, <c>false</c> otherwise.
868
874
/// </summary>
869
875
public static bool isWebNonWebGPU
870
876
{
You can’t perform that action at this time.
0 commit comments