Loader(const Loader& src);
Loader constructor creates a Loader object, optionally initializing it with a file open callback and verbosity flags.
A copy constructor of Loader can be used to initialize a different loader object to the same resource library and states as used by the previous one; when this is done the states are copied to the new loader. After loader initialization, the two loader objects are no longer related. While their library content can be shared, the states are maintained independently and can be changed without affecting each other. Such use of the copy constructor may be useful if planning to call CreateMovie on different threads.
Parameters |
Description |
const Loader& src |
Reference to the Loader object. |