Refactoring
This commit is contained in:
@@ -289,3 +289,4 @@ bSupportsVulkan=True
|
|||||||
bSupportsVulkanSM5=False
|
bSupportsVulkanSM5=False
|
||||||
bBuildForES31=False
|
bBuildForES31=False
|
||||||
PackageName=com.AIGames.[PROJECT]
|
PackageName=com.AIGames.[PROJECT]
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
exec "$SCRIPT_DIR/android_ue_cmd.sh" "$@"
|
||||||
Executable
+38
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; then
|
||||||
|
echo "Usage: $0 <off|fxaa|taa|msaa|0|1|2|3>" >&2
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
MODE="$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')"
|
||||||
|
|
||||||
|
case "$MODE" in
|
||||||
|
off|none|0)
|
||||||
|
VALUE=0
|
||||||
|
LABEL="Off"
|
||||||
|
;;
|
||||||
|
fxaa|1)
|
||||||
|
VALUE=1
|
||||||
|
LABEL="FXAA"
|
||||||
|
;;
|
||||||
|
taa|temporal|2)
|
||||||
|
VALUE=2
|
||||||
|
LABEL="TAA"
|
||||||
|
;;
|
||||||
|
msaa|3)
|
||||||
|
VALUE=3
|
||||||
|
LABEL="MSAA"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unknown AA mode: $1" >&2
|
||||||
|
echo "Expected: off, fxaa, taa, msaa, 0, 1, 2, or 3" >&2
|
||||||
|
exit 2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
"$SCRIPT_DIR/android_ue_cmd.sh" "r.Mobile.AntiAliasing $VALUE"
|
||||||
|
echo "mobile anti-aliasing: $LABEL ($VALUE)"
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
exec "$SCRIPT_DIR/android_aa.sh" fxaa
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
exec "$SCRIPT_DIR/android_aa.sh" msaa
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
exec "$SCRIPT_DIR/android_aa.sh" off
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
exec "$SCRIPT_DIR/android_aa.sh" taa
|
||||||
Reference in New Issue
Block a user