Functions | Variables
msaa.c File Reference
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "linmath.h"
#include <stdio.h>
#include <stdlib.h>
#include "getopt.h"
Include dependency graph for msaa.c:

Go to the source code of this file.

Functions

static void error_callback (int error, const char *description)
 
static void key_callback (GLFWwindow *window, int key, int scancode, int action, int mods)
 
int main (int argc, char **argv)
 
static void usage (void)
 

Variables

static const char * fragment_shader_text
 
static const char * vertex_shader_text
 
static const vec2 vertices [4]
 

Function Documentation

static void error_callback ( int  error,
const char *  description 
)
static

Definition at line 71 of file msaa.c.

static void key_callback ( GLFWwindow window,
int  key,
int  scancode,
int  action,
int  mods 
)
static

Definition at line 76 of file msaa.c.

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file msaa.c.

static void usage ( void  )
static

Definition at line 92 of file msaa.c.

Variable Documentation

const char* fragment_shader_text
static
Initial value:
=
"#version 110\n"
"void main()\n"
"{\n"
" gl_FragColor = vec4(1.0);\n"
"}\n"

Definition at line 64 of file msaa.c.

const char* vertex_shader_text
static
Initial value:
=
"#version 110\n"
"uniform mat4 MVP;\n"
"attribute vec2 vPos;\n"
"void main()\n"
"{\n"
" gl_Position = MVP * vec4(vPos, 0.0, 1.0);\n"
"}\n"

Definition at line 55 of file msaa.c.

const vec2 vertices[4]
static
Initial value:
=
{
{ -0.6f, -0.6f },
{ 0.6f, -0.6f },
{ 0.6f, 0.6f },
{ -0.6f, 0.6f }
}

Definition at line 47 of file msaa.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:27