Tramway SDK
Public Member Functions | Static Public Member Functions | List of all members
tram::Render::Animation Class Reference

#include <animation.h>

Inheritance diagram for tram::Render::Animation:
tram::Resource

Public Member Functions

 Animation (name_t name)
 
NameCountGetPointer ()
 
void LoadFromDisk ()
 
void LoadFromMemory ()
 
void Unload ()
 
- Public Member Functions inherited from tram::Resource
 Resource (name_t name)
 
Resource::Status GetStatus () const
 
name_t GetName () const
 
size_t GetReferences () const
 
bool IsLoadFailed () const
 
void AddReference ()
 
void RemoveReference ()
 
void Load ()
 

Static Public Member Functions

static AnimationFind (name_t name)
 
static void LoadAll ()
 

Additional Inherited Members

- Public Types inherited from tram::Resource
enum  Status { UNLOADED , LOADED , READY }
 
- Protected Attributes inherited from tram::Resource
Status status = UNLOADED
 
name_t name
 
bool load_fail = false
 
size_t references = 0
 

Constructor & Destructor Documentation

◆ Animation()

tram::Render::Animation::Animation ( name_t  name)
inline

Member Function Documentation

◆ Find()

Animation * tram::Render::Animation::Find ( name_t  name)
static

◆ GetPointer()

NameCount * tram::Render::Animation::GetPointer ( )
inline

◆ LoadAll()

static void tram::Render::Animation::LoadAll ( )
static

◆ LoadFromDisk()

void tram::Render::Animation::LoadFromDisk ( )
virtual

Implements tram::Resource.

◆ LoadFromMemory()

void tram::Render::Animation::LoadFromMemory ( )
inlinevirtual

Implements tram::Resource.

◆ Unload()

void tram::Render::Animation::Unload ( )
inlinevirtual

Implements tram::Resource.


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