CustusX  22.04-rc5
An IGT application
texture.h File Reference
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <GL/glew.h>
#include <glut.h>

Go to the source code of this file.

Macros

#define MAX_TEXTURE_SIZE   1000
 

Functions

template<typename TYPE >
TYPE * generateTexture (unsigned int x, unsigned int y, unsigned int z, TYPE red, TYPE green, TYPE blue, TYPE alpha, bool debug=false)
 

Macro Definition Documentation

#define MAX_TEXTURE_SIZE   1000

Definition at line 14 of file texture.h.

Function Documentation

template<typename TYPE >
TYPE* generateTexture ( unsigned int  x,
unsigned int  y,
unsigned int  z,
TYPE  red,
TYPE  green,
TYPE  blue,
TYPE  alpha,
bool  debug = false 
)

Definition at line 19 of file texture.h.