Skip to content
tiffany352 edited this page Jan 1, 2013 · 1 revision

Macros

#define ILG_TUNIT_NONE      (0)
#define ILG_TUNIT_COLOR0    (1<<0)
#define ILG_TUNIT_NORMAL0   (1<<6)
#define ILG_TUNIT_BUMP0     (1<<12)
#define ILG_TUNIT_SHADOW0   (1<<18)
#define ILG_TUNIT_HEIGHT0   (1<<24)

A set of definitions for texture unit usages.

#define ILG_TUNIT_ACTIVE(ilG_context* context, GLuint unit, unsigned type) ...

Tells the context that the given texture unit is going to be used for the given type. This information should be assigned by the material (during binding) and read by the texture (during updating).

Clone this wiki locally