diff --git a/functions.html b/functions.html index 3e6bc99..906747e 100644 --- a/functions.html +++ b/functions.html @@ -79,6 +79,9 @@ $(function() {
  • frame_count : renderer_state
  • +
  • framebuffer +: renderer_state +
  • inotify_fd : renderer_state
  • @@ -100,6 +103,9 @@ $(function() {
  • silent : arguments
  • +
  • texture_color_buffer +: renderer_state +
  • time : renderer_state
  • diff --git a/functions_vars.html b/functions_vars.html index a6ba2f9..f5a90b9 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -79,6 +79,9 @@ $(function() {
  • frame_count : renderer_state
  • +
  • framebuffer +: renderer_state +
  • inotify_fd : renderer_state
  • @@ -100,6 +103,9 @@ $(function() {
  • silent : arguments
  • +
  • texture_color_buffer +: renderer_state +
  • time : renderer_state
  • diff --git a/globals.html b/globals.html index 1c61311..c1ed7a7 100644 --- a/globals.html +++ b/globals.html @@ -94,8 +94,8 @@ $(function() { , renderer.h
  • initialize_shaders() -: shaders.c -, shaders.h +: shaders.c +, shaders.h
  • initialize_vertices() : renderer.c diff --git a/globals_func.html b/globals_func.html index 57fd9c2..d5e6206 100644 --- a/globals_func.html +++ b/globals_func.html @@ -85,8 +85,8 @@ $(function() { , renderer.h
  • initialize_shaders() -: shaders.h -, shaders.c +: shaders.h +, shaders.c
  • initialize_vertices() : renderer.c diff --git a/renderer_8h_source.html b/renderer_8h_source.html index 81c0195..4d24620 100644 --- a/renderer_8h_source.html +++ b/renderer_8h_source.html @@ -86,24 +86,27 @@ $(function() {
    20  GLFWwindow *window;
    21  struct shader_state screen_shader;
    22  struct shader_state buffer_shader;
    -
    23  int inotify_fd;
    -
    24  size_t frame_count;
    -
    25  size_t prev_frame_count;
    -
    26  double time;
    -
    27  double prev_time;
    -
    28 };
    -
    29 
    -
    30 GLFWwindow *initialize_window(int width, int height);
    -
    31 unsigned int initialize_vertices();
    -
    32 unsigned int initialize_framebuffer(unsigned int *framebuffer,
    -
    33  unsigned int *texture_color_buffer,
    -
    34  unsigned int texture_width,
    -
    35  unsigned int texture_height);
    -
    36 void framebuffer_size_callback(GLFWwindow *window, int width, int height);
    -
    37 
    -
    38 #endif /* RENDERER_H */
    +
    23  unsigned int framebuffer;
    +
    24  unsigned int
    +
    25  texture_color_buffer;
    +
    26  int inotify_fd;
    +
    27  size_t frame_count;
    +
    28  size_t prev_frame_count;
    +
    29  double time;
    +
    30  double prev_time;
    +
    31 };
    +
    32 
    +
    33 GLFWwindow *initialize_window(int width, int height);
    +
    34 unsigned int initialize_vertices();
    +
    35 unsigned int initialize_framebuffer(unsigned int *framebuffer,
    +
    36  unsigned int *texture_color_buffer,
    +
    37  unsigned int texture_width,
    +
    38  unsigned int texture_height);
    +
    39 void framebuffer_size_callback(GLFWwindow *window, int width, int height);
    +
    40 
    +
    41 #endif /* RENDERER_H */
    -
    size_t frame_count
    Definition: renderer.h:24
    +
    size_t frame_count
    Definition: renderer.h:27
    unsigned int program
    Definition: renderer.h:10
    unsigned int initialize_vertices()
    Initialize the vertex array.
    Definition: renderer.c:58
    const char * filename
    Definition: renderer.h:11
    @@ -111,15 +114,17 @@ $(function() {
    Definition: renderer.h:19
    struct shader_state buffer_shader
    Definition: renderer.h:22
    GLFWwindow * window
    Definition: renderer.h:20
    +
    unsigned int framebuffer
    Definition: renderer.h:23
    Definition: renderer.h:9
    void framebuffer_size_callback(GLFWwindow *window, int width, int height)
    Callback to adjust the size of the viewport when the window is resized.
    Definition: renderer.c:141
    -
    int inotify_fd
    Definition: renderer.h:23
    -
    double prev_time
    Definition: renderer.h:27
    +
    int inotify_fd
    Definition: renderer.h:26
    +
    double prev_time
    Definition: renderer.h:30
    int wd
    Definition: renderer.h:12
    struct shader_state screen_shader
    Definition: renderer.h:21
    -
    size_t prev_frame_count
    Definition: renderer.h:25
    +
    size_t prev_frame_count
    Definition: renderer.h:28
    GLFWwindow * initialize_window(int width, int height)
    Initialize GLFW and OpenGL, and create a window.
    Definition: renderer.c:16
    -
    double time
    Definition: renderer.h:26
    +
    double time
    Definition: renderer.h:29
    +
    unsigned int texture_color_buffer
    Definition: renderer.h:25