FPLBase
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
fplbase::Asset Class Reference

Base class of all assets that may be managed by Assetmanager. More...

#include <asset.h>

Inheritance diagram for fplbase::Asset:
fplbase::AsyncAsset fplbase::Material fplbase::TextureAtlas fplbase::FileAsset fplbase::Mesh fplbase::Shader fplbase::Texture

Detailed Description

Base class of all assets that may be managed by Assetmanager.

Public Member Functions

void IncreaseRefCount ()
 indicate there is an additional owner of this asset. By default, when you call any of the UnLoad*() functions in the AssetManager, that will directly delete the asset since they all start out with a single reference count. Call this function to indicate multiple owners will call Unload*() independently, and only have the asset deleted by the last one.
 

Friends

class AssetManager
 

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