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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::gr::CTR::RenderState::AlphaTest</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../../../nn/Overview.html">nn</a>::<a href="../../../../../nn/gr/Overview.html">gr</a>::<a href="../../../../../nn/gr/CTR/Overview.html">CTR</a>::<a href="../../../../../nn/gr/CTR/RenderState/Overview.html">RenderState</a>::AlphaTest</CODE> Class</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class AlphaTest</pre> 57 </div> 58<h2>Description</h2> 59 <div class="section"> 60<p>Class for setting the alpha test.</p><!-- write here --></div> 61 <a name="variable" id="variable"> 62<h2>Member Variables</h2> 63 <div class="section"> 64 <table class="members"> 65 <tr> 66 <td width="100"> </td> 67 <th> 68<span class="argument">isEnable</span> 69 </th> 70<td width="100">bool</td> 71<td>Sets enable/disable for the alpha test. Type is <CODE>bool</CODE>. Always passes if disabled. Initial value is <CODE>false</CODE> (disabled).</td> 72 </tr> 73 <tr> 74 <td width="100"> </td> 75 <th> 76<span class="argument">refValue</span> 77 </th> 78<td width="100"><a href="../../../../../nn_types/u8.html">u8</a></td> 79<td>Sets the constant to be referenced by the alpha test. Type is <CODE>u8</CODE>. Sets the value resulting from mapping the uniform value <CODE>[0.f, 1.f]</CODE> to an 8-bit integer. The initial value is 0.</td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84<span class="argument">func</span> 85 </th> 86<td width="100"><a href="../../../../../nn_gx_CTR_Pica/PicaDataAlphaTest.html">PicaDataAlphaTest</a></td> 87<td>Sets the comparison method to be used in the alpha test. Type is <a href="../../../../../nn_gx_CTR_Pica/PicaDataAlphaTest.html"><CODE>PicaDataAlphaTest</CODE></a>. Initial value is <CODE>PICA_DATA_ALPHA_TEST_ALWAYS</CODE>.</td> 88 </tr> </table> 89 </div> 90 </a> <a name="function" id="function"> 91<h2>Member Functions</h2> 92 <div class="section"> 93 <table class="members"> 94 <tr> 95 <td width="100"> </td> 96 <th> 97<a href="../../../../../nn/gr/CTR/RenderState/AlphaTest/AlphaTest.html"><CODE>AlphaTest</CODE></a> 98 </th> 99<td>Initializes alpha test settings to the initial values.</td> 100 </tr> 101 <tr> 102 <td width="100"> </td> 103 <th> 104<a href="../../../../../nn/gr/CTR/RenderState/AlphaTest/MakeCommand.html"><CODE>MakeCommand</CODE></a> 105 </th> 106<td>Generates a rendering command based on information already set.</td> 107 </tr> 108 <tr> 109 <td width="100"> 110<span class="static_style" title="static">S</span> </td> 111 <th> 112<a href="../../../../../nn/gr/CTR/RenderState/AlphaTest/MakeDisableCommand.html"><CODE>MakeDisableCommand</CODE></a> 113 </th> 114<td>Generates commands to disable this feature.</td> 115 </tr> </table> 116 </div> 117 </a> 118<h2>Revision History</h2> 119 <div class="section"> 120 <dl class="history"> 121 <dt>2010/09/15</dt> 122<dd>Initial version.<br /> 123 </dd> 124 </dl> 125 </div> 126 <hr><p>CONFIDENTIAL</p></body> 127</html> 128