nw::gfx::res::ResTextureCombiner::Combine Enumerated Type

Syntax

enum Combine;

Value

Value Description
COMBINE_REPLACE A
COMBINE_MODULATE A x B.
COMBINE_ADD A + B.
COMBINE_ADDSIGNED A + B - 0.5
COMBINE_INTERPOLATE A × C + B × ( 1 - C )
COMBINE_SUBTRACT A - B.
COMBINE_DOT3_RGB RGB ← Dot ( A , B )
COMBINE_DOT3_RGBA RGBA ← Dot ( A , B )
COMBINE_MULT_ADD ( A × B ) + C
COMBINE_ADD_MULT ( A + B ) x C

Description

Definition of the combiner function for a texture combiner.

Where, A represents Source 0, B represents Source 1, and C represents Source 2.


CONFIDENTIAL