MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_opengl_borrowed_texture_descriptor Struct Reference

#include <texture.h>

Data Fields

mln_render_target_extent extent
 
mln_opengl_context_descriptor context
 
uint32_t texture
 
uint32_t target
 

Detailed Description

OpenGL caller-owned texture session attachment options.

Field Documentation

◆ context

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.

◆ extent

mln_render_target_extent mln_opengl_borrowed_texture_descriptor::extent

Logical texture extent.

◆ target

uint32_t mln_opengl_borrowed_texture_descriptor::target

OpenGL texture target. GL_TEXTURE_2D is the expected target.

◆ texture

uint32_t mln_opengl_borrowed_texture_descriptor::texture

Borrowed OpenGL texture object name. Required.


The documentation for this struct was generated from the following file: