libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
glutils_lines_t Struct Reference

#include <glutils.h>

Data Fields

GLuint vao
 
GLuint vbo
 
bool_t setup
 
size_t num_vtx
 

Detailed Description

Deprecated:
The glutils_lines_t functionality is deprecated, as it relies on legacy GL_LINE_STRIP functionality of the OpenGL driver. See glutils_nl_t for a modern replacement.

Utility system to allow you to use the programmable rendering pipeline while drawing lines using the GL_LINE_STRIP rendering mode. To initialize a glutils_lines_t object, use glutils_init_3D_lines(). The created object can then be drawn using glutils_draw_lines(). After you are done with it, destroy it using glutils_destroy_lines().

Definition at line 98 of file glutils.h.

Field Documentation

◆ num_vtx

size_t num_vtx

Definition at line 102 of file glutils.h.

◆ setup

bool_t setup

Definition at line 101 of file glutils.h.

◆ vao

GLuint vao

Definition at line 99 of file glutils.h.

◆ vbo

GLuint vbo

Definition at line 100 of file glutils.h.


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