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>PicaMacroHeader</title> 49 </head> 50 <body> 51<h1><CODE>PicaMacroHeader</CODE></h1> 52<h2>Description</h2> 53 <div class="section"> 54<p>These are the PICA register macro headers.</p><!-- write here --></div> 55 <a name="enum" id="enum"> 56<h2>Enumerated Types</h2> 57 <div class="section"> 58 <table class="members"> 59 <tr> 60 <td width="100"> </td> 61 <th> 62<a href="../nn_gx_CTR_Pica/PicaDataFragLightSampler.html">PicaDataFragLightSampler</a> 63 </th> 64<td>The type of the lookup table for fragment lighting. Used with the <CODE>PICA_REG_FRAG_LIGHT_LUT</CODE> register (<CODE>0x1c5</CODE>).</td> 65 </tr> 66 <tr> 67 <td width="100"> </td> 68 <th> 69<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvLutInput.html">PicaDataFragLightEnvLutInput</a> 70 </th> 71<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_LUTINPUT</CODE> register (<CODE>0x1d1</CODE>), which is used for setting lookup table entries. This corresponds to setting the <CODE>dmp_LightEnv.lutInput*</CODE> uniform.</td> 72 </tr> 73 <tr> 74 <td width="100"> </td> 75 <th> 76<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvLutScale.html">PicaDataFragLightEnvLutScale</a> 77 </th> 78<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_LUTSCALE</CODE> register (<CODE>0x1d2</CODE>), which sets the scaling of output values from the lookup table. This corresponds to setting the <CODE>dmp_LightEnv.lutScale*</CODE> uniform.</td> 79 </tr> 80 <tr> 81 <td width="100"> </td> 82 <th> 83<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvTexture.html">PicaDataFragLightEnvTexture</a> 84 </th> 85<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_FUNC_MODE</CODE> registers (<CODE>0x1c3[23:22]</CODE>, <CODE>0x1c3[25:24]</CODE>), which are used for setting fragment lighting textures. This corresponds to setting the <CODE>dmp_LightEnv.shadowSelector</CODE> and <CODE>dmp_LightEnv.bumpSelector</CODE> uniforms.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvLayerConfig.html">PicaDataFragLightEnvLayerConfig</a> 91 </th> 92<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_FUNC_MODE</CODE> register (<CODE>0x1c3[7:4]</CODE>), which sets the layer configurations for fragment lighting. This corresponds to setting the <CODE>dmp_LightEnv.config</CODE> uniform.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvFresnel.html">PicaDataFragLightEnvFresnel</a> 98 </th> 99<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_FUNC_MODE</CODE> register (<CODE>0x1c3[3:2]</CODE>), which is used for setting the Fresnel factor for fragment lighting. This corresponds to setting the <CODE>dmp_LightEnv.fresnelSelector </CODE> uniform.</td> 100 </tr> 101 <tr> 102 <td width="100"> </td> 103 <th> 104<a href="../nn_gx_CTR_Pica/PicaDataFragLightEnvBump.html">PicaDataFragLightEnvBump</a> 105 </th> 106<td>Used for the <CODE>PICA_REG_FRAG_LIGHT_FUNC_MODE</CODE> register (<CODE>0x1c3[29:28]</CODE>), which is used when bump mapping with fragment lighting to set how normals and tangents. This corresponds to setting the <CODE>dmp_LightEnv.bumpMode</CODE> uniform.</td> 107 </tr> 108 <tr> 109 <td width="100"> </td> 110 <th> 111<a href="../nn_gx_CTR_Pica/PicaDataColorPixelSize.html">PicaDataColorPixelSize</a> 112 </th> 113<td>The pixel size for a color buffer format. Used with the <CODE>PICA_REG_RENDER_BUFFER_COLOR_MODE</CODE> register (<CODE>0x117[1:0]</CODE>).</td> 114 </tr> 115 <tr> 116 <td width="100"> </td> 117 <th> 118<a href="../nn_gx_CTR_Pica/PicaDataColor.html">PicaDataColor</a> 119 </th> 120<td>The color buffer format. Used with the <CODE>PICA_REG_RENDER_BUFFER_COLOR_MODE</CODE> register (<CODE>0x117[18:16]</CODE>).</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125<a href="../nn_gx_CTR_Pica/PicaDataDepth.html">PicaDataDepth</a> 126 </th> 127<td>The depth buffer format. Used with the <CODE>PICA_REG_RENDER_BUFFER_DEPTH_MODE</CODE> register (<CODE>0x116[1:0]</CODE>).</td> 128 </tr> 129 <tr> 130 <td width="100"> </td> 131 <th> 132<a href="../nn_gx_CTR_Pica/PicaDataGasColorLutInput.html">PicaDataGasColorLutInput</a> 133 </th> 134<td>Input for a gas shading lookup table. Used with the <CODE>PICA_REG_GAS_LIGHT_Z_COLOR</CODE> register (<CODE>0x122[8:8]</CODE>). Corresponds to the <CODE>dmp_Gas.colorLutInput</CODE> uniform.</td> 135 </tr> 136 <tr> 137 <td width="100"> </td> 138 <th> 139<a href="../nn_gx_CTR_Pica/PicaDataDepthTest2.html">PicaDataDepthTest2</a> 140 </th> 141<td>Sets the comparison function for a depth test. Used with the <CODE>PICA_REG_GAS_DELTAZ_DEPTH</CODE> register (<CODE>0x126[25:24]</CODE>). Corresponds to the <CODE><a href="../gl/glDepthFunc.html">glDepthFunc</a></CODE> function argument <SPAN class="argument">func</SPAN>.</td> 142 </tr> 143 <tr> 144 <td width="100"> </td> 145 <th> 146<a href="../nn_gx_CTR_Pica/PicaDataFogMode.html">PicaDataFogMode</a> 147 </th> 148<td>Sets the fog feature. Used with the <CODE>PICA_REG_GAS_FOG_MODE</CODE> register (<CODE>0x0e0[2:0]</CODE>). Corresponds to the <CODE>dmp_Fog.mode</CODE> uniform.</td> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153<a href="../nn_gx_CTR_Pica/PicaDataGasShadingDensitySrc.html">PicaDataGasShadingDensitySrc</a> 154 </th> 155<td>Sets the density information to use for gas shading. Used with the <CODE>PICA_REG_GAS_FOG_MODE</CODE> register (<CODE>0x0e0[3:0]</CODE>). Corresponds to the <CODE>dmp_Gas.shadingDensitySrc</CODE> uniform.</td> 156 </tr> 157 <tr> 158 <td width="100"> </td> 159 <th> 160<a href="../nn_gx_CTR_Pica/PicaDataFragOpMode.html">PicaDataFragOpMode</a> 161 </th> 162<td>Sets fragment operations. Used with the <CODE>PICA_REG_COLOR_OPERATION</CODE> register (<CODE>0x100[1:0]</CODE>). Corresponds to the <CODE>dmp_FragOperation.mode</CODE> uniform.</td> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167<a href="../nn_gx_CTR_Pica/PicaDataColorLogicOp.html">PicaDataColorLogicOp</a> 168 </th> 169<td>Sets logical operations and blending. Used with the <CODE>PICA_REG_COLOR_OPERATION</CODE> register (<CODE>0x100[8:0]</CODE>). Corresponds to <CODE>glEnable(GL_COLOR_LOGIC_OP)</CODE> and <CODE>glDisable(GL_COLOR_LOGIC_OP)</CODE>.</td> 170 </tr> 171 <tr> 172 <td width="100"> </td> 173 <th> 174<a href="../nn_gx_CTR_Pica/PicaDataAlphaTest.html">PicaDataAlphaTest</a> 175 </th> 176<td>Sets the comparison function for the Alpha test. Used with the <CODE>PICA_REG_FRAGOP_ALPHA_TEST</CODE> register (<CODE>0x104[6:4]</CODE> ). Corresponds to the <CODE>dmp_FragOperation.alphaTestFunc</CODE> uniform.</td> 177 </tr> 178 <tr> 179 <td width="100"> </td> 180 <th> 181<a href="../nn_gx_CTR_Pica/PicaDataDepthTest.html">PicaDataDepthTest</a> 182 </th> 183<td>Sets the comparison function for a depth test. Used with the <CODE>PICA_REG_DEPTH_COLOR_MASK</CODE> register (<CODE>0x107[6:4]</CODE>). Corresponds to the <CODE><a href="../gl/glDepthFunc.html">glDepthFunc</a></CODE> function argument <SPAN class="argument">func</SPAN>.</td> 184 </tr> 185 <tr> 186 <td width="100"> </td> 187 <th> 188<a href="../nn_gx_CTR_Pica/PicaDataBlendEquation.html">PicaDataBlendEquation</a> 189 </th> 190<td>Sets the blending mode. Used with the <CODE>PICA_REG_DEPTH_COLOR_MASK</CODE> register (<CODE>0x101[2:0]</CODE>). Corresponds to the functions <CODE><a href="../gl/glBlendEquation.html">glBlendEquation</a></CODE> and <CODE><a href="../gl/glBlendEquationSeparate.html">glBlendEquationSeparate</a></CODE>.</td> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195<a href="../nn_gx_CTR_Pica/PicaDataBlendFunc.html">PicaDataBlendFunc</a> 196 </th> 197<td>Sets the blending function. Used with the <CODE>PICA_REG_DEPTH_COLOR_MASK</CODE> register (<CODE>0x101[19:16]</CODE>). Corresponds to the arguments of the functions <CODE><a href="../gl/glBlendFunc.html">glBlendFunc</a></CODE> and <CODE><a href="../gl/glBlendFuncSeparate.html">glBlendFuncSeparate</a></CODE>.</td> 198 </tr> 199 <tr> 200 <td width="100"> </td> 201 <th> 202<a href="../nn_gx_CTR_Pica/PicaDataLogicOp.html">PicaDataLogicOp</a> 203 </th> 204<td>Sets the logical operation. Used with the <CODE>PICA_REG_LOGIC_OP</CODE> register (<CODE>0x102[3:0]</CODE>). Corresponds to the <CODE><a href="../gl/glLogicOp.html">glLogicOp</a></CODE> function argument <SPAN class="argument">opcode</SPAN>.</td> 205 </tr> 206 <tr> 207 <td width="100"> </td> 208 <th> 209<a href="../nn_gx_CTR_Pica/PicaDataEarlyDepth.html">PicaDataEarlyDepth</a> 210 </th> 211<td>Sets the comparison function for the early depth test. Used with the <CODE>PICA_REG_EARLY_DEPTH_FUNC</CODE> register (<CODE>0x061[1:0]</CODE>). Corresponds to the <CODE>glEarlyDepthFuncDMP</CODE> function.</td> 212 </tr> 213 <tr> 214 <td width="100"> </td> 215 <th> 216<a href="../nn_gx_CTR_Pica/PicaDataStencilTest.html">PicaDataStencilTest</a> 217 </th> 218<td>Sets the comparison function for a stencil test. Used with the <CODE>PICA_REG_STENCIL_TEST</CODE> register (<CODE>0x105[6:4]</CODE> ). Corresponds to the <CODE><a href="../gl/glStencilFunc.html">glStencilFunc</a> </CODE> function argument <SPAN class="argument">func</SPAN>.</td> 219 </tr> 220 <tr> 221 <td width="100"> </td> 222 <th> 223<a href="../nn_gx_CTR_Pica/PicaDataStencilOp.html">PicaDataStencilOp</a> 224 </th> 225<td>Sets the method for changing the stencil buffer. Used with the <CODE>PICA_REG_STENCIL_OP</CODE> registers (<CODE>0x106[2:0]</CODE>, <CODE>[6:4]</CODE>, <CODE>[10:8]</CODE>). Corresponds to the <CODE><a href="../gl/glStencilOp.html">glStencilOp</a></CODE> function arguments <SPAN class="argument">func</SPAN>, <SPAN class="argument">zfail</SPAN>, and <SPAN class="argument">zpass</SPAN>.</td> 226 </tr> 227 <tr> 228 <td width="100"> </td> 229 <th> 230<a href="../nn_gx_CTR_Pica/PicaDataRenderBlockFormat.html">PicaDataRenderBlockFormat</a> 231 </th> 232<td>Sets the block format for rendering. Used with the <CODE>PICA_REG_RENDER_BLOCK_FORMAT</CODE> register (<CODE>0 0x11b[0:0]</CODE>). Corresponds to the <CODE><a href="../gl/glRenderBlockModeDMP.html">glRenderBlockModeDMP</a></CODE>function.</td> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237<a href="../nn_gx_CTR_Pica/PicaReg.html">PicaReg</a> 238 </th> 239<td>Enumerated type for the PICA register.</td> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244<a href="../nn_gx_CTR_Pica/PicaDataVSFloat.html">PicaDataVSFloat</a> 245 </th> 246<td>Sets the floating point input mode for the vertex shader. Used with the <CODE>PICA_REG_VS_FLOAT_ADDR</CODE> register (<CODE>0x2c0[31:31]</CODE>).</td> 247 </tr> 248 <tr> 249 <td width="100"> </td> 250 <th> 251<a href="../nn_gx_CTR_Pica/PicaDataDrawMode.html">PicaDataDrawMode</a> 252 </th> 253<td>Sets the rendering mode. Used with the <CODE>PICA_REG_VS_OUT_REG_NUM3</CODE> register (<CODE>0x25e[8:8]</CODE>).</td> 254 </tr> 255 <tr> 256 <td width="100"> </td> 257 <th> 258<a href="../nn_gx_CTR_Pica/PicaDataVSOutAttr.html">PicaDataVSOutAttr</a> 259 </th> 260<td>Sets the attributes of the output from the vertex shader. Used with the <CODE>PICA_REG_VS_OUT_REG_NUM3</CODE> registers (<CODE>0x050-0x056</CODE>).</td> 261 </tr> 262 <tr> 263 <td width="100"> </td> 264 <th> 265<a href="../nn_gx_CTR_Pica/PicaDataVertexAttrType.html">PicaDataVertexAttrType</a> 266 </th> 267<td>Sets the type of the internal vertex attribute. Used with the <CODE>PICA_REG_VERTEX_ATTR_ARRAYS0-1</CODE> registers (<CODE>00x201-0x202</CODE>) Corresponds to the <CODE><a href="../gl/glVertexAttribPointer.html">glVertexAttribPointer</a></CODE> function.</td> 268 </tr> 269 <tr> 270 <td width="100"> </td> 271 <th> 272<a href="../nn_gx_CTR_Pica/PicaDataVertexAttr.html">PicaDataVertexAttr</a> 273 </th> 274<td>Sets the load array elements. Used with the <CODE>PICA_REG_LOAD_ARRAY_ELEMENTS0-1</CODE> registers (<CODE>0x204-0x205</CODE>).</td> 275 </tr> 276 <tr> 277 <td width="100"> </td> 278 <th> 279<a href="../nn_gx_CTR_Pica/PicaDataGSFloat.html">PicaDataGSFloat</a> 280 </th> 281<td>Sets the floating point input mode for the geometry shader. Used with the <CODE>PICA_REG_GS_FLOAT_ADDR</CODE> register (<CODE>0x290[31:31]</CODE>).</td> 282 </tr> 283 <tr> 284 <td width="100"> </td> 285 <th> 286<a href="../nn_gx_CTR_Pica/PicaDataGSMode.html">PicaDataGSMode</a> 287 </th> 288<td>Sets the mode of the geometry shader. Used with the <CODE>PICA_REG_GS_MISC_REG0</CODE> register (<CODE>0x252[31:0]</CODE>).</td> 289 </tr> 290 <tr> 291 <td width="100"> </td> 292 <th> 293<a href="../nn_gx_CTR_Pica/PicaDataTexture.html">PicaDataTexture</a> 294 </th> 295<td>Sets the target for texture 0.</td> 296 </tr> 297 <tr> 298 <td width="100"> </td> 299 <th> 300<a href="../nn_gx_CTR_Pica/PicaDataTexEnvSrc.html">PicaDataTexEnvSrc</a> 301 </th> 302<td>Sets <SPAN class="argument">srcRgb</SPAN> and <SPAN class="argument">srcAlpha</SPAN> for the texture combiners. Used with the <CODE>PICA_REG_TEX_ENV*</CODE> registers. Corresponds to the <CODE>dmp_TexEnv[i].srcRgb</CODE> and <CODE>dmp_TexEnv[i].srcAlpha</CODE> uniforms.</td> 303 </tr> 304 <tr> 305 <td width="100"> </td> 306 <th> 307<a href="../nn_gx_CTR_Pica/PicaDataTexEnvOperand.html">PicaDataTexEnvOperand</a> 308 </th> 309<td>Sets <SPAN class="argument">operandRgb</SPAN> and <SPAN class="argument">operandAlpha</SPAN> for the texture combiners. Used with the <CODE>PICA_REG_TEX_ENV*_OPERAND</CODE> registers. Corresponds to the <CODE>dmp_TexEnv[i].srcRgb</CODE> and <CODE>dmp_TexEnv[i].srcAlpha</CODE> uniforms.</td> 310 </tr> 311 <tr> 312 <td width="100"> </td> 313 <th> 314<a href="../nn_gx_CTR_Pica/PicaDataTexEnvCombine.html">PicaDataTexEnvCombine</a> 315 </th> 316<td>Sets <SPAN class="argument">combineRgb</SPAN> and <SPAN class="argument">combineAlpha</SPAN> for the texture combiners. Used with the <CODE>PICA_REG_TEX_ENV*_COMBINE</CODE> registers. Corresponds to the <CODE>dmp_TexEnv[i].combineRgb</CODE> and <CODE>dmp_TexEnv[i].combineAlpha</CODE> uniforms.</td> 317 </tr> 318 <tr> 319 <td width="100"> </td> 320 <th> 321<a href="../nn_gx_CTR_Pica/PicaDataTexEnvScale.html">PicaDataTexEnvScale</a> 322 </th> 323<td>Sets <B>scaleRgb</B> and <B>scaleAlpha</B> for the texture combiners. Used with the <CODE>PICA_REG_TEX_ENV*_SCALE</CODE> registers. Corresponds to the <CODE>dmp_TexEnv[i].scaleRgb</CODE> and <CODE>dmp_TexEnv[i].scaleAlpha</CODE> uniforms.</td> 324 </tr> 325 <tr> 326 <td width="100"> </td> 327 <th> 328<a href="../nn_gx_CTR_Pica/PicaDataTexEnvBufferInput.html">PicaDataTexEnvBufferInput</a> 329 </th> 330<td>Sets <SPAN class="argument">bufferInput</SPAN> for the texture combiners. Used with the <CODE>PPICA_REG_TEX_ENV_BUF_INPUT</CODE> register (<CODE>0x0e0</CODE>). Corresponds to the <CODE>dmp_TexEnv[i].bufferInput</CODE> uniform.</td> 331 </tr> 332 <tr> 333 <td width="100"> </td> 334 <th> 335<a href="../nn_gx_CTR_Pica/PicaDataTexture0SamplerType.html">PicaDataTexture0SamplerType</a> 336 </th> 337<td>Sets the sampler type for texture 0. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080[30:28]</CODE>). Corresponds to the <CODE>dmp_Texture[0].samplerType</CODE> uniform.</td> 338 </tr> 339 <tr> 340 <td width="100"> </td> 341 <th> 342<a href="../nn_gx_CTR_Pica/PicaDataTexture1SamplerType.html">PicaDataTexture1SamplerType</a> 343 </th> 344<td>Sets the sampler type for texture 1. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080[1:1]</CODE>). Corresponds to the <CODE>dmp_Texture[1].samplerType</CODE> uniform.</td> 345 </tr> 346 <tr> 347 <td width="100"> </td> 348 <th> 349<a href="../nn_gx_CTR_Pica/PicaDataTexture2SamplerType.html">PicaDataTexture2SamplerType</a> 350 </th> 351<td>Sets the sampler type for texture 2. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080[2:2]</CODE>). Corresponds to the <CODE>dmp_Texture[2].samplerType</CODE> uniform.</td> 352 </tr> 353 <tr> 354 <td width="100"> </td> 355 <th> 356<a href="../nn_gx_CTR_Pica/PicaDataTexture3SamplerType.html">PicaDataTexture3SamplerType</a> 357 </th> 358<td>Sets the sampler type for texture 3. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080 [10:10]</CODE>). Corresponds to the <CODE>dmp_Texture[3].samplerType</CODE> uniform.</td> 359 </tr> 360 <tr> 361 <td width="100"> </td> 362 <th> 363<a href="../nn_gx_CTR_Pica/PicaDataTexture2TexCoord.html">PicaDataTexture2TexCoord</a> 364 </th> 365<td>Sets the texture coordinates for texture 2. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080 [13:13]</CODE>). Corresponds to the <CODE>dmp_Texture[2].texcoord</CODE> uniform.</td> 366 </tr> 367 <tr> 368 <td width="100"> </td> 369 <th> 370<a href="../nn_gx_CTR_Pica/PicaDataTexture3TexCoord.html">PicaDataTexture3TexCoord</a> 371 </th> 372<td>Sets the texture coordinates for texture 3. Used with the <CODE>PICA_REG_TEXTURE_FUNC</CODE> register (<CODE>0x080[9:8]</CODE>). Corresponds to the <CODE>dmp_Texture[3].texcoord</CODE> uniform.</td> 373 </tr> 374 <tr> 375 <td width="100"> </td> 376 <th> 377<a href="../nn_gx_CTR_Pica/PicaDataProcTexMap.html">PicaDataProcTexMap</a> 378 </th> 379<td>Sets the function to use to calculate procedural textures. Used with the <CODE>PICA_REG_TEXTURE3_PROCTEX0</CODE> register (<CODE>0x0a8[9:6]</CODE>). Corresponds to the <CODE>dmp_Texture[3].ptRgbMap</CODE> and <CODE>dmp_Texture[3].ptAlphaMap</CODE> uniforms.</td> 380 </tr> 381 <tr> 382 <td width="100"> </td> 383 <th> 384<a href="../nn_gx_CTR_Pica/PicaDataProcTexClamp.html">PicaDataProcTexClamp</a> 385 </th> 386<td>Sets the clamping method for procedural textures. Used with the <CODE>PICA_REG_TEXTURE3_PROCTEX0</CODE> register (<CODE>0x0a8[2:0], [5:3]</CODE>). Corresponds to the <CODE>dmp_Texture[3].ptClampU</CODE> and <CODE>dmp_Texture[3].ptClampV</CODE> uniforms.</td> 387 </tr> 388 <tr> 389 <td width="100"> </td> 390 <th> 391<a href="../nn_gx_CTR_Pica/PicaDataProcTexShift.html">PicaDataProcTexShift</a> 392 </th> 393<td>Sets the coordinate shift method for procedural textures. Used with the <CODE>PICA_REG_TEXTURE3_PROCTEX0</CODE> registers (<CODE>0x0a8[17:16]</CODE>, <CODE>[19:18]</CODE>). Corresponds to the <CODE>dmp_Texture[3].ptShiftU</CODE> and <CODE>dmp_Texture[3].ptShiftV</CODE> uniforms.</td> 394 </tr> 395 <tr> 396 <td width="100"> </td> 397 <th> 398<a href="../nn_gx_CTR_Pica/PicaDataProcTexFilter.html">PicaDataProcTexFilter</a> 399 </th> 400<td>Sets <CODE>MinFilter</CODE> for procedural textures. Used with the <CODE>PICA_REG_TEXTURE3_PROCTEX0</CODE> register (<CODE>0x0a8[2:0]</CODE>). Corresponds to the <CODE>dmp_Texture[3].ptMinFilter</CODE> uniform.</td> 401 </tr> 402 <tr> 403 <td width="100"> </td> 404 <th> 405<a href="../nn_gx_CTR_Pica/PicaDataProcTexRefTable.html">PicaDataProcTexRefTable</a> 406 </th> 407<td>Sets the lookup table for procedural textures. Used with the <CODE>PICA_REG_PROCTEX_LUT</CODE> register (<CODE>0x0af [2:0]</CODE>). Corresponds to the <CODE>dmp_Texture[3].ptSampler</CODE> uniform.</td> 408 </tr> 409 <tr> 410 <td width="100"> </td> 411 <th> 412<a href="../nn_gx_CTR_Pica/PicaDataTextureFormat.html">PicaDataTextureFormat</a> 413 </th> 414<td>Sets the texture format. Used with the <CODE>PICA_REG_TEXTURE*_FORMAT</CODE> registers (<CODE>0x08e[3:0]</CODE>, <CODE>0x096[3:0]</CODE>, <CODE>0x09e[3:0]</CODE>). Corresponds to the <CODE><a href="../gl/glTexImage2D.html">glTexImage2D</a></CODE> function arguments <SPAN class="argument">format</SPAN> and <SPAN class="argument">type</SPAN> and the <CODE><a href="../gl/glCompressedTexImage2D.html">glCompressedTexImage2D</a></CODE> function argument <SPAN class="argument">internalformat</SPAN>.</td> 415 </tr> 416 <tr> 417 <td width="100"> </td> 418 <th> 419<a href="../nn_gx_CTR_Pica/PicaDataTextureMagFilter.html">PicaDataTextureMagFilter</a> 420 </th> 421<td>Sets the texture's MAG filter mode. Used with the <CODE>PICA_REG_TEXTURE*_WRAP_FILTER</CODE> registers (<CODE>0x83[1:1]</CODE>, <CODE>0x93[1:1]</CODE>, <CODE>0x9b[1:1]</CODE>). Corresponds to <CODE>glTexParameter{if}( TEXTURE_MAG_FILTER, ...)</CODE>.</td> 422 </tr> 423 <tr> 424 <td width="100"> </td> 425 <th> 426<a href="../nn_gx_CTR_Pica/PicaDataTextureMinFilter.html">PicaDataTextureMinFilter</a> 427 </th> 428<td>Sets the texture's MIN filter mode. Used with the <CODE>PICA_REG_TEXTURE*_WRAP_FILTER</CODE> registers (<CODE>0x83[24:24, 2:2]</CODE>, <CODE>0x93[24:24, 2:2]</CODE>, <CODE>0x9b[24:24, 2:2]</CODE>). Corresponds to <CODE>glTexParameter{if}( TEXTURE_MIN_FILTER, ...)</CODE>.</td> 429 </tr> 430 <tr> 431 <td width="100"> </td> 432 <th> 433<a href="../nn_gx_CTR_Pica/PicaDataTextureWrap.html">PicaDataTextureWrap</a> 434 </th> 435<td>Sets the texture's wrap mode. Used with the <CODE>PICA_REG_TEXTURE*_WRAP_FILTER</CODE> registers (<CODE>0x83[14:12, 10:8]</CODE>, <CODE>0x93[14:12, 10:8]</CODE>, <CODE>0x9b[14:12, 10:8]</CODE>). Corresponds to <CODE>glTexParameter{if}( TEXTURE_WRAP_*, ...)</CODE>.</td> 436 </tr> </table> 437 </div> 438 </a> 439<h2>Revision History</h2> 440 <div class="section"> 441 <dl class="history"> 442 <dt>2010/09/27</dt> 443<dd>Initial version.<br /> 444 </dd> 445 </dl> 446 </div> 447 <hr><p>CONFIDENTIAL</p></body> 448</html> 449