natiny_backend_get_available

C
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

C
int supported = natiny_backend_get_available(NATINY_BACKEND_VULKAN);

Notes

  • NATINY_BACKEND_NONE is available on every platform.