GL Studio C++ Runtime API
GlsResourceFileMgr::ResourceRef Class Referenceabstract

#include <gls_resource_file_mgr.h>

Public Member Functions

virtual void AddRef ()=0
 Increment the ResourceRef reference count.
 
virtual void Release ()=0
 Should be called to release this ResourceRef when it is longer needed.
 
virtual const char * GetName ()=0
 
virtual BinaryResourceLoadBinaryData ()=0
 

Detailed Description

Lightweight reference to a resource

Member Function Documentation

◆ GetName()

virtual const char * GetName ( )
pure virtual
Returns
The resource string name.

◆ LoadBinaryData()

virtual BinaryResource * LoadBinaryData ( )
pure virtual
Returns
A pointer to the resource data. Make sure to Release() the BinaryResource when you are done with it (a SmartPtr can be used for this purpose).

The documentation for this class was generated from the following file: