Adding Android as a Supported Platform (#11)

Adding Android as a supported platform.
This commit is contained in:
Cameron 2021-07-13 12:26:31 -07:00 коммит произвёл GitHub
Родитель ae4bc3f921
Коммит ecffb30c54
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 34 добавлений и 6 удалений

Просмотреть файл

@ -143,3 +143,7 @@ GlobalDefaultServerGameMode=None
[/Script/Slate.SlateSettings]
bExplicitCanvasChildZOrder=True
[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
PackageName=com.Microsoft.GraphicsToolsProject
bPackageDataInsideApk=True

Просмотреть файл

@ -17,7 +17,8 @@
"Installed": false,
"SupportedTargetPlatforms": [
"Win64",
"HoloLens"
"HoloLens",
"Android"
],
"Modules": [
{
@ -26,7 +27,8 @@
"LoadingPhase": "PostConfigInit",
"WhitelistPlatforms": [
"Win64",
"HoloLens"
"HoloLens",
"Android"
]
},
{

Просмотреть файл

@ -4,12 +4,33 @@
#ifndef GT_COMMON
#define GT_COMMON
// Defines mirrored from https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Shaders/Public/FP16Math.ush
#ifndef EXPERIMENTAL_FP16
#define EXPERIMENTAL_FP16 1
#endif
#ifndef USE_MIN16FLOAT
#define USE_MIN16FLOAT 0
#endif
#if EXPERIMENTAL_FP16
#if USE_MIN16FLOAT
#define Half min16float
#define Half2 min16float2
#define Half3 min16float3
#define Half4 min16float4
#define Half3x3 min16float3x3
#define Half3x4 min16float3x4
#else
#define Half half
#define Half2 half2
#define Half3 half3
#define Half4 half4
#endif
#else
#define Half float
#define Half2 float2
#define Half3 float3
#define Half4 float4
#endif
#define GT_PI Half(3.14159265359)
#define GT_ONE_OVER_PI Half(1.0) / GT_PI

Просмотреть файл

@ -17,7 +17,8 @@
"Installed": false,
"SupportedTargetPlatforms": [
"Win64",
"HoloLens"
"HoloLens",
"Android"
],
"Modules": [
{

Просмотреть файл

@ -6,7 +6,7 @@
Graphics Tools for Unreal Engine is a UE game plugin with code, blueprints and example assets created to help improve the visual fidelity of Mixed Reality applications while staying within performance budgets.
| NOTE: Only HoloLens 2 development is supported at the moment. |
| NOTE: Only HoloLens 2, Windows, and Android development is tested at the moment. If you encounter issues with other platforms please [file an issue](https://github.com/microsoft/MixedReality-GraphicsTools-Unreal/issues/new). |
| --- |
![Features](Docs/Images/Features.png)