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

ResourceStream * Resource::createStream ( int  variant = 0  ) 

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

Parameters:
variant variant number.

Definition at line 495 of file resources.cpp.

Referenced by ResourcesCollection::createStream().

{
    return variants[variant]->createStream();
}


Generated by  Doxygen 1.6.0   Back to index