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>CloneTextureAnim</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/anim/Overview.html">anim</a>::<a href="../../../nw/anim/res/Overview.html">res</a>::CloneTextureAnim</CODE> Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nw/anim/res/ResAnim/Overview.html">ResAnim</a> CloneTextureAnim(
15     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
16     const <a href="../../../nw/anim/res/ResAnim/Overview.html">ResAnim</a> & src
17);
18</pre>
19    </div>
20    <h2>Arguments</h2>
21    <div class="section">
22      <table class="arguments">
23        <thead>
24          <tr>
25            <td width="15" />
26            <th>Name</th>
27            <td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31          <td />
32          <th>allocator</th>
33          <td>
34            </td>
35        </tr>
36        <tr>
37          <td />
38          <th>src</th>
39          <td>
40            </td>
41        </tr> </table>
42    </div>
43    <h2>Return Values</h2>
44    <div class="section">Returns the <a href="../../../nw/anim/res/ResAnim/Overview.html"><CODE>ResAnim</CODE></a> result from cloning. This <a href="../../../nw/anim/res/ResAnim/Overview.html"><CODE>ResAnim</CODE></a> must be set up again. </div>
45    <h2>Description</h2>
46    <div class="section">
47      <p>Clones texture pattern animations.</p><p>Shares texture pattern animations, so this is a shallow copy. Includes an internal reference to the original, so operation is not guaranteed if used after the clone source is destroyed.</p><p>Argument only accepts a <CODE>MaterialAnimation</CODE>. Passing a different type will cause the program to halt if asserts are enabled. If asserts are disabled, operation becomes unstable.</p></div>
48  <hr><p>CONFIDENTIAL</p></body>
49</html>