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 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::gd::CTR::DepthStencilStateDescription</title> 49 </head> 50 <body> 51<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>::DepthStencilStateDescription</CODE> Class</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">class DepthStencilStateDescription</pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>The descriptor for creating depth stencil state objects.</p><!-- write here --></div> 59 <a name="variable" id="variable"> 60<h2>Member Variables</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <td width="100"> </td> 65 <th> 66<span class="argument"><CODE>m_DepthEnable</CODE></span> 67 </th> 68<td width="100"><span>gdBool</span></td> 69<td>Sets enable/disable for the depth test.</td> 70 </tr> 71 <tr> 72 <td width="100"> </td> 73 <th> 74<span class="argument"><CODE>m_StencilEnable</CODE></span> 75 </th> 76<td width="100"><span>gdBool</span></td> 77<td>Sets enable/disable for the stencil test.</td> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82<span class="argument"><CODE>m_StencilWriteMask</CODE></span> 83 </th> 84<td width="100"><a href="../../../../nn_types/u8.html">u8</a></td> 85<td>The write mask for the stencil test.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90<span class="argument"><CODE>m_StencilReadMask</CODE></span> 91 </th> 92<td width="100"><a href="../../../../nn_types/u8.html">u8</a></td> 93<td>The read mask for the stencil test.</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98<span class="argument"><CODE>m_DepthMask</CODE></span> 99 </th> 100<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/DepthWriteMask.html">OutputStage::DepthWriteMask</a></td> 101<td>The write mask for the depth test.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106<span class="argument"><CODE>m_DepthFunc</CODE></span> 107 </th> 108<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/DepthFunction.html">OutputStage::DepthFunction</a></td> 109<td>The depth test comparison function.</td> 110 </tr> 111 <tr> 112 <td width="100"> </td> 113 <th> 114<span class="argument"><CODE>m_StencilFunc</CODE></span> 115 </th> 116<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/StencilFunction.html">OutputStage::StencilFunction</a></td> 117<td>The stencil test comparison function.</td> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122<span class="argument"><CODE>m_StencilFail</CODE></span> 123 </th> 124<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/StencilOperation.html">OutputStage::StencilOperation</a></td> 125<td>The process when the stencil test fails.</td> 126 </tr> 127 <tr> 128 <td width="100"> </td> 129 <th> 130<span class="argument"><CODE>m_StencilZFail</CODE></span> 131 </th> 132<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/StencilOperation.html">OutputStage::StencilOperation</a></td> 133<td>The process when the stencil test succeeds but the depth test fails.</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138<span class="argument"><CODE>m_StencilZPass</CODE></span> 139 </th> 140<td width="100"><a href="../../../../nn/gd/CTR/OutputStage/StencilOperation.html">OutputStage::StencilOperation</a></td> 141<td>The process when the stencil test succeeds and the depth test also succeeds.</td> 142 </tr> </table> 143 </div> 144 </a> <a name="function" id="function"> 145<h2>Member Functions</h2> 146 <div class="section"> 147 <table class="members"> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<a href="../../../../nn/gd/CTR/DepthStencilStateDescription/DepthStencilStateDescription.html"><CODE>DepthStencilStateDescription</CODE></a> 152 </th> 153<td>The constructor for the descriptor. Sets the descriptor to the default value.</td> 154 </tr> 155 <tr> 156 <td width="100"> </td> 157 <th> 158<a href="../../../../nn/gd/CTR/DepthStencilStateDescription/ToDefault.html"><CODE>ToDefault</CODE></a> 159 </th> 160<td>Sets the descriptor to the default value.</td> 161 </tr> </table> 162 </div> 163 </a> 164<h2>Revision History</h2> 165 <div class="section"> 166 <dl class="history"> 167 <dt>2011/02/15</dt> 168<dd>Initial version.<br /> 169 </dd> 170 </dl> 171 </div> 172 <hr><p>CONFIDENTIAL</p></body> 173</html> 174