1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> 3<!-- InstanceBegin template="/Templates/default_template.dwt" codeOutsideHTMLIsLocked="false" --> 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6<meta http-equiv="Content-Style-Type" content="text/css" /> 7<!-- InstanceBeginEditable name="CSS の相対パス指定" --> 8<link href="../../../../../common/manual.css" rel="stylesheet" type="text/css" /> 9<!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="ページのタイトル" --> 10<title>Stencil test</title> 11<!-- InstanceEndEditable --> 12</head> 13<body> 14<div> 15 <div class="body"> <!-- InstanceBeginEditable name="本文のタイトル" --> 16 <h1>Stencil test</h1> 17 <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="本文" --> 18 <p>A stencil test is used to compare the value set here with the value in the stencil buffer being written to.</p> 19 <h2>Stencil Test Settings and Features</h2> 20 <p>This page describes stencil test settings and features.</p> 21 <p>For details on the stencil test, click <a href="../../../../../user_guide/material/write_test/index.html">here</a>.</p> 22 <div class="wrap_picture"> <img src="assets/stencil_test.png" alt="stencil_test"/> </div> 23 <div class="wrap_text"> 24 <table class="space"> 25 <tr> 26 <th><em>A</em></th> 27 <td class="td_color">Test enabled</td> 28 <td>Enable/disable the stencil test using the checkbox.</td> 29 </tr> 30 <tr> 31 <th><em>B</em></th> 32 <td class="td_color">Stencil test function</td> 33 <td>Sets the method of comparison to use when executing a stencil test.</td> 34 </tr> 35 <tr> 36 <th><em>C</em></th> 37 <td class="td_color">Reference value for stencil test</td> 38 <td>Sets the reference value used for comparison with the stencil buffer.</td> 39 </tr> 40 <tr> 41 <th><em>D</em></th> 42 <td class="td_color">Test mask</td> 43 <td>Use the value set for <B>Test mask</B> to specify in detail the range of stencil values to be tested.<br /> The default value is 255, which specifies the entire range.</td> 44 </tr> 45 <tr> 46 <th><em>E</em></th> 47 <td class="td_color">When the stencil test fails</td> 48 <td>Sets the process to use when the stencil test fails. Subsequent depth test processing is not carried out.</td> 49 </tr> 50 <tr> 51 <th><em>F</em></th> 52 <td class="td_color">When the depth test fails</td> 53 <td>Sets the process used if the depth test fails if use has been determined by the stencil test.</td> 54 </tr> 55 <tr> 56 <th><em>G</em></th> 57 <td class="td_color">When the depth test succeeds</td> 58 <td>Sets the process to use if use has been determined by both the stencil test and depth test.</td> 59 </tr> 60 </table> 61 </div> 62 <div class="wrap_clear"></div> 63 <!-- InstanceEndEditable --> </div> 64 <div class="footer" /> 65</div> 66<hr><p>CONFIDENTIAL</p></body> 67<!-- InstanceEnd --> 68</html>