|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| mln_render_target_extent | extent |
| mln_opengl_context_descriptor | context |
| uint32_t | texture |
| uint32_t | target |
OpenGL caller-owned texture session attachment options.
| mln_opengl_context_descriptor mln_opengl_borrowed_texture_descriptor::context |
Borrowed OpenGL context provider data. The texture must belong to this context or a context in the same share group.
| mln_render_target_extent mln_opengl_borrowed_texture_descriptor::extent |
Logical texture extent.
| uint32_t mln_opengl_borrowed_texture_descriptor::target |
OpenGL texture target. GL_TEXTURE_2D is the expected target.
| uint32_t mln_opengl_borrowed_texture_descriptor::texture |
Borrowed OpenGL texture object name. Required.