Class OpenGLOwnedTextureFrameHandle

java.lang.Object
org.maplibre.nativejni.render.OpenGLOwnedTextureFrameHandle
All Implemented Interfaces:
AutoCloseable

public final class OpenGLOwnedTextureFrameHandle extends Object implements AutoCloseable
Explicit handle for an OpenGL session-owned texture frame.

This is an advanced API for render integrations that must submit GPU work and release the MapLibre-owned texture only after that work no longer samples it. The frame stays 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.