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::FrameBuffer::DepthStencilBuffer</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/FrameBuffer/Overview.html">FrameBuffer</a>::DepthStencilBuffer</CODE> Class</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class DepthStencilBuffer</pre>
57    </div>
58<h2>Description</h2>
59    <div class="section">
60<p>Class for configuring depth and stencil buffer settings.</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">virtualAddr</span>
69            </th>
70<td width="100"><a href="../../../../../nn_types/uptr.html"><CODE>uptr</CODE></a></td>
71<td>The depth and stencil buffer virtual address. Type is <CODE>uptr</CODE>.</td>
72          </tr>
73          <tr>
74            <td width="100"> </td>
75            <th>
76<span class="argument">format</span>
77            </th>
78<td width="100"><a href="../../../../../nn_gx_CTR_Pica/PicaDataDepth.html">PicaDataDepth</a></td>
79<td>The depth and stencil buffer format. The type is <a href="../../../../../nn_gx_CTR_Pica/PicaDataDepth.html"><CODE>PicaDataDepth</CODE></a>.</td>
80          </tr>
81          <tr>
82            <td width="100"> </td>
83            <th>
84<span class="argument">width</span>
85            </th>
86<td width="100"><a href="../../../../../nn_types/s32.html"><CODE>s32</CODE></a></td>
87<td>The depth and stencil buffer width. The type is <CODE>s32</CODE>.</td>
88          </tr>
89          <tr>
90            <td width="100"> </td>
91            <th>
92<span class="argument">height</span>
93            </th>
94<td width="100"><a href="../../../../../nn_types/s32.html"><CODE>s32</CODE> </a></td>
95<td>The depth and stencil buffer height. The type is <CODE>s32</CODE>. </td>
96          </tr>
97          <tr>
98            <td width="100"> </td>
99            <th>
100<span class="argument">clearDepth</span>
101            </th>
102<td width="100"><a href="../../../../../nn_types/f32.html"><CODE>f32</CODE></a></td>
103<td>Depth buffer clear value. The type is <CODE>f32</CODE>. The initial value is <CODE>1.0f</CODE>.</td>
104          </tr>
105          <tr>
106            <td width="100"> </td>
107            <th>
108<span class="argument">clearStencil</span>
109            </th>
110<td width="100"><a href="../../../../../nn_types/u8.html"><CODE>u8</CODE></a></td>
111<td>Stencil buffer clear value. The type is <CODE>u8</CODE>. The default value is <CODE>0</CODE>.</td>
112          </tr> </table>
113      </div>
114    </a> <a name="function" id="function">
115<h2>Member Functions</h2>
116      <div class="section">
117        <table class="members">
118          <tr>
119            <td width="100">  </td>
120            <th>
121<a href="../../../../../nn/gr/CTR/FrameBuffer/DepthStencilBuffer/DepthStencilBuffer.html"><CODE>DepthStencilBuffer</CODE></a>
122            </th>
123<td>Initializes the depth and stencil buffers to the initial values.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128<a href="../../../../../nn/gr/CTR/FrameBuffer/DepthStencilBuffer/MakeCommand.html"><CODE>MakeCommand</CODE></a>
129            </th>
130<td>Generates a rendering command based on information already set.</td>
131          </tr> </table>
132      </div>
133    </a>
134<h2>Revision History</h2>
135    <div class="section">
136      <dl class="history">
137        <dt>2010/10/25</dt>
138<dd>Initial version.<br />
139        </dd>
140      </dl>
141    </div>
142  <hr><p>CONFIDENTIAL</p></body>
143</html>
144