GLUS
glus_image.h
Go to the documentation of this file.
1 /*
2  * GLUS - Modern OpenGL, OpenGL ES and OpenVG Utilities. Copyright (C) since 2010 Norbert Nopper
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef GLUS_IMAGE_H_
19 #define GLUS_IMAGE_H_
20 
24 typedef struct _GLUStgaimage
25 {
30 
35 
40 
45 
56 
57 } GLUStgaimage;
58 
62 typedef struct _GLUShdrimage
63 {
68 
73 
78 
83 
88 
89 } GLUShdrimage;
90 
94 typedef struct _GLUSpkmimage
95 {
100 
105 
110 
115 
120 
125 
126 } GLUSpkmimage;
127 
128 #endif /* GLUS_IMAGE_H_ */
GLUSubyte * data
Pixel data.
Definition: glus_image.h:44
GLUSenum internalformat
Internal format of the PKM image.
Definition: glus_image.h:124
GLUSushort height
Height of the HDR image.
Definition: glus_image.h:72
int GLUSint
Definition: glus_typedef.h:27
float GLUSfloat
Definition: glus_typedef.h:37
GLUSushort width
Width of the PKM image.
Definition: glus_image.h:99
struct _GLUStgaimage GLUStgaimage
Structure used for Targa Image File loading.
GLUSubyte * data
Pixel data.
Definition: glus_image.h:114
GLUSushort depth
Depth of the image.
Definition: glus_image.h:109
GLUSushort height
Height of the TGA image.
Definition: glus_image.h:34
Structure used for Targa Image File loading.
Definition: glus_image.h:24
GLUSushort depth
Depth of the image.
Definition: glus_image.h:39
unsigned int GLUSenum
Definition: glus_typedef.h:33
GLUSint imageSize
The image size in bytes.
Definition: glus_image.h:119
GLUSushort width
Width of the TGA image.
Definition: glus_image.h:29
GLUSfloat * data
Pixel data.
Definition: glus_image.h:82
unsigned char GLUSubyte
Definition: glus_typedef.h:23
GLUSushort width
Width of the HDR image.
Definition: glus_image.h:67
GLUSushort height
Height of the PKM image.
Definition: glus_image.h:104
GLUSenum format
Format of the HDR image.
Definition: glus_image.h:87
Structure used for PKM Image File loading.
Definition: glus_image.h:94
GLUSenum format
Format of the TGA image.
Definition: glus_image.h:55
struct _GLUSpkmimage GLUSpkmimage
Structure used for PKM Image File loading.
GLUSushort depth
Depth of the image.
Definition: glus_image.h:77
Structure used for HDR Image File loading.
Definition: glus_image.h:62
struct _GLUShdrimage GLUShdrimage
Structure used for HDR Image File loading.
unsigned short GLUSushort
Definition: glus_typedef.h:26