xcal
基于 C++23 的现代图形渲染引擎
|
#include <xcal/render/impl/opengl/utils/openglapiloadhelper.inc>
#include <GLFW/glfw3.h>
#include <cstdlib>
#include <iostream>
函数 | |
void | framebuffer_size_callback (GLFWwindow *window, int w, int h) |
GLFWwindow * | init_glfw () |
void | init_glbackend () |
GLuint | make_shader (const char *vs_src, const char *fs_src) |
int | main () |
void framebuffer_size_callback | ( | GLFWwindow * | window, |
int | w, | ||
int | h | ||
) |
被这些函数引用 init_glfw() , 以及 xcal::render::opengl::OpenGLRender::show().
GLFWwindow * init_glfw | ( | ) |
int main | ( | ) |
引用了 init_glbackend(), init_glfw() , 以及 make_shader().