Access to the Vulkan rendering backend, if available.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet available Vulkan devices (GPUs).booleanCheck whether Vulkan presentation is enabled.
-
Method Details
-
isPresentationEnabled
boolean isPresentationEnabled()Check whether Vulkan presentation is enabled. Otherwise, only offscreen rendering is available.- Returns:
- true if Vulkan presentation is enabled
-
getDevices
Vulkan.Device[] getDevices()Get available Vulkan devices (GPUs).- Returns:
- array of available devices
-