2024-09-16 06:07:01 +00:00
|
|
|
#ifndef TWN_TEXTURES_MODES_H
|
|
|
|
#define TWN_TEXTURES_MODES_H
|
2024-07-28 20:59:23 +00:00
|
|
|
|
2024-10-14 08:46:07 +00:00
|
|
|
/* TODO: rename, as it doesn't have to be about textures only, but blending */
|
|
|
|
/* TODO: move from public /include/ tree */
|
|
|
|
|
2024-07-28 20:59:23 +00:00
|
|
|
/* alpha channel information */
|
2024-09-23 17:43:16 +00:00
|
|
|
typedef enum TextureMode {
|
2024-07-29 22:42:49 +00:00
|
|
|
TEXTURE_MODE_OPAQUE, /* all pixels are solid */
|
|
|
|
TEXTURE_MODE_SEETHROUGH, /* some pixels are alpha zero */
|
|
|
|
TEXTURE_MODE_GHOSTLY, /* arbitrary alpha values */
|
2024-09-23 17:43:16 +00:00
|
|
|
} TextureMode;
|
2024-07-28 20:59:23 +00:00
|
|
|
|
|
|
|
#endif
|