| 32 | } |
| 33 | |
| 34 | inline const char* GetPlatformShortName( Platform platform ) |
| 35 | { |
| 36 | switch( platform ) |
| 37 | { |
| 38 | case PLATFORM_DX11: |
| 39 | return "dx11"; |
| 40 | case PLATFORM_DX12: |
| 41 | return "dx12"; |
| 42 | case PLATFORM_METAL: |
| 43 | return "mtl"; |
| 44 | default: |
| 45 | return "INVALID"; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | inline const char* GetPlatformLongName( Platform platform ) |
| 50 | { |