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