Struct

MaplibreNativeFfiOpenGlTextureFrame

Description [src]

struct MaplibreNativeFfiOpenGlTextureFrame {
  guint32 width;
  guint32 height;
  gdouble scale_factor;
  guint32 slot;
  guint32 texture;
  guint32 target;
}

The OpenGL texture of an acquired frame.

See mln_open_gl_texture_frame in the C API reference.

Structure members
width: guint32

Width.

height: guint32

Height.

scale_factor: gdouble

Scale_factor.

slot: guint32

The texture’s index in the descriptor’s textures.

texture: guint32

Texture.

target: guint32

Target.