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>SetValue</title>
8  </head>
9  <body>
10    <h1>nw::gfx::res::ResShaderParameterValue::SetValue Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void SetValue(
15     bool value
16);
17
18void SetValue(
19     <span>f32</span> x
20);
21
22void SetValue(
23     <span>f32</span> x,
24     <span>f32</span> y
25);
26
27void SetValue(
28     const math::VEC2 & value
29);
30
31void SetValue(
32     <span>f32</span> x,
33     <span>f32</span> y,
34     <span>f32</span> z
35);
36
37void SetValue(
38     const math::VEC3 & value
39);
40
41void SetValue(
42     <span>f32</span> x,
43     <span>f32</span> y,
44     <span>f32</span> z,
45     <span>f32</span> w
46);
47
48void SetValue(
49     const math::VEC4 & value
50);
51</pre>
52    </div>
53    <h2>List of Overloaded Member Functions</h2>
54    <div class="section">
55      <table class="members">
56        <tr>
57          <td>
58            <a href="./SetValue(0).html">SetValue ( bool ) </a>
59          </td>
60          <td>Sets the value when the type is <CODE>TYPE_BOOL1</CODE>.</td>
61        </tr>
62        <tr>
63          <td>
64            <a href="./SetValue(1).html">SetValue ( f32 ) </a>
65          </td>
66          <td>Sets the value when the type is <CODE>TYPE_FLOAT1</CODE>.</td>
67        </tr>
68        <tr>
69          <td>
70            <a href="./SetValue(2).html">SetValue ( f32, f32 ) </a>
71          </td>
72          <td>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</td>
73        </tr>
74        <tr>
75          <td>
76            <a href="./SetValue(3).html">SetValue ( const math::VEC2 & ) </a>
77          </td>
78          <td>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</td>
79        </tr>
80        <tr>
81          <td>
82            <a href="./SetValue(4).html">SetValue ( f32, f32, f32 ) </a>
83          </td>
84          <td>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</td>
85        </tr>
86        <tr>
87          <td>
88            <a href="./SetValue(5).html">SetValue ( const math::VEC3 & ) </a>
89          </td>
90          <td>Sets the value when the type is <CODE>TYPE_FLOAT3</CODE>.</td>
91        </tr>
92        <tr>
93          <td>
94            <a href="./SetValue(6).html">SetValue ( f32, f32, f32, f32 ) </a>
95          </td>
96          <td>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</td>
97        </tr>
98        <tr>
99          <td>
100            <a href="./SetValue(7).html">SetValue ( const math::VEC4 & ) </a>
101          </td>
102          <td>Sets the value when the type is <CODE>TYPE_FLOAT4</CODE>.</td>
103        </tr> </table>
104    </div>
105    <h2>Description of <CODE>SetValue ( bool ) </CODE></h2>
106    <div class="section">
107      <p>Sets the value when the type is <CODE>TYPE_BOOL1</CODE>.</p>
108    </div>
109    <h2>Description of <CODE>SetValue ( f32 ) </CODE></h2>
110    <div class="section">
111      <p>Sets the value when the type is <CODE>TYPE_FLOAT1</CODE>.</p>
112    </div>
113    <h2>Description of <CODE>SetValue ( f32, f32 ) </CODE></h2>
114    <div class="section">
115      <p>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</p>
116    </div>
117    <h2>Description of <CODE>SetValue ( const math::VEC2 & )</CODE></h2>
118    <div class="section">
119      <p>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</p>
120    </div>
121    <h2>Description of <CODE>SetValue ( f32, f32, f32 )</CODE></h2>
122    <div class="section">
123      <p>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</p>
124    </div>
125    <h2>Description of <CODE>SetValue ( const math::VEC3 & ) </CODE></h2>
126    <div class="section">
127      <p>Sets the value when the type is <CODE>TYPE_FLOAT3</CODE>.</p>
128    </div>
129    <h2>Description of <CODE>SetValue ( f32, f32, f32, f32 ) </CODE></h2>
130    <div class="section">
131      <p>Sets the value when the type is <CODE>TYPE_FLOAT2</CODE>.</p>
132    </div>
133    <h2>Description of <CODE>SetValue ( const math::VEC4 & ) </CODE> </h2>
134    <div class="section">
135      <p>Sets the value when the type is <CODE>TYPE_FLOAT4</CODE>.</p>
136    </div>
137  <hr><p>CONFIDENTIAL</p></body>
138</html>