Platform
The Platform enum defines various platform types supported by the system, representing different graphics and compute APIs or platforms.
#include <platform/TellusimPlatform.h>
| Name | Value | Description |
|---|---|---|
| PlatformUnknown | 0 | |
| PlatformFusion | 1 | Aggregates multiple physical devices, enabling multi-GPU applications to operate similarly to single-GPU ones. |
| PlatformD3D12 | 2 | Direct3D12. |
| PlatformD3D11 | 3 | Direct3D11. |
| PlatformMTL | 4 | Metal. |
| PlatformVK | 5 | Vulkan. |
| PlatformGL | 6 | OpenGL. |
| PlatformGLES | 7 | OpenGLES. |
| PlatformWG | 8 | WebGPU. |
| PlatformCU | 9 | Nvidia CUDA. |
| PlatformHIP | 10 | AMD ROCm. |
| PlatformAny | 11 | The best available platform. |
| NumPlatforms | 12 |