❖
Monad Engine
da02fba2
>
Undercity Codex
_
Loading...
Searching...
No Matches
GLForward.h
Go to the documentation of this file.
1
#pragma once
2
3
// Forward declarations for the few GL types that public engine headers expose
4
// in their member layouts (Texture, Mesh, ShaderProgram, VertexLayout).
5
//
6
// Pulling <GL/glew.h> into a header drags ~30k lines into every TU that
7
// includes it transitively. The OpenGL spec fixes these typedefs, so we can
8
// safely declare them here and keep the heavy GLEW include confined to .cpp
9
// files. C/C++ permit identical typedef redeclarations, so TUs that *do*
10
// include GLEW after this header still compile cleanly.
11
typedef
unsigned
int
GLuint
;
12
typedef
unsigned
int
GLenum
;
13
typedef
int
GLint
;
14
typedef
int
GLsizei
;
GLint
int GLint
Definition
GLForward.h:13
GLenum
unsigned int GLenum
Definition
GLForward.h:12
GLsizei
int GLsizei
Definition
GLForward.h:14
GLuint
unsigned int GLuint
Definition
GLForward.h:11
engine
source
graphics
GLForward.h
Generated by
1.9.8