C4 Engine
C4 Engine API Documentation

Resource::GetResourceData

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

void *GetResourceData(voidconst;

Description
The GetResourceData 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::GetResourceName

Resource::GetResourceSize