|
||
USINT32 MAKE_TEXTURE_FLAG ( int index, int map, int mode, int flags )
int index; // An integer value that is a texture index int map; // An integer value that is a texture mapping mode int mode; // An integer value that is a texture blending mode int flags; // An integer value that is a texture bit-flag
|
|
|||||||||||||||||||||||||||
Synopsis |
#include "silver.h"
The MAKE_TEXTURE_FLAG macro combines a texture index, map, blend-mode, and flags into a 32-bit unsigned integer value.
|
|
||||||||||||||||||||||||||
Parameters |
index is an integer value that is an index into the global texture table. It must be between 1 and 65535.
map is a texture mapping mode whose meaning is as follows:
mode is a texture decal mode whose meaning is as follows:
flags is a bit-flag whose meaning is as follows. These flags may be combined with the Or operator '|'
|
|
||||||||||||||||||||||||||
Return Value |
MAKE_TEXTURE_FLAG returns a 32-bit unsigned integer value that is appropriate for a Flags field of a TEXTURE_DATA data type. |
|
||||||||||||||||||||||||||
See Also |
TEXTURE_FLAGS, TEXTURE_INDEX, TEXTURE_MAP, TEXTURE_MODE, TEXTURE_DATA |
|