Class OpenGLOwnedTextureFrameHandle
java.lang.Object
org.maplibre.nativeffi.render.OpenGLOwnedTextureFrameHandle
- All Implemented Interfaces:
AutoCloseable
Explicit handle for an OpenGL session-owned texture frame.
The frame and texture object name 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
-