[ Maverik Level 1 functions ]


mav_paletteTextureAlphaSet

Summary

Set the alpha component of a palette texture.


Syntax

void mav_paletteTextureAlphaSet(MAV_palette *p, int index, float a);


Description

This function sets the alpha component of the texture in entry index of the texture table in palette p. alpha is in the range 0 (fully transparent) to 1 (fully opaque).


Back to the index page.