Logo Search packages:      
Sourcecode: einstein version File versions  Download package

ResourceStream * ResourcesCollection::createStream ( const std::wstring &  name  ) 

Create ResourceStream for resource. This may be usefull for large streams unpacked data, for example video and sound. Delete stream after use.

name name of resource.

Definition at line 613 of file resources.cpp.

References Resource::createStream(), and getResource().

    Resource *r = getResource(name);
    return r->createStream();

Generated by  Doxygen 1.6.0   Back to index