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>BlendFactor</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::<a href="../../../../nw/gfx/res/ResBlendOperation/Overview.html">ResBlendOperation</a>::BlendFactor</CODE> Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum BlendFactor;
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>BLENDFACTOR_ZERO</CODE></th>
28          <td>Uses 0 for the specified component.</td>
29        </tr>
30        <tr>
31          <th><CODE>BLENDFACTOR_ONE</CODE></th>
32          <td>Uses 1 for the specified component.</td>
33        </tr>
34        <tr>
35          <th><CODE>BLENDFACTOR_SRC_COLOR</CODE></th>
36          <td>Uses the source color for the specified component.</td>
37        </tr>
38        <tr>
39          <th><CODE>BLENDFACTOR_ONE_MINUS_SRC_COLOR</CODE></th>
40          <td>Uses the 1 minus the source color for the specified component.</td>
41        </tr>
42        <tr>
43          <th><CODE>BLENDFACTOR_DST_COLOR</CODE></th>
44          <td>Uses the destination color for the specified component.</td>
45        </tr>
46        <tr>
47          <th><CODE>BLENDFACTOR_ONE_MINUS_DST_COLOR</CODE></th>
48          <td>Uses the 1 minus the destination color for the specified component.</td>
49        </tr>
50        <tr>
51          <th><CODE>BLENDFACTOR_SRC_ALPHA</CODE></th>
52          <td>Uses the source alpha for the specified component.</td>
53        </tr>
54        <tr>
55          <th><CODE>BLENDFACTOR_ONE_MINUS_SRC_ALPHA</CODE></th>
56          <td>Uses the 1 minus the source alpha for the specified component.</td>
57        </tr>
58        <tr>
59          <th><CODE>BLENDFACTOR_DST_ALPHA</CODE></th>
60          <td>Uses the destination color for the specified component.</td>
61        </tr>
62        <tr>
63          <th><CODE>BLENDFACTOR_ONE_MINUS_DST_ALPHA</CODE></th>
64          <td>Uses the 1 minus the destination alpha for the specified component.</td>
65        </tr>
66        <tr>
67          <th><CODE>BLENDFACTOR_CONSTANT_COLOR</CODE></th>
68          <td>Uses the constant color (blend color) for the specified component.</td>
69        </tr>
70        <tr>
71          <th><CODE>BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR</CODE></th>
72          <td>Uses the 1 minus the constant color for the specified component.</td>
73        </tr>
74        <tr>
75          <th><CODE>BLENDFACTOR_CONSTANT_ALPHA</CODE></th>
76          <td>Uses the constant alpha (blend color) for the specified component.</td>
77        </tr>
78        <tr>
79          <th><CODE>BLENDFACTOR_ONE_MINUS_CONSTANT_ALPHA</CODE></th>
80          <td>Uses the 1 minus the constant alpha for the specified component.</td>
81        </tr>
82        <tr>
83          <th><CODE>BLENDFACTOR_SRC_ALPHA_SATURATE</CODE></th>
84          <td>Uses MIN(source alpha, 1 minus the destination alpha) for the specified component.</td>
85        </tr>
86      </table> </div>
87    <h2>Description</h2>
88    <div class="section">
89      <p>Definition of I/O components.</p><p>MIN(a,b) represents the smaller of a and b.</p></div>
90  <hr><p>CONFIDENTIAL</p></body>
91</html>
92