3ds Max C++ API Reference
Texture Operations

Macros

#define GW_TEX_LEAVE   0
 Use the source pixel value. More...
 
#define GW_TEX_REPLACE   1
 Use the texture pixel value. More...
 
#define GW_TEX_MODULATE   2
 Multiply the source with the texture. More...
 
#define GW_TEX_ADD   3
 Add the source and texture. More...
 
#define GW_TEX_ADD_SIGNED   4
 Add the source and texture with an 0.5 subtraction. More...
 
#define GW_TEX_SUBTRACT   5
 Subtract the source from the texture. More...
 
#define GW_TEX_ADD_SMOOTH   6
 Add the source and the texture then subtract their product. More...
 
#define GW_TEX_ALPHA_BLEND   7
 Alpha blend the texture with the source. More...
 
#define GW_TEX_PREMULT_ALPHA_BLEND   8
 Alpha blend the the source with a premultiplied alpha texture. More...
 
#define GW_TEX_ALPHA_BLEND2   9
 Alpha blend the the source with a premultiplied alpha texture with GL_MODULATE as the tex env instead of GL_DECAL. More...
 

Detailed Description

Macro Definition Documentation

◆ GW_TEX_LEAVE

#define GW_TEX_LEAVE   0

Use the source pixel value.

◆ GW_TEX_REPLACE

#define GW_TEX_REPLACE   1

Use the texture pixel value.

◆ GW_TEX_MODULATE

#define GW_TEX_MODULATE   2

Multiply the source with the texture.

◆ GW_TEX_ADD

#define GW_TEX_ADD   3

Add the source and texture.

◆ GW_TEX_ADD_SIGNED

#define GW_TEX_ADD_SIGNED   4

Add the source and texture with an 0.5 subtraction.

◆ GW_TEX_SUBTRACT

#define GW_TEX_SUBTRACT   5

Subtract the source from the texture.

◆ GW_TEX_ADD_SMOOTH

#define GW_TEX_ADD_SMOOTH   6

Add the source and the texture then subtract their product.

◆ GW_TEX_ALPHA_BLEND

#define GW_TEX_ALPHA_BLEND   7

Alpha blend the texture with the source.

◆ GW_TEX_PREMULT_ALPHA_BLEND

#define GW_TEX_PREMULT_ALPHA_BLEND   8

Alpha blend the the source with a premultiplied alpha texture.

◆ GW_TEX_ALPHA_BLEND2

#define GW_TEX_ALPHA_BLEND2   9

Alpha blend the the source with a premultiplied alpha texture with GL_MODULATE as the tex env instead of GL_DECAL.