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>Filter</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/System/Overview.html">System</a>::<a href="../../../../../nn/gd/CTR/System/Debug/Overview.html">Debug</a>::Filter</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum Filter; 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><CODE>FILTER_NONE</CODE></th> 28<td>This filter does nothing. It is provided so users can disable all filters.</td> 29 </tr> 30 <tr> 31<th><CODE>FILTER_TEXTURE_8X8</CODE></th> 32<td>Using this filter set causes <CODE>Gd</CODE> to set all texture units to a unique <CODE>8x8</CODE> texture. The <CODE>8x8</CODE> texture used for this filter is allocated in <CODE>FCRAM</CODE>.</td> 33 </tr> 34 <tr> 35<th><CODE>FILTER_TEXTURE_CUSTOM</CODE></th> 36<td>This filter sets all texture units to a custom texture. This custom texture can be defined by the user with the <CODE>System::debug::SetCustomTexture</CODE> function. If this filter is set without defining a custom texture, an <CODE>8x8</CODE> texture (used by the <CODE>System::debug::FILTER_TEXTURE_8X* filter</CODE>) will be used instead.</td> 37 </tr> 38 <tr> 39<th><CODE>FILTER_SAMPLER_STATE_FILTER_NEAREST_MIPMAP_NEAREST</CODE></th> 40<td>This filter sets point sampling between texture mipmap levels and texture filtering.</td> 41 </tr> 42 <tr> 43<th><CODE>FILTER_SAMPLER_STATE_FILTER_LINEAR_MIPMAP_NEAREST</CODE></th> 44<td>This filter sets the Gd sample state to use the nearest filter for mipmap level sampling and the linear filter for texel sampling.</td> 45 </tr> 46 <tr> 47<th><CODE>FILTER_VIEWPORT_1X1</CODE></th> 48<td>This filter sets a <CODE>1x1</CODE> view port.</td> 49 </tr> 50 <tr> 51<th><CODE>FILTER_SIMPLE_COMBINER</CODE></th> 52<td>This filter is for the simple combiner configuration, used to output all pixels as a fixed green color (0, 255, 0).</td> 53 </tr> 54 <tr> 55<th><CODE>FILTER_DISABLE_BLENDING</CODE></th> 56<td>This filter disables blending.</td> 57 </tr> 58 <tr> 59<th><CODE>FILTER_DISABLE_DEPTH_STENCIL_TEST</CODE></th> 60<td>This filter disables the depth and stencil tests.</td> 61 </tr> 62 <tr> 63<th><CODE>FILTER_DISABLE_ALPHA_TEST</CODE></th> 64<td>This filter disables the alpha test.</td> 65 </tr> 66 <tr> 67<th>FILTER_LIGHTING_STAGE_1_LIGHT_MAX</th> 68<td>This filter sets the maximum number of lights to <CODE>1</CODE>. If more than one light is enabled, the light enabled first is used.</td> 69 </tr> 70 <tr> 71<th>FILTER_LIGHTING_STAGE_SIMPLE_LAYER_CONFIGURATION</th> 72<td>This filter sets the light stage to a simple configuration to minimize the number of cycles.</td> 73 </tr> 74 <tr> 75<th>FILTER_DISABLE_DRAW</th> 76<td>This filter disables drawing.</td> 77 </tr> 78 <tr> 79<th>FILTER_VISUALIZE_OVERDRAW</th> 80<td>This filter is used to visualize overdraw. When this filter is used, Gd sets the combiner so that both the fixed RGBA color (15,15,15,255) and additional blend state can both be viewed. The more overdraw, the more pixels appear white. By combining this filter with <CODE>FILTER_DISABLE_DEPTH_STENCIL_TEST</CODE>, you can check for overdraw pixels destroyed (or not destroyed) by the depth test.</td> 81 </tr> 82 <tr> 83<th>FILTER_DISABLE_CULLING</th> 84<td>This filter disables culling.</td> 85 </tr> 86 <tr> 87<th>FILTER_ENABLE_CULLING_CLOCKWISE</th> 88<td>This filter sets the culling mode to <B>clockwise</B>.</td> 89 </tr> 90 <tr> 91<th>FILTER_ENABLE_CULLING_COUNTERCLOCKWISE</th> 92<td>This filter sets the culling mode to <B>counterclockwise</B>.</td> 93 </tr> 94 <tr> 95<th><CODE>FILTER_RESERVED_MAX_U32</CODE></th> 96 <td> 97 </td> 98 </tr> 99 </table> </div> 100<h2>Description</h2> 101 <div class="section"> 102<p>This enumerated type is used by the <a href="../../../../../nn/gd/CTR/System/Debug/SetFilter.html"><CODE>System::Debug::SetFilter</CODE></a> function to specify the filter or filters to be used.</p><!-- write here --></div> 103<h2>Revision History</h2> 104 <div class="section"> 105 <dl class="history"> 106 <dt>2011/12/27</dt> 107<dd>Initial version.<br /> 108 </dd> 109 </dl> 110 </div> 111 <hr><p>CONFIDENTIAL</p></body> 112</html>