natiny_backend_get_available
int natiny_backend_get_available(int backend);
Returns whether natiny_backend_init accepts the requested backend on this platform.
Parameters
| Name | Type | Description |
|---|---|---|
backend |
int |
A constant listed by natiny_backend_init |
Example
int supported = natiny_backend_get_available(NATINY_BACKEND_VULKAN);
Notes
NATINY_BACKEND_NONEis available on every platform.