nw::anim::res::CloneTextureAnim FunctionResAnim CloneTextureAnim( os::IAllocator * allocator, const ResAnim & src );
| Name | Description | |
|---|---|---|
| allocator | ||
| src |
Clones texture pattern animations.
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.
Argument only accepts a MaterialAnimation. Passing a different type will cause the program to halt if asserts are enabled. If asserts are disabled, operation becomes unstable.
CONFIDENTIAL