[1488] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
| 3 | <title>Indirect Environment Mapping: EnvMap_small.fx File Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | </head><body> |
---|
| 6 | <!-- Generated by Doxygen 1.4.2 --> |
---|
| 7 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
| 8 | <h1>EnvMap_small.fx File Reference</h1><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 9 | <tr><td></td></tr> |
---|
| 10 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
| 11 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_v_s___i_n_p_u_t.html">VS_INPUT</a></td></tr> |
---|
| 12 | |
---|
| 13 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_v_s___o_u_t_p_u_t.html">VS_OUTPUT</a></td></tr> |
---|
| 14 | |
---|
| 15 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_v_s___i_n_p_u_tc.html">VS_INPUTc</a></td></tr> |
---|
| 16 | |
---|
| 17 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_v_s___o_u_t_p_u_tc.html">VS_OUTPUTc</a></td></tr> |
---|
| 18 | |
---|
| 19 | <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
---|
| 20 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a0">CUBEMAP_SIZE</a> 256</td></tr> |
---|
| 21 | |
---|
| 22 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a1">LR_CUBEMAP_SIZE</a> 32</td></tr> |
---|
| 23 | |
---|
| 24 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a2">RATE</a> (CUBEMAP_SIZE/<a class="el" href="_env_map_8fx.html#a10">LR_CUBEMAP_SIZE</a>)</td></tr> |
---|
| 25 | |
---|
| 26 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a3">Technique</a>(name)</td></tr> |
---|
| 27 | |
---|
| 28 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
| 29 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a26">GetContibution</a> (float3 q, float3 L)</td></tr> |
---|
| 30 | |
---|
| 31 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_v_s___o_u_t_p_u_tc.html">VS_OUTPUTc</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a27">ConvolutionVS</a> (<a class="el" href="struct_v_s___i_n_p_u_tc.html">VS_INPUTc</a> IN)</td></tr> |
---|
| 32 | |
---|
| 33 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a28">ConvolutionPS</a> (<a class="el" href="struct_v_s___o_u_t_p_u_tc.html">VS_OUTPUTc</a> IN)</td></tr> |
---|
| 34 | |
---|
| 35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a29">Technique</a> (Convolution)</td></tr> |
---|
| 36 | |
---|
| 37 | <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
---|
| 38 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a4">TEXTURE_SIZE</a></td></tr> |
---|
| 39 | |
---|
| 40 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a5">World</a></td></tr> |
---|
| 41 | |
---|
| 42 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a6">WorldView</a></td></tr> |
---|
| 43 | |
---|
| 44 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a7">WorldViewIT</a></td></tr> |
---|
| 45 | |
---|
| 46 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a8">WorldViewProjection</a></td></tr> |
---|
| 47 | |
---|
| 48 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a9">texel_size</a></td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a10">roomSize</a></td></tr> |
---|
| 51 | |
---|
| 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a11">eyePos</a></td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a12">objColor</a></td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a13">objOffset</a></td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a14">iShowCubeMap</a></td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a15">sFresnel</a></td></tr> |
---|
| 61 | |
---|
| 62 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a16">refractionIndex</a></td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a17">intensity</a></td></tr> |
---|
| 65 | |
---|
| 66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a18">shininess</a></td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a19">brightness</a></td></tr> |
---|
| 69 | |
---|
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a20">EnvironmentMap</a></td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a21">Decoration</a></td></tr> |
---|
| 73 | |
---|
| 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a22">nFace</a></td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a23">EnvironmentMapSampler</a></td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a24">EnvironmentMapSamplerL</a></td></tr> |
---|
| 79 | |
---|
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map__small_8fx.html#a25">DecorationSampler</a></td></tr> |
---|
| 81 | |
---|
| 82 | </table> |
---|
| 83 | <hr><h2>Define Documentation</h2> |
---|
| 84 | <a class="anchor" name="a0" doxytag="EnvMap_small.fx::CUBEMAP_SIZE"></a><p> |
---|
| 85 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 86 | <tr> |
---|
| 87 | <td class="mdRow"> |
---|
| 88 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 89 | <tr> |
---|
| 90 | <td class="md" nowrap valign="top">#define CUBEMAP_SIZE 256 </td> |
---|
| 91 | </tr> |
---|
| 92 | </table> |
---|
| 93 | </td> |
---|
| 94 | </tr> |
---|
| 95 | </table> |
---|
| 96 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 97 | <tr> |
---|
| 98 | <td> |
---|
| 99 | |
---|
| 100 | </td> |
---|
| 101 | <td> |
---|
| 102 | |
---|
| 103 | <p> |
---|
| 104 | </td> |
---|
| 105 | </tr> |
---|
| 106 | </table> |
---|
| 107 | <a class="anchor" name="a1" doxytag="EnvMap_small.fx::LR_CUBEMAP_SIZE"></a><p> |
---|
| 108 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 109 | <tr> |
---|
| 110 | <td class="mdRow"> |
---|
| 111 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 112 | <tr> |
---|
| 113 | <td class="md" nowrap valign="top">#define <a class="el" href="_env_map_8fx.html#a10">LR_CUBEMAP_SIZE</a> 32 </td> |
---|
| 114 | </tr> |
---|
| 115 | </table> |
---|
| 116 | </td> |
---|
| 117 | </tr> |
---|
| 118 | </table> |
---|
| 119 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 120 | <tr> |
---|
| 121 | <td> |
---|
| 122 | |
---|
| 123 | </td> |
---|
| 124 | <td> |
---|
| 125 | |
---|
| 126 | <p> |
---|
| 127 | </td> |
---|
| 128 | </tr> |
---|
| 129 | </table> |
---|
| 130 | <a class="anchor" name="a2" doxytag="EnvMap_small.fx::RATE"></a><p> |
---|
| 131 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 132 | <tr> |
---|
| 133 | <td class="mdRow"> |
---|
| 134 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 135 | <tr> |
---|
| 136 | <td class="md" nowrap valign="top">#define RATE (CUBEMAP_SIZE/<a class="el" href="_env_map_8fx.html#a10">LR_CUBEMAP_SIZE</a>) </td> |
---|
| 137 | </tr> |
---|
| 138 | </table> |
---|
| 139 | </td> |
---|
| 140 | </tr> |
---|
| 141 | </table> |
---|
| 142 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 143 | <tr> |
---|
| 144 | <td> |
---|
| 145 | |
---|
| 146 | </td> |
---|
| 147 | <td> |
---|
| 148 | |
---|
| 149 | <p> |
---|
| 150 | </td> |
---|
| 151 | </tr> |
---|
| 152 | </table> |
---|
| 153 | <a class="anchor" name="a3" doxytag="EnvMap_small.fx::Technique"></a><p> |
---|
| 154 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 155 | <tr> |
---|
| 156 | <td class="mdRow"> |
---|
| 157 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 158 | <tr> |
---|
| 159 | <td class="md" nowrap valign="top">#define Technique </td> |
---|
| 160 | <td class="md" valign="top">( </td> |
---|
| 161 | <td class="md" nowrap valign="top">name </td> |
---|
| 162 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 163 | <td class="md" valign="top"> ) </td> |
---|
| 164 | <td class="md" nowrap></td> |
---|
| 165 | </tr> |
---|
| 166 | </table> |
---|
| 167 | </td> |
---|
| 168 | </tr> |
---|
| 169 | </table> |
---|
| 170 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 171 | <tr> |
---|
| 172 | <td> |
---|
| 173 | |
---|
| 174 | </td> |
---|
| 175 | <td> |
---|
| 176 | |
---|
| 177 | <p> |
---|
| 178 | <b>Value:</b><div class="fragment"><pre class="fragment">; \ |
---|
| 179 | technique name \ |
---|
| 180 | { \ |
---|
| 181 | pass p0 \ |
---|
| 182 | { \ |
---|
| 183 | VertexShader = compile vs_3_0 name##<a class="code" href="_env_map__s_8fx.html#a34">VS</a>(); \ |
---|
| 184 | PixelShader = compile ps_3_0 name##PS(); \ |
---|
| 185 | } \ |
---|
| 186 | } |
---|
| 187 | </pre></div> </td> |
---|
| 188 | </tr> |
---|
| 189 | </table> |
---|
| 190 | <hr><h2>Function Documentation</h2> |
---|
| 191 | <a class="anchor" name="a28" doxytag="EnvMap_small.fx::ConvolutionPS"></a><p> |
---|
| 192 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 193 | <tr> |
---|
| 194 | <td class="mdRow"> |
---|
| 195 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 196 | <tr> |
---|
| 197 | <td class="md" nowrap valign="top">float4 ConvolutionPS </td> |
---|
| 198 | <td class="md" valign="top">( </td> |
---|
| 199 | <td class="md" nowrap valign="top"><a class="el" href="struct_v_s___o_u_t_p_u_tc.html">VS_OUTPUTc</a> </td> |
---|
| 200 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
| 201 | <td class="md" valign="top"> ) </td> |
---|
| 202 | <td class="md" nowrap></td> |
---|
| 203 | </tr> |
---|
| 204 | </table> |
---|
| 205 | </td> |
---|
| 206 | </tr> |
---|
| 207 | </table> |
---|
| 208 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 209 | <tr> |
---|
| 210 | <td> |
---|
| 211 | |
---|
| 212 | </td> |
---|
| 213 | <td> |
---|
| 214 | |
---|
| 215 | <p> |
---|
| 216 | </td> |
---|
| 217 | </tr> |
---|
| 218 | </table> |
---|
| 219 | <a class="anchor" name="a27" doxytag="EnvMap_small.fx::ConvolutionVS"></a><p> |
---|
| 220 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 221 | <tr> |
---|
| 222 | <td class="mdRow"> |
---|
| 223 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 224 | <tr> |
---|
| 225 | <td class="md" nowrap valign="top"><a class="el" href="struct_v_s___o_u_t_p_u_tc.html">VS_OUTPUTc</a> ConvolutionVS </td> |
---|
| 226 | <td class="md" valign="top">( </td> |
---|
| 227 | <td class="md" nowrap valign="top"><a class="el" href="struct_v_s___i_n_p_u_tc.html">VS_INPUTc</a> </td> |
---|
| 228 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
| 229 | <td class="md" valign="top"> ) </td> |
---|
| 230 | <td class="md" nowrap></td> |
---|
| 231 | </tr> |
---|
| 232 | </table> |
---|
| 233 | </td> |
---|
| 234 | </tr> |
---|
| 235 | </table> |
---|
| 236 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 237 | <tr> |
---|
| 238 | <td> |
---|
| 239 | |
---|
| 240 | </td> |
---|
| 241 | <td> |
---|
| 242 | |
---|
| 243 | <p> |
---|
| 244 | </td> |
---|
| 245 | </tr> |
---|
| 246 | </table> |
---|
| 247 | <a class="anchor" name="a26" doxytag="EnvMap_small.fx::GetContibution"></a><p> |
---|
| 248 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 249 | <tr> |
---|
| 250 | <td class="mdRow"> |
---|
| 251 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 252 | <tr> |
---|
| 253 | <td class="md" nowrap valign="top">float4 GetContibution </td> |
---|
| 254 | <td class="md" valign="top">( </td> |
---|
| 255 | <td class="md" nowrap valign="top">float3 </td> |
---|
| 256 | <td class="mdname" nowrap> <em>q</em>, </td> |
---|
| 257 | </tr> |
---|
| 258 | <tr> |
---|
| 259 | <td class="md" nowrap align="right"></td> |
---|
| 260 | <td class="md"></td> |
---|
| 261 | <td class="md" nowrap>float3 </td> |
---|
| 262 | <td class="mdname" nowrap> <em>L</em></td> |
---|
| 263 | </tr> |
---|
| 264 | <tr> |
---|
| 265 | <td class="md"></td> |
---|
| 266 | <td class="md">) </td> |
---|
| 267 | <td class="md" colspan="2"></td> |
---|
| 268 | </tr> |
---|
| 269 | </table> |
---|
| 270 | </td> |
---|
| 271 | </tr> |
---|
| 272 | </table> |
---|
| 273 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 274 | <tr> |
---|
| 275 | <td> |
---|
| 276 | |
---|
| 277 | </td> |
---|
| 278 | <td> |
---|
| 279 | |
---|
| 280 | <p> |
---|
| 281 | </td> |
---|
| 282 | </tr> |
---|
| 283 | </table> |
---|
| 284 | <a class="anchor" name="a29" doxytag="EnvMap_small.fx::Technique"></a><p> |
---|
| 285 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 286 | <tr> |
---|
| 287 | <td class="mdRow"> |
---|
| 288 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 289 | <tr> |
---|
| 290 | <td class="md" nowrap valign="top">Technique </td> |
---|
| 291 | <td class="md" valign="top">( </td> |
---|
| 292 | <td class="md" nowrap valign="top">Convolution </td> |
---|
| 293 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 294 | <td class="md" valign="top"> ) </td> |
---|
| 295 | <td class="md" nowrap></td> |
---|
| 296 | </tr> |
---|
| 297 | </table> |
---|
| 298 | </td> |
---|
| 299 | </tr> |
---|
| 300 | </table> |
---|
| 301 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 302 | <tr> |
---|
| 303 | <td> |
---|
| 304 | |
---|
| 305 | </td> |
---|
| 306 | <td> |
---|
| 307 | |
---|
| 308 | <p> |
---|
| 309 | </td> |
---|
| 310 | </tr> |
---|
| 311 | </table> |
---|
| 312 | <hr><h2>Variable Documentation</h2> |
---|
| 313 | <a class="anchor" name="a19" doxytag="EnvMap_small.fx::brightness"></a><p> |
---|
| 314 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 315 | <tr> |
---|
| 316 | <td class="mdRow"> |
---|
| 317 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 318 | <tr> |
---|
| 319 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a19">brightness</a> </td> |
---|
| 320 | </tr> |
---|
| 321 | </table> |
---|
| 322 | </td> |
---|
| 323 | </tr> |
---|
| 324 | </table> |
---|
| 325 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 326 | <tr> |
---|
| 327 | <td> |
---|
| 328 | |
---|
| 329 | </td> |
---|
| 330 | <td> |
---|
| 331 | |
---|
| 332 | <p> |
---|
| 333 | </td> |
---|
| 334 | </tr> |
---|
| 335 | </table> |
---|
| 336 | <a class="anchor" name="a21" doxytag="EnvMap_small.fx::Decoration"></a><p> |
---|
| 337 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 338 | <tr> |
---|
| 339 | <td class="mdRow"> |
---|
| 340 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 341 | <tr> |
---|
| 342 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map__small_8fx.html#a21">Decoration</a> </td> |
---|
| 343 | </tr> |
---|
| 344 | </table> |
---|
| 345 | </td> |
---|
| 346 | </tr> |
---|
| 347 | </table> |
---|
| 348 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 349 | <tr> |
---|
| 350 | <td> |
---|
| 351 | |
---|
| 352 | </td> |
---|
| 353 | <td> |
---|
| 354 | |
---|
| 355 | <p> |
---|
| 356 | </td> |
---|
| 357 | </tr> |
---|
| 358 | </table> |
---|
| 359 | <a class="anchor" name="a25" doxytag="EnvMap_small.fx::DecorationSampler"></a><p> |
---|
| 360 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 361 | <tr> |
---|
| 362 | <td class="mdRow"> |
---|
| 363 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 364 | <tr> |
---|
| 365 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map__small_8fx.html#a25">DecorationSampler</a> </td> |
---|
| 366 | </tr> |
---|
| 367 | </table> |
---|
| 368 | </td> |
---|
| 369 | </tr> |
---|
| 370 | </table> |
---|
| 371 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 372 | <tr> |
---|
| 373 | <td> |
---|
| 374 | |
---|
| 375 | </td> |
---|
| 376 | <td> |
---|
| 377 | |
---|
| 378 | <p> |
---|
| 379 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
| 380 | { |
---|
| 381 | |
---|
| 382 | Texture = <<a class="code" href="_env_map_8fx.html#a27">Decoration</a>>; |
---|
| 383 | AddressU = BORDER; |
---|
| 384 | AddressV = BORDER; |
---|
| 385 | } |
---|
| 386 | </pre></div> </td> |
---|
| 387 | </tr> |
---|
| 388 | </table> |
---|
| 389 | <a class="anchor" name="a20" doxytag="EnvMap_small.fx::EnvironmentMap"></a><p> |
---|
| 390 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 391 | <tr> |
---|
| 392 | <td class="mdRow"> |
---|
| 393 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 394 | <tr> |
---|
| 395 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map__small_8fx.html#a20">EnvironmentMap</a> </td> |
---|
| 396 | </tr> |
---|
| 397 | </table> |
---|
| 398 | </td> |
---|
| 399 | </tr> |
---|
| 400 | </table> |
---|
| 401 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 402 | <tr> |
---|
| 403 | <td> |
---|
| 404 | |
---|
| 405 | </td> |
---|
| 406 | <td> |
---|
| 407 | |
---|
| 408 | <p> |
---|
| 409 | </td> |
---|
| 410 | </tr> |
---|
| 411 | </table> |
---|
| 412 | <a class="anchor" name="a23" doxytag="EnvMap_small.fx::EnvironmentMapSampler"></a><p> |
---|
| 413 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 414 | <tr> |
---|
| 415 | <td class="mdRow"> |
---|
| 416 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 417 | <tr> |
---|
| 418 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map__small_8fx.html#a23">EnvironmentMapSampler</a> </td> |
---|
| 419 | </tr> |
---|
| 420 | </table> |
---|
| 421 | </td> |
---|
| 422 | </tr> |
---|
| 423 | </table> |
---|
| 424 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 425 | <tr> |
---|
| 426 | <td> |
---|
| 427 | |
---|
| 428 | </td> |
---|
| 429 | <td> |
---|
| 430 | |
---|
| 431 | <p> |
---|
| 432 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
| 433 | { |
---|
| 434 | |
---|
| 435 | Texture = <<a class="code" href="_env_map_8fx.html#a24">EnvironmentMap</a>>; |
---|
| 436 | AddressU = WRAP; |
---|
| 437 | AddressV = WRAP; |
---|
| 438 | } |
---|
| 439 | </pre></div> </td> |
---|
| 440 | </tr> |
---|
| 441 | </table> |
---|
| 442 | <a class="anchor" name="a24" doxytag="EnvMap_small.fx::EnvironmentMapSamplerL"></a><p> |
---|
| 443 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 444 | <tr> |
---|
| 445 | <td class="mdRow"> |
---|
| 446 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 447 | <tr> |
---|
| 448 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map__small_8fx.html#a24">EnvironmentMapSamplerL</a> </td> |
---|
| 449 | </tr> |
---|
| 450 | </table> |
---|
| 451 | </td> |
---|
| 452 | </tr> |
---|
| 453 | </table> |
---|
| 454 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 455 | <tr> |
---|
| 456 | <td> |
---|
| 457 | |
---|
| 458 | </td> |
---|
| 459 | <td> |
---|
| 460 | |
---|
| 461 | <p> |
---|
| 462 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
| 463 | { |
---|
| 464 | MinFilter = LINEAR; |
---|
| 465 | MagFilter = LINEAR; |
---|
| 466 | |
---|
| 467 | Texture = <<a class="code" href="_env_map_8fx.html#a24">EnvironmentMap</a>>; |
---|
| 468 | AddressU = WRAP; |
---|
| 469 | AddressV = WRAP; |
---|
| 470 | } |
---|
| 471 | </pre></div> </td> |
---|
| 472 | </tr> |
---|
| 473 | </table> |
---|
| 474 | <a class="anchor" name="a11" doxytag="EnvMap_small.fx::eyePos"></a><p> |
---|
| 475 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 476 | <tr> |
---|
| 477 | <td class="mdRow"> |
---|
| 478 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 479 | <tr> |
---|
| 480 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map__small_8fx.html#a11">eyePos</a> </td> |
---|
| 481 | </tr> |
---|
| 482 | </table> |
---|
| 483 | </td> |
---|
| 484 | </tr> |
---|
| 485 | </table> |
---|
| 486 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 487 | <tr> |
---|
| 488 | <td> |
---|
| 489 | |
---|
| 490 | </td> |
---|
| 491 | <td> |
---|
| 492 | |
---|
| 493 | <p> |
---|
| 494 | </td> |
---|
| 495 | </tr> |
---|
| 496 | </table> |
---|
| 497 | <a class="anchor" name="a17" doxytag="EnvMap_small.fx::intensity"></a><p> |
---|
| 498 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 499 | <tr> |
---|
| 500 | <td class="mdRow"> |
---|
| 501 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 502 | <tr> |
---|
| 503 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a17">intensity</a> </td> |
---|
| 504 | </tr> |
---|
| 505 | </table> |
---|
| 506 | </td> |
---|
| 507 | </tr> |
---|
| 508 | </table> |
---|
| 509 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 510 | <tr> |
---|
| 511 | <td> |
---|
| 512 | |
---|
| 513 | </td> |
---|
| 514 | <td> |
---|
| 515 | |
---|
| 516 | <p> |
---|
| 517 | </td> |
---|
| 518 | </tr> |
---|
| 519 | </table> |
---|
| 520 | <a class="anchor" name="a14" doxytag="EnvMap_small.fx::iShowCubeMap"></a><p> |
---|
| 521 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 522 | <tr> |
---|
| 523 | <td class="mdRow"> |
---|
| 524 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 525 | <tr> |
---|
| 526 | <td class="md" nowrap valign="top">int iShowCubeMap </td> |
---|
| 527 | </tr> |
---|
| 528 | </table> |
---|
| 529 | </td> |
---|
| 530 | </tr> |
---|
| 531 | </table> |
---|
| 532 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 533 | <tr> |
---|
| 534 | <td> |
---|
| 535 | |
---|
| 536 | </td> |
---|
| 537 | <td> |
---|
| 538 | |
---|
| 539 | <p> |
---|
| 540 | </td> |
---|
| 541 | </tr> |
---|
| 542 | </table> |
---|
| 543 | <a class="anchor" name="a22" doxytag="EnvMap_small.fx::nFace"></a><p> |
---|
| 544 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 545 | <tr> |
---|
| 546 | <td class="mdRow"> |
---|
| 547 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 548 | <tr> |
---|
| 549 | <td class="md" nowrap valign="top">int <a class="el" href="_env_map__small_8fx.html#a22">nFace</a> </td> |
---|
| 550 | </tr> |
---|
| 551 | </table> |
---|
| 552 | </td> |
---|
| 553 | </tr> |
---|
| 554 | </table> |
---|
| 555 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 556 | <tr> |
---|
| 557 | <td> |
---|
| 558 | |
---|
| 559 | </td> |
---|
| 560 | <td> |
---|
| 561 | |
---|
| 562 | <p> |
---|
| 563 | </td> |
---|
| 564 | </tr> |
---|
| 565 | </table> |
---|
| 566 | <a class="anchor" name="a12" doxytag="EnvMap_small.fx::objColor"></a><p> |
---|
| 567 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 568 | <tr> |
---|
| 569 | <td class="mdRow"> |
---|
| 570 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 571 | <tr> |
---|
| 572 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map__small_8fx.html#a12">objColor</a> </td> |
---|
| 573 | </tr> |
---|
| 574 | </table> |
---|
| 575 | </td> |
---|
| 576 | </tr> |
---|
| 577 | </table> |
---|
| 578 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 579 | <tr> |
---|
| 580 | <td> |
---|
| 581 | |
---|
| 582 | </td> |
---|
| 583 | <td> |
---|
| 584 | |
---|
| 585 | <p> |
---|
| 586 | </td> |
---|
| 587 | </tr> |
---|
| 588 | </table> |
---|
| 589 | <a class="anchor" name="a13" doxytag="EnvMap_small.fx::objOffset"></a><p> |
---|
| 590 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 591 | <tr> |
---|
| 592 | <td class="mdRow"> |
---|
| 593 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 594 | <tr> |
---|
| 595 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map__small_8fx.html#a13">objOffset</a> </td> |
---|
| 596 | </tr> |
---|
| 597 | </table> |
---|
| 598 | </td> |
---|
| 599 | </tr> |
---|
| 600 | </table> |
---|
| 601 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 602 | <tr> |
---|
| 603 | <td> |
---|
| 604 | |
---|
| 605 | </td> |
---|
| 606 | <td> |
---|
| 607 | |
---|
| 608 | <p> |
---|
| 609 | </td> |
---|
| 610 | </tr> |
---|
| 611 | </table> |
---|
| 612 | <a class="anchor" name="a16" doxytag="EnvMap_small.fx::refractionIndex"></a><p> |
---|
| 613 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 614 | <tr> |
---|
| 615 | <td class="mdRow"> |
---|
| 616 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 617 | <tr> |
---|
| 618 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a16">refractionIndex</a> </td> |
---|
| 619 | </tr> |
---|
| 620 | </table> |
---|
| 621 | </td> |
---|
| 622 | </tr> |
---|
| 623 | </table> |
---|
| 624 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 625 | <tr> |
---|
| 626 | <td> |
---|
| 627 | |
---|
| 628 | </td> |
---|
| 629 | <td> |
---|
| 630 | |
---|
| 631 | <p> |
---|
| 632 | </td> |
---|
| 633 | </tr> |
---|
| 634 | </table> |
---|
| 635 | <a class="anchor" name="a10" doxytag="EnvMap_small.fx::roomSize"></a><p> |
---|
| 636 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 637 | <tr> |
---|
| 638 | <td class="mdRow"> |
---|
| 639 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 640 | <tr> |
---|
| 641 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a10">roomSize</a> </td> |
---|
| 642 | </tr> |
---|
| 643 | </table> |
---|
| 644 | </td> |
---|
| 645 | </tr> |
---|
| 646 | </table> |
---|
| 647 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 648 | <tr> |
---|
| 649 | <td> |
---|
| 650 | |
---|
| 651 | </td> |
---|
| 652 | <td> |
---|
| 653 | |
---|
| 654 | <p> |
---|
| 655 | </td> |
---|
| 656 | </tr> |
---|
| 657 | </table> |
---|
| 658 | <a class="anchor" name="a15" doxytag="EnvMap_small.fx::sFresnel"></a><p> |
---|
| 659 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 660 | <tr> |
---|
| 661 | <td class="mdRow"> |
---|
| 662 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 663 | <tr> |
---|
| 664 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a15">sFresnel</a> </td> |
---|
| 665 | </tr> |
---|
| 666 | </table> |
---|
| 667 | </td> |
---|
| 668 | </tr> |
---|
| 669 | </table> |
---|
| 670 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 671 | <tr> |
---|
| 672 | <td> |
---|
| 673 | |
---|
| 674 | </td> |
---|
| 675 | <td> |
---|
| 676 | |
---|
| 677 | <p> |
---|
| 678 | </td> |
---|
| 679 | </tr> |
---|
| 680 | </table> |
---|
| 681 | <a class="anchor" name="a18" doxytag="EnvMap_small.fx::shininess"></a><p> |
---|
| 682 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 683 | <tr> |
---|
| 684 | <td class="mdRow"> |
---|
| 685 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 686 | <tr> |
---|
| 687 | <td class="md" nowrap valign="top">int <a class="el" href="_env_map__small_8fx.html#a18">shininess</a> </td> |
---|
| 688 | </tr> |
---|
| 689 | </table> |
---|
| 690 | </td> |
---|
| 691 | </tr> |
---|
| 692 | </table> |
---|
| 693 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 694 | <tr> |
---|
| 695 | <td> |
---|
| 696 | |
---|
| 697 | </td> |
---|
| 698 | <td> |
---|
| 699 | |
---|
| 700 | <p> |
---|
| 701 | </td> |
---|
| 702 | </tr> |
---|
| 703 | </table> |
---|
| 704 | <a class="anchor" name="a9" doxytag="EnvMap_small.fx::texel_size"></a><p> |
---|
| 705 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 706 | <tr> |
---|
| 707 | <td class="mdRow"> |
---|
| 708 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 709 | <tr> |
---|
| 710 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map__small_8fx.html#a9">texel_size</a> </td> |
---|
| 711 | </tr> |
---|
| 712 | </table> |
---|
| 713 | </td> |
---|
| 714 | </tr> |
---|
| 715 | </table> |
---|
| 716 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 717 | <tr> |
---|
| 718 | <td> |
---|
| 719 | |
---|
| 720 | </td> |
---|
| 721 | <td> |
---|
| 722 | |
---|
| 723 | <p> |
---|
| 724 | </td> |
---|
| 725 | </tr> |
---|
| 726 | </table> |
---|
| 727 | <a class="anchor" name="a4" doxytag="EnvMap_small.fx::TEXTURE_SIZE"></a><p> |
---|
| 728 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 729 | <tr> |
---|
| 730 | <td class="mdRow"> |
---|
| 731 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 732 | <tr> |
---|
| 733 | <td class="md" nowrap valign="top">int <a class="el" href="_env_map__small_8fx.html#a4">TEXTURE_SIZE</a> </td> |
---|
| 734 | </tr> |
---|
| 735 | </table> |
---|
| 736 | </td> |
---|
| 737 | </tr> |
---|
| 738 | </table> |
---|
| 739 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 740 | <tr> |
---|
| 741 | <td> |
---|
| 742 | |
---|
| 743 | </td> |
---|
| 744 | <td> |
---|
| 745 | |
---|
| 746 | <p> |
---|
| 747 | </td> |
---|
| 748 | </tr> |
---|
| 749 | </table> |
---|
| 750 | <a class="anchor" name="a5" doxytag="EnvMap_small.fx::World"></a><p> |
---|
| 751 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 752 | <tr> |
---|
| 753 | <td class="mdRow"> |
---|
| 754 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 755 | <tr> |
---|
| 756 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map__small_8fx.html#a5">World</a> </td> |
---|
| 757 | </tr> |
---|
| 758 | </table> |
---|
| 759 | </td> |
---|
| 760 | </tr> |
---|
| 761 | </table> |
---|
| 762 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 763 | <tr> |
---|
| 764 | <td> |
---|
| 765 | |
---|
| 766 | </td> |
---|
| 767 | <td> |
---|
| 768 | |
---|
| 769 | <p> |
---|
| 770 | </td> |
---|
| 771 | </tr> |
---|
| 772 | </table> |
---|
| 773 | <a class="anchor" name="a6" doxytag="EnvMap_small.fx::WorldView"></a><p> |
---|
| 774 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 775 | <tr> |
---|
| 776 | <td class="mdRow"> |
---|
| 777 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 778 | <tr> |
---|
| 779 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map__small_8fx.html#a6">WorldView</a> </td> |
---|
| 780 | </tr> |
---|
| 781 | </table> |
---|
| 782 | </td> |
---|
| 783 | </tr> |
---|
| 784 | </table> |
---|
| 785 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 786 | <tr> |
---|
| 787 | <td> |
---|
| 788 | |
---|
| 789 | </td> |
---|
| 790 | <td> |
---|
| 791 | |
---|
| 792 | <p> |
---|
| 793 | </td> |
---|
| 794 | </tr> |
---|
| 795 | </table> |
---|
| 796 | <a class="anchor" name="a7" doxytag="EnvMap_small.fx::WorldViewIT"></a><p> |
---|
| 797 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 798 | <tr> |
---|
| 799 | <td class="mdRow"> |
---|
| 800 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 801 | <tr> |
---|
| 802 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map__small_8fx.html#a7">WorldViewIT</a> </td> |
---|
| 803 | </tr> |
---|
| 804 | </table> |
---|
| 805 | </td> |
---|
| 806 | </tr> |
---|
| 807 | </table> |
---|
| 808 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 809 | <tr> |
---|
| 810 | <td> |
---|
| 811 | |
---|
| 812 | </td> |
---|
| 813 | <td> |
---|
| 814 | |
---|
| 815 | <p> |
---|
| 816 | </td> |
---|
| 817 | </tr> |
---|
| 818 | </table> |
---|
| 819 | <a class="anchor" name="a8" doxytag="EnvMap_small.fx::WorldViewProjection"></a><p> |
---|
| 820 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 821 | <tr> |
---|
| 822 | <td class="mdRow"> |
---|
| 823 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 824 | <tr> |
---|
| 825 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map__small_8fx.html#a8">WorldViewProjection</a> </td> |
---|
| 826 | </tr> |
---|
| 827 | </table> |
---|
| 828 | </td> |
---|
| 829 | </tr> |
---|
| 830 | </table> |
---|
| 831 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 832 | <tr> |
---|
| 833 | <td> |
---|
| 834 | |
---|
| 835 | </td> |
---|
| 836 | <td> |
---|
| 837 | |
---|
| 838 | <p> |
---|
| 839 | </td> |
---|
| 840 | </tr> |
---|
| 841 | </table> |
---|
| 842 | <hr size="1"><address style="align: right;"><small>Generated on Tue Aug 22 22:32:50 2006 for Indirect Environment Mapping by |
---|
| 843 | <a href="http://www.doxygen.org/index.html"> |
---|
| 844 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
---|
| 845 | </body> |
---|
| 846 | </html> |
---|