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>SetTexSRTElement</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../nw/lyt/Material/Overview.html">Material</a>::SetTexSRTElement</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void SetTexSRTElement( 15 <span>u32</span> idx, 16 <span>u32</span> eleIdx, 17 <span>f32</span> value 18); 19</pre> 20 </div> 21 <h2>Arguments</h2> 22 <div class="section"> 23 <table class="arguments"> 24 <thead> 25 <tr> 26 <td width="15" /> 27 <th>Name</th> 28 <td>Description</td> 29 </tr> 30 </thead> 31 <tr> 32 <td /> 33 <th>idx</th> 34 <td>The <a href="../../../nw/lyt/TexSRT/Overview.html">TexSRT</a> index.</td> 35 </tr> 36 <tr> 37 <td /> 38 <th>eleIdx</th> 39 <td>The component index.</td> 40 </tr> 41 <tr> 42 <td /> 43 <th>value</th> 44 <td>The component value.</td> 45 </tr> </table> 46 </div> 47 <h2>Return Values</h2> 48 <div class="section"> 49 None. 50 </div> 51 <h2>Description</h2> 52 <div class="section"> 53 <p>Sets textures SRT parameters by specifying a component.</p><p>Specifies the display position, rotation, and scale ratio components of a texture and sets them.</p><p>Use <a href="../../../nw/lyt/AnimTargetTexSRT.html">lyt::AnimTargetTexSRT</a> to specify <SPAN class="argument">eleIdx</SPAN>.</p><p>This function generates an assert if a value larger than the storable number of texture SRT matrices set by the <a href="../../../nw/lyt/Material/ReserveMem.html">ReserveMem()</a> or <a href="../../../nw/lyt/Material/SetTexSRTNum.html">SetTexSRTNum()</a> function is passed in <SPAN class="argument">idx</SPAN>.</p></div> 54 <h2>See Also</h2> 55 <div class="section"> 56 <p class="reference"><a href="../../../nw/lyt/AnimTargetTexSRT.html">AnimTargetTexSRT</a><br /><a href="../../../nw/lyt/Material/GetTexSRTElement.html">GetTexSRTElement</a><br /><a href="../../../nw/lyt/Material/ReserveMem.html">ReserveMem</a><br /><a href="../../../nw/lyt/Material/SetTexSRTNum.html">SetTexSRTNum</a><br /> </p> 57 </div> 58 <h2>Revision History</h2> 59 <div class="section"> 60 <dl class="history"> 61 <dt>2009/09/18</dt> 62 <dd>Initial version.<br /> 63 </dd> 64 </dl> 65 </div> 66 <hr><p>CONFIDENTIAL</p></body> 67</html> 68