| 47 | } |
| 48 | |
| 49 | inline const char* GetPlatformLongName( Platform platform ) |
| 50 | { |
| 51 | switch( platform ) |
| 52 | { |
| 53 | case PLATFORM_DX11: |
| 54 | return "DirectX 11"; |
| 55 | case PLATFORM_DX12: |
| 56 | return "DirectX 12"; |
| 57 | case PLATFORM_METAL: |
| 58 | return "Metal"; |
| 59 | default: |
| 60 | return "INVALID"; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | inline const char* GetPlatformIdString( Platform platform ) |
| 65 | { |