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::Vertex::AttrConst</title> 51 </head> 52 <body> 53<h1>nn::gr::CTR::Vertex::AttrConst Class</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class AttrConst</pre> 57 </div> 58<h2>Description</h2> 59 <div class="section"> 60<p>Class for setting constant vertex attributes.</p> 61 </div> 62 <a name="variable" id="variable"> 63<h2>Member Variables</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <td width="100"> </td> 68 <th> 69<span class="argument">dimension</span> 70 </th> 71<td>Sets the number of constant vertex attribute elements (from 1 to 4). Type is u8.</td> 72 </tr> 73 <tr> 74 <td width="100"> </td> 75 <th> 76<span class="argument">param</span> 77 </th> 78<td>Sets a fixed value for constant vertex attributes. The size of the array is <a href="../../../../../nn/gr/CTR/Vertex/VERTEX_ATTRIBUTE_DIMENSION_MAX.html">nn::gr::CTR::Vertex::VERTEX_ATTRIBUTE_DIMENSION_MAX</a>.</td> 79 </tr> </table> 80 </div> 81 </a> <a name="function" id="function"> 82<h2>Member Functions</h2> 83 <div class="section"> 84 <table class="members"> 85 <tr> 86 <td width="100"> </td> 87 <th> 88<a href="../../../../../nn/gr/CTR/Vertex/AttrConst/IsEnable.html">IsEnable</a> 89 </th> 90<td>Returns whether the array is enabled.</td> 91 </tr> 92 <tr> 93 <td width="100"> </td> 94 <th> 95<a href="../../../../../nn/gr/CTR/Vertex/AttrConst/Disable.html">Disable</a> 96 </th> 97<td>Disables the array.</td> 98 </tr> </table> 99 </div> 100 </a> 101 <hr><p>CONFIDENTIAL</p></body> 102</html>