Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/dds/dds_api.h
| Show All 22 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "../../IMB_imbuf.h" | #include "../../IMB_imbuf.h" | ||||
| int imb_is_a_dds(const unsigned char *mem); /* use only first 32 bytes of mem */ | int imb_is_a_dds(const unsigned char *mem); /* use only first 32 bytes of mem */ | ||||
| int imb_save_dds(struct ImBuf *ibuf, const char *name, int flags); | int imb_save_dds(struct ImBuf *ibuf, const char *name, eImBufFlags flags); | ||||
| struct ImBuf *imb_load_dds(const unsigned char *mem, | struct ImBuf *imb_load_dds(const unsigned char *mem, | ||||
| size_t size, | size_t size, | ||||
| int flags, | eImBufFlags flags, | ||||
| char colorspace[IM_MAX_SPACE]); | char colorspace[IM_MAX_SPACE]); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __DDS_API_H */ | #endif /* __DDS_API_H */ | ||||