simvx.graphics._vulkan_compat

Vulkan library compatibility — ensures libvulkan loads on all platforms.

The vulkan Python package only searches for libvulkan.so.1 on Linux, but Android ships libvulkan.so (no version suffix). Pre-loading the library via ctypes before vulkan is imported ensures cffi’s ffi.dlopen() finds it.

Import this module before import vulkan on any platform where the library name may differ from the default list.

Module Contents

Data

log

API

simvx.graphics._vulkan_compat.log[source]

‘getLogger(…)’