Class VulkanOwnedTextureFrameHandle
java.lang.Object
org.maplibre.nativeffi.render.VulkanOwnedTextureFrameHandle
- All Implemented Interfaces:
AutoCloseable
Explicit handle for a Vulkan session-owned texture frame.
This is an advanced API for render integrations that must submit GPU work and release the
MapLibre-owned image only after that work no longer samples it. The frame and its native pointers
stay valid until close(). Callers must synchronize GPU use before closing the handle,
close it on the render session owner thread, and close it before resizing, rendering another
update, detaching, or closing the render session.
-
Method Details
-
frame
-
isClosed
public boolean isClosed() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-