Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
| public Mat readFrame() { | |
| VuforiaLocalizer.CloseableFrame frame; | |
| Image rgb = null; | |
| try { | |
| // grab the last frame pushed onto the queue | |
| frame = vuforia.getFrameQueue().take(); | |
| } catch (InterruptedException e) { | |
| Log.d(LOG_TAG, "Problem taking frame off Vuforia queue"); | |
| e.printStackTrace(); |