![]() |
• Resource Manager | ||||||
|
API Links
Developer Links
|
ResourceLoader::ReadDefined in:
Reads some or all of the resource data.
C4Resources.hPrototype
Parameters
Description
The Read function reads a portion of the resource data into memory. This function reads size bytes of data from the resource, beginning at the offset specified by the start parameter, and stores them in memory beginning at the location specified by the buffer parameter. The sum start + size should not exceed the size of the resource data returned by the ResourceLoader::GetDataSize function.If the resource data is successfully loaded, then the return value is kResourceOkay. Otherwise, the return value is kResourceLoadFailed.
See Also
|