C4 Engine Terathon Software C4 Engine API Documentation

• Resource Manager

API Links
Developer Links

Resource::GetData

Defined in:  C4Resources.h
Returns a pointer to the data contained in a resource object.
Prototype

void *GetData(voidconst;

Description
The GetData function returns a pointer to the data contained in a resource object. If the resource has not been loaded, then the returned size is nullptr.
See Also

Resource::GetName

Resource::GetSize