xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
xcal
render
impl
opengl
core
typedef.hpp
浏览该文件的文档.
1
#pragma once
2
#if defined(GL_BACKEND_GLBINDING) && defined(GL_BACKEND_GLAD)
3
# error "Cannot define both GL_BACKEND_GLBINDING and GL_BACKEND_GLAD"
4
#endif
5
6
typedef
struct
GLFWwindow
GLFWwindow
;
7
namespace
gl
{
8
#ifdef GL_BACKEND_GLBINDING
9
enum class
GLenum :
unsigned
int;
10
#elif defined(GL_BACKEND_GLAD)
11
typedef
unsigned
char
GLboolean;
12
typedef
unsigned
int
GLenum;
13
#endif
14
typedef
unsigned
int
GLbitfield
;
15
typedef
signed
char
GLbyte
;
16
typedef
short
GLshort
;
17
typedef
int
GLint
;
18
typedef
int
GLsizei
;
19
typedef
unsigned
char
GLubyte
;
20
typedef
unsigned
short
GLushort
;
21
typedef
unsigned
int
GLuint
;
22
typedef
float
GLfloat
;
23
typedef
float
GLclampf
;
24
typedef
double
GLdouble
;
25
typedef
double
GLclampd
;
26
typedef
void
GLvoid
;
27
}
// namespace gl
28
29
#ifdef GL_BACKEND_GLBINDING
30
namespace
glbinding {
31
class
GLboolean;
32
};
33
#elif defined(GL_BACKEND_GLAD)
34
#endif
35
36
namespace
xcal::render::opengl::object
{
37
class
Object
;
38
}
39
namespace
xcal::render::opengl::GL
{
40
class
Shader;
41
class
ShaderProgram;
42
class
VertexArrayObject;
43
class
Buffer;
44
}
// namespace xcal::render::opengl::GL
xcal::render::opengl::object::Object
Definition
object.hpp:15
gl
Definition
typedef.hpp:7
gl::GLshort
short GLshort
Definition
typedef.hpp:16
gl::GLfloat
float GLfloat
Definition
typedef.hpp:22
gl::GLbyte
signed char GLbyte
Definition
typedef.hpp:15
gl::GLclampf
float GLclampf
Definition
typedef.hpp:23
gl::GLint
int GLint
Definition
typedef.hpp:17
gl::GLubyte
unsigned char GLubyte
Definition
typedef.hpp:19
gl::GLsizei
int GLsizei
Definition
typedef.hpp:18
gl::GLdouble
double GLdouble
Definition
typedef.hpp:24
gl::GLbitfield
unsigned int GLbitfield
Definition
typedef.hpp:14
gl::GLushort
unsigned short GLushort
Definition
typedef.hpp:20
gl::GLuint
unsigned int GLuint
Definition
typedef.hpp:21
gl::GLclampd
double GLclampd
Definition
typedef.hpp:25
gl::GLvoid
void GLvoid
Definition
typedef.hpp:26
xcal::render::opengl::GL
Definition
rendercommand.hpp:7
xcal::render::opengl::object
Definition
typedef.hpp:36
GLFWwindow
struct GLFWwindow GLFWwindow
Definition
typedef.hpp:6
生成于 2025年 九月 19日 星期五 21:12:12 , 为 xcal使用
1.9.8