11 #ifndef __IMG_FILE_TYPES__
12 #define __IMG_FILE_TYPES__
83 static inline const char *
90 default:
return "default";
101 static inline const char *
108 default:
return "default";
112 #define IMG_DT_ALL ((IMG_DataType)0x1F)
170 bool interleave =
true)
202 #define IMG_CM_SIZE 0x0F
203 #define IMG_CM_ALL ((IMG_ColorModel)0x0F)
227 IMGcolorModelFromVectorSize(
int vsize)
258 static inline const char *
265 default:
return "default";
269 static inline const char *
276 default:
return "default";
IMG_ImageType
Type of image we want to create or have opened.
IMG_API IMG_DataType IMGgetDataTypeFromName(const char *name)
IMG_TypeInfo
How the channel data should be interpreted.
IMG_API const char * IMGgetNameFromColorModel(IMG_ColorModel type_info)
IMG_API IMG_TypeInfo IMGgetTypeInfoFromName(const char *name)
IMG_API IMG_ColorModel IMGgetColorModelFromName(const char *name)
GLdouble GLdouble GLint GLint order
GLuint const GLchar * name
IMG_API const char * IMGgetNameFromDataType(IMG_DataType type)
IMG_API IMG_DepthInterp IMGgetDepthInterpFromName(const char *name)
IMG_API const char * IMGgetNameFromTypeInfo(IMG_TypeInfo type_info)
IMG_API const char * IMGgetNameFromDepthInterp(IMG_DepthInterp type)