|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| uint32_t | physical_width |
| uint32_t | physical_height |
| const mln_open_gl_borrowed_texture * | textures |
| size_t | texture_count |
New OpenGL textures for a borrowed ring, for mln_render_session_set_open_gl_borrowed_texture_target().
The members and the textures follow the rules of mln_open_gl_borrowed_texture_descriptor. The ring keeps its depth, context, and texture target, so give it as many textures as it attached with, in the same share group.
| mln_logical_size mln_open_gl_borrowed_texture_replacement::logical_size |
| uint32_t mln_open_gl_borrowed_texture_replacement::physical_height |
| uint32_t mln_open_gl_borrowed_texture_replacement::physical_width |
| uint32_t mln_open_gl_borrowed_texture_replacement::size |
| size_t mln_open_gl_borrowed_texture_replacement::texture_count |
| const mln_open_gl_borrowed_texture* mln_open_gl_borrowed_texture_replacement::textures |