[ Maverik Level 3 functions ]


mav_paletteTextureEnvSet

Summary

Set a palette texture environment callback.


Syntax

int mav_paletteTextureEnvSet(MAV_palette *p, int index, MAV_texEnvFn fn);


Description

When the kernel detects that the texture environment has been changed (by the application calling mav_surfaceParamsUse), it calls a callback function registered by this function. The callback is responsible for setting the environment by calling the appropriate graphics (OpenGL) functions, and is set by default to be mav_texEnvDefault.


See also

mav_texEnvDefault, mav_surfaceParamsUse.


Back to the index page.