11 #ifndef __IMG_FILE_TYPES__
12 #define __IMG_FILE_TYPES__
84 static inline const char *
91 default:
return "default";
102 static inline const char *
109 default:
return "default";
113 #define IMG_DT_ALL ((IMG_DataType)0x1F)
171 bool interleave =
true)
203 #define IMG_CM_SIZE 0x0F
204 #define IMG_CM_ALL ((IMG_ColorModel)0x0F)
228 IMGcolorModelFromVectorSize(
int vsize)
259 static inline const char *
266 default:
return "default";
270 static inline const char *
277 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)