diff --git a/annotated.html b/annotated.html index 0c80ae0..a6a6a41 100644 --- a/annotated.html +++ b/annotated.html @@ -69,8 +69,9 @@ $(function() {
Crenderer_state | |
Cshader_state | |
Carguments | |
Crenderer_state | |
Cshader_state |
| ||||||
|
+
|
|
||||
renderer_state | +||||||
arguments | +renderer_state | shader_state | ||||
+ ShaderTool
+ 0.1
+
+ Live tool for developing OpenGL shaders interactively
+ |
+
+Data Structures | |
struct | arguments |
Macros | |
#define | WINDOW_WIDTH 800 |
int | main (int argc, char *argv[]) |
+Variables | |
const char * | argp_program_version = "0.1" |
const char * | argp_program_bug_address |
const char* argp_program_bug_address | +
const char* argp_program_version = "0.1" | +
#include <GL/glew.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/inotify.h>
#include "log.h"
#include "renderer.h"
#include "shaders.h"
Functions | |
char * | read_file (const char *const filename) |
Reads a file in a heap-allocated buffer. More... | |
int | initialize_shaders (struct renderer_state *state, const char *shader_file, const char *buffer_file) |
Initialize shaders and setup inotify if required. More... | |
int | compile_shaders (unsigned int *shader_program, const char *const fragment_shader_file) |
Compile shaders from source files. More... | |
char * | read_file (const char *const filename) |
Reads a file in a heap-allocated buffer. More... | |
int initialize_shaders | +( | +struct renderer_state * | +state, | +
+ | + | const char * | +shader_file, | +
+ | + | const char * | +buffer_file | +
+ | ) | ++ |
Initialize shaders and setup inotify if required.
+state | The target renderer state. |
shader_file | The file name of the screen shader. |
buffer_file | The file name of the buffer shader, or NULL if no buffer shader. |
#include "renderer.h"
Functions | |
char * | read_file (const char *const filename) |
Reads a file in a heap-allocated buffer. More... | |
int | initialize_shaders (struct renderer_state *state, const char *shader_file, const char *buffer_file) |
Initialize shaders and setup inotify if required. More... | |
int | compile_shaders (unsigned int *shader_program, const char *const fragment_shader_file) |
Compile shaders from source files. More... | |
char * | read_file (const char *const filename) |
Reads a file in a heap-allocated buffer. More... | |
int initialize_shaders | +( | +struct renderer_state * | +state, | +
+ | + | const char * | +shader_file, | +
+ | + | const char * | +buffer_file | +
+ | ) | ++ |
Initialize shaders and setup inotify if required.
+state | The target renderer state. |
shader_file | The file name of the screen shader. |
buffer_file | The file name of the buffer shader, or NULL if no buffer shader. |
+ ShaderTool
+ 0.1
+
+ Live tool for developing OpenGL shaders interactively
+ |
+
+Data Fields | |
char * | shader_file |
bool | verbose |
bool | silent |
bool | autoreload |
char * | buffer_file |
bool arguments::autoreload | +
char* arguments::buffer_file | +
char* arguments::shader_file | +
bool arguments::silent | +
bool arguments::verbose | +