gKit2 light
Functions | Variables
tuto5GL_samplers.cpp File Reference
#include "window.h"
#include "vec.h"
#include "mat.h"
#include "program.h"
#include "uniforms.h"
#include "mesh.h"
#include "wavefront.h"
#include "orbiter.h"
#include "image_io.h"
#include <stdio.h>

Go to the source code of this file.

Functions

int init ()
 
int quit ()
 
int draw ()
 
int main (int argc, char **argv)
 

Variables

GLuint program
 
GLuint texture
 
GLuint sampler
 
GLuint sampler_linear
 
GLuint sampler_aniso
 
GLuint vao
 
GLuint vertex_buffer
 
GLuint texcoord_buffer
 
unsigned int vertex_count
 
Orbiter camera