Stores data about the current opengl environment.
More...
#include <opengl.h>
Stores data about the current opengl environment.
Definition at line 37 of file opengl.h.
How many alpha bits we have.
Definition at line 65 of file opengl.h.
How many blue bits we have.
Definition at line 64 of file opengl.h.
◆ context
| SDL_GLContext glInfo::context |
Context for OpenGL.
Definition at line 71 of file opengl.h.
◆ current_fbo
| GLuint glInfo::current_fbo |
Current framebuffer.
Definition at line 72 of file opengl.h.
◆ depth
Depth in bpp
Definition at line 61 of file opengl.h.
◆ dhscale
Drawable width scale factor.
Definition at line 58 of file opengl.h.
◆ dwscale
Drawable height scale factor.
Definition at line 57 of file opengl.h.
◆ fbo
| GLuint glInfo::fbo[OPENGL_NUM_FBOS] |
Framebuffers.
Definition at line 73 of file opengl.h.
◆ fbo_depth_tex
| GLuint glInfo::fbo_depth_tex[OPENGL_NUM_FBOS] |
Depth texture for framebuffers.
Definition at line 76 of file opengl.h.
◆ fbo_tex
| GLuint glInfo::fbo_tex[OPENGL_NUM_FBOS] |
◆ flags
| unsigned int glInfo::flags |
Stores different properties
Definition at line 66 of file opengl.h.
◆ fsaa
How many green bits we have.
Definition at line 63 of file opengl.h.
◆ glsl
GLSL version.
Definition at line 40 of file opengl.h.
Window viewport height.
Definition at line 45 of file opengl.h.
◆ hscale
Height scale factor.
Definition at line 56 of file opengl.h.
◆ major
OpenGL major version.
Definition at line 38 of file opengl.h.
◆ minor
OpenGL minor version.
Definition at line 39 of file opengl.h.
◆ multitex_max
Maximum multitexture levels
Definition at line 68 of file opengl.h.
◆ mxscale
Mouse X scale factor.
Definition at line 59 of file opengl.h.
◆ myscale
Mouse y scale factor.
Definition at line 60 of file opengl.h.
◆ nh
Scaled window height.
Definition at line 49 of file opengl.h.
◆ nw
Scaled window width.
Definition at line 48 of file opengl.h.
How many red bits we have.
Definition at line 62 of file opengl.h.
◆ rh
Real window height.
Definition at line 53 of file opengl.h.
◆ rw
Real window width.
Definition at line 52 of file opengl.h.
◆ scale
Scale factor.
Definition at line 54 of file opengl.h.
◆ tex_max
Maximum texture size
Definition at line 67 of file opengl.h.
Window viewport width.
Definition at line 44 of file opengl.h.
◆ window
| SDL_Window* glInfo::window |
Window for SDL2.
Definition at line 70 of file opengl.h.
◆ wscale
Width scale factor.
Definition at line 55 of file opengl.h.
X offset of window viewport.
Definition at line 41 of file opengl.h.
Y offset of window viewport.
Definition at line 42 of file opengl.h.
The documentation for this struct was generated from the following file:
- /pbulk/work/games/naev/work/naev-0.12.6/src/opengl.h