gKit2 light

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Functions
texture.h File Reference
utilitaires openGL
`#include "glcore.h"`
`#include "image.h"`
`#include "image_io.h"`

Go to the source code of this file.

## Functions
GLuint | make_texture (const int unit, const Image &im, const GLenum texel_type=GL_RGBA32F)
GLuint | make_texture (const int unit, const ImageData &im, const GLenum texel_type=GL_RGBA)
GLuint | read_texture (const int unit, const char *filename, const GLenum texel_type=GL_RGBA)
int | miplevels (const int width, const int height)
| renvoie le nombre de mipmap d'une image width x height. More...
int | screenshot (const char *filename)
| enregistre le contenu de la fenetre dans un fichier filename nom de l'image a ecrire. doit etre de type .png / .bmp More...
int | capture (const char *prefix)

## Detailed Description

texture2D openGL.

Definition in file texture.h.