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>Clamp</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::<a href="../../../../nn/gd/CTR/ProceduralTextureStage/Overview.html">ProceduralTextureStage</a>::Clamp</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum Clamp; 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>CLAMP_TO_ZERO</th> 28 <td>In the [-1.0, 1.0] range, the texture image is referenced. Outside of this range, the image at coordinate 0 is referenced.</td> 29 </tr> 30 <tr> 31 <th>CLAMP_TO_EDGE</th> 32 <td>In the [-1.0, 1.0] range, the texture internal image is referenced. Outside of this range, the pixel on the edge of the texture is referenced.</td> 33 </tr> 34 <tr> 35 <th>CLAMP_SYMMETRICAL_REPEAT</th> 36 <td>The same image is lined up in a grid.</td> 37 </tr> 38 <tr> 39 <th>CLAMP_MIRRORED_REPEAT</th> 40 <td>An even numbered grid is reflected as in a mirror.</td> 41 </tr> 42 <tr> 43 <th>CLAMP_PULSE</th> 44 <td>The pixel to be used for rendering picks up the pixel on the edge of the nearest texture.</td> 45 </tr> 46 <tr> 47 <th>CLAMP_RESERVED_MAX_U32</th> 48 <td> 49 </td> 50 </tr> 51 </table> </div> 52 <h2>Description</h2> 53 <div class="section"> 54 <p><CODE>Enum</CODE> for the procedural texture clamp method. </p><p>Clamp is almost the same as normal texture wrapping mode, but <CODE>CLAMP_PULSE</CODE> and <CODE>CLAMP_TO_ZERO</CODE> are added. Clamp calculations convert coordinate values that are not in the range of [0.0, 1.0] to coordinates in that range.</p><!-- write here --></div> 55 <h2>Revision History</h2> 56 <div class="section"> 57 <dl class="history"> 58 <dt>2011/06/03</dt> 59 <dd>Initial version.<br /> 60 </dd> 61 </dl> 62 </div> 63 <hr><p>CONFIDENTIAL</p></body> 64</html> 65