C4 Engine
C4 Engine API Documentation

Resource::Release

Defined in:  C4Resources.h
Releases a resource object.
Prototype

int32 Release(void);

Description
The Release function releases a resource object that was previously created with the Resource::GetResource function. The Release function should be called to balance every call to the GetResource function that does not return nullptr.

The return value is the new reference count for the resource object after is has been released.
See Also

Resource::GetResource