1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <title>Combine</title>
8  </head>
9  <body>
10    <h1>nw::gfx::res::ResTextureCombiner::Combine Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum Combine;
15</pre>
16    </div>
17    <h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <th>Value</th>
23            <td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27          <th><CODE>COMBINE_REPLACE</CODE></th>
28          <td>A</td>
29        </tr>
30        <tr>
31          <th><CODE>COMBINE_MODULATE</CODE></th>
32          <td>A x B.</td>
33        </tr>
34        <tr>
35          <th><CODE>COMBINE_ADD</CODE></th>
36          <td>A + B.</td>
37        </tr>
38        <tr>
39          <th><CODE>COMBINE_ADDSIGNED</CODE></th>
40          <td>A + B - 0.5</td>
41        </tr>
42        <tr>
43          <th><CODE>COMBINE_INTERPOLATE</CODE></th>
44          <td>A × C + B × ( 1 - C )</td>
45        </tr>
46        <tr>
47          <th><CODE>COMBINE_SUBTRACT</CODE></th>
48          <td>A - B.</td>
49        </tr>
50        <tr>
51          <th><CODE>COMBINE_DOT3_RGB</CODE></th>
52          <td>RGB ← Dot ( A , B )</td>
53        </tr>
54        <tr>
55          <th><CODE>COMBINE_DOT3_RGBA</CODE></th>
56          <td>RGBA ← Dot ( A , B )</td>
57        </tr>
58        <tr>
59          <th><CODE>COMBINE_MULT_ADD</CODE></th>
60          <td>( A × B ) + C</td>
61        </tr>
62        <tr>
63          <th><CODE>COMBINE_ADD_MULT</CODE></th>
64          <td>( A + B ) x C</td>
65        </tr>
66      </table> </div>
67    <h2>Description</h2>
68    <div class="section">
69      <p>Definition of the combiner function for a texture combiner.</p><p>Where, A represents Source 0, B represents Source 1, and C represents Source 2.</p></div>
70  <hr><p>CONFIDENTIAL</p></body>
71</html>