hgeResourceManager helper class

hgeResourceManager is a HGE helper class that automates creation of complex resource objects and their management in the memory.

hgeResourceManager methods

Constructor Creates and initalizes hgeResourceManager object.
  
ChangeScript Changes the current resource script.
Precache Creates all resources of the specified group in the memory.
Purge Deletes all resources of the specified group from the memory.
  
GetResource Returns pointer to a named raw resource.
GetTexture Returns handle to a named texture.
GetEffect Returns handle to a named sound effect.
GetMusic Returns handle to a named music.
GetStream Returns handle to a named audio stream.
GetTarget Returns handle to a named render target.
GetSprite Returns pointer to a named sprite.
GetAnimation Returns pointer to a named animation.
GetFont Returns pointer to a named font.
GetParticleSystem Returns pointer to a named particle system.
GetDistortionMesh Returns pointer to a named distortion mesh.
GetStringTable Returns pointer to a named string table.

Related information

Resource script

Requirements

Header: hgeresource.h
Import library: hgehelp.lib